-
Notifications
You must be signed in to change notification settings - Fork 3
put_replication_queue_strategy
Alberto Gonzalez edited this page Oct 29, 2015
·
1 revision
Given the replicating system by system ID, updates the queue strategy for that system.
PUT /api/replication/queue/strategy/?sid=4
Host: <server host name>
Accept: application/json
AuthToken: <authentication token returned from authenticate>
None.
/?sid={sid} - set the queue strategy for the specified system.
The API accepts in the data an object with the replication strategy.
| Index | Value | Type | Required |
|---|---|---|---|
| strategy | queue strategy, one of ... | string | required |
- | "Maximize Retention" - replicate all backups to the target |
- | "Recency" - only replicate the most recent backup group to the target |
- | "Manual" - only replicate backups manually added to the queue |
200 success
PUT /api/replication/queue/?sid=1
Host: <server host name>
Accept: application/json
AuthToken: 8a00sjerhterqerjlqkjlk443l4j56869h4f_)(fjdkasHHHHHkdal324
and data
{
"strategy": "Recency"
}
HTTP Status: 200 (OK)
Failed strategy changes will return HTTP Status 500 with a result object with an error message and KB link as defined here