This API v3 documentation is currently still on progress. For any issue, please contact support@runcloud.io
Authorization: Bearer ********************
{
"name": "Test external Backup Via API2",
"webApplicationId": 187,
"databaseId": 123,
"backupType": "full",
"storage": "external",
"integrationId": 72,
"format": "tar",
"frequency": "1 week",
"retention": "1 month",
"excludeDevelopmentFiles": true,
"excludeWordpressCacheFiles": true,
"successNotification": true,
"failNotification": true,
"excludeFile": [
"wp-config.php",
"index.php"
],
"excludeTable": [
"wp-posts"
]
}
curl --location --request POST 'https://manage.runcloud.io/api/v3/backups' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test external Backup Via API2",
"webApplicationId": 187,
"databaseId": 123,
"backupType": "full",
"storage": "external",
"integrationId": 72,
"format": "tar",
"frequency": "1 week",
"retention": "1 month",
"excludeDevelopmentFiles": true,
"excludeWordpressCacheFiles": true,
"successNotification": true,
"failNotification": true,
"excludeFile": [
"wp-config.php",
"index.php"
],
"excludeTable": [
"wp-posts"
]
}'
{
"message": "Backup instance has been successfully created.",
"backup": {
"id": 286,
"label": "Test Local Backup Via API",
"items": {
"webApplicationId": 645,
"databaseId": 479
},
"storage": "local",
"type": "full backup",
"frequency": "1 day",
"size": "0B",
"status": "active"
}
}