With this function, you can create/manage clone job.
| Parameter name | Type | Description | Possible values | Example |
|---|---|---|---|---|
| action | String | Required The action you want to perform. |
|
|
| name | String | Required on action create The name of the clone job. |
||
| flag | Integer | How to handle the account's IP status on the destination server. |
|
|
| options | Boolean | Whether you want to clone only home directory | ||
| destination | String | Required on action create The ID of the destination. |
||
| filters[] | List | The group ids you want to filter with.
if you want one filter or another, insert every id in a different cell.
if you want one filter and another, insert the ids in the same cell.
|
filters[0][0]=5b34b4f8d5ac5e18436008d3& filters[0][1]=5b5ee4efd5ac5e0fe26db823& filters[1][0]=5b6a87abd5ac5e655e2018d3 | |
| limitaccounts | Integer | The number of accounts to backup on each cron run. | 0 | |
| maximumruntime | Integer | The maximum run time for each cron run. | 0 | |
| monitor | Object | The job monitor parameters. | To view the possible values click on Monitor Object | monitor[ranfor]=1&monitor[notran]=1 |
| performance | Object | The performance override parameters. | To view the possible values click on Performance Object | performance[lve]=0&performance[ionice]=0&performance[renice]=0 |
| schedules[] | List | List of objects(_id, retain). To create new schedule click on manageSchedule To get the schedule id you can get it in the manageSchedule response or click on listSchedules retain - The amount backup to retain before you do retention. |
schedules[0][_id]=5b5eeb87d5ac5e1e3611a4f2& schedules[0][retain]=1 | |
| time | Integer | The scheduled time of the job. if you want to schedule to 12:00 AM the value should be 0000(0), for 12:10 AM the value should be 0010(10), for 3:00 PM the value should be 1500. |
1200 | |
| disabled | Boolean | Whether the clone job is disabled. |