Backup

backup now

URL/api/v1/api.php?target=backup&action=now
DescriptionPerforms a manual backup to the designated location.
ReturnsExamples:
SUCCESSFUL: {"success":1,"message":"Backup via curl complete: "}
ERROR: {"success":0, "message":"Error Message"}>
Required Parameters
Name
Type
Example
Description
typeSTRINGcurlFile transfer type. Acceptable values are 'curl' or 'scp'
Optional Parameters
Name
Type
Example
Description
resourceINTEGER2213The server resource id to backup to. If left blank, backs up to the 6connect cloud.
Example URL

Backup to designated server: /api/v1/api.php?target=backup&action=now&type=scp&resource_id=2213

Backup to 6connect cloud: /api/v1/api.php?target=backup&action=now&type=curl

When specifying a backup server resource ID, that server must have the Hostname, Username, and Password fields correctly provided in ProVision.