This API v3 documentation is currently still on progress. For any issue, please contact support@runcloud.io
Authorization: Bearer ********************
{
"name": "Edit Backup",
"excludeDevelopmentFiles": false,
"excludeWordpressCacheFiles": false,
"format": "tar.gz",
"frequency": "3 days",
"retention": "3 weeks",
"successNotification": false,
"failNotification": false,
"excludeFile": [
"wp-config.php",
"index.php"
],
"excludeTable": [
"wp-posts"
]
}
curl --location -g --request PATCH 'https://manage.runcloud.io/api/v3/backups/{{backupId}}' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"name": "Edit Backup",
"excludeDevelopmentFiles": false,
"excludeWordpressCacheFiles": false,
"format": "tar.gz",
"frequency": "3 days",
"retention": "3 weeks",
"successNotification": false,
"failNotification": false,
"excludeFile": [
"wp-config.php",
"index.php"
],
"excludeTable": [
"wp-posts"
]
}'
{
"message": "Backup settings have been successfully updated.",
"backup": {
"id": 283,
"label": "Test Full Backup Via API",
"items": {
"webApplicationId": 645,
"databaseId": 479
},
"storage": "runcloud",
"type": "full backup",
"frequency": "1 day",
"size": "70.3MB",
"status": "active"
}
}