Skip to content

put_replication_queue_strategy

Alberto Gonzalez edited this page Oct 29, 2015 · 1 revision

(PUT)/replication/queue/strategy

Description

Given the replicating system by system ID, updates the queue strategy for that system.

Request

Syntax

PUT /api/replication/queue/strategy/?sid=4
Host: <server host name>
Accept: application/json
AuthToken: <authentication token returned from authenticate>

Parameters

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 |

Response

200 success

Parameters

Examples

Sample Request

PUT /api/replication/queue/?sid=1
Host: <server host name>
Accept: application/json
AuthToken: 8a00sjerhterqerjlqkjlk443l4j56869h4f_)(fjdkasHHHHHkdal324

and data

{
  "strategy": "Recency"
}

Sample Response

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

Clone this wiki locally