- API v3 Introduction
- 3rd Party API Integrations
- DNS Integrations
- Server Integrations
- External Backup Storages
- List 3rd Party API IntegrationsGET
- 3rd Party API Integration ObjectGET
- Delete 3rd Party API IntegrationDELETE
- Servers
- Manage
- Health & Monitoring
- Databases
- Database Users
- System Users
- Deployment Keys
- Services
- Cron Job
- Supervisor
- SSH Keys
- SSH Session
- SSH Config
- Activity Logs
- Security - Firewall
- Security - Fail2Ban
- Settings - PHP
- Settings - Auto Security Update
- Settings - Change IP Address
- Web Applications
- Manage
- Domain Name
- SSL/TLS
- SSL Basic (WebApp SSL)
- SSL Advanced (Domain SSL) For Business/Enterprise
- Check SSL Method (Basic/Advanced) & AutoSSL Status
- Update/Change SSL Method (Basic/Advanced) & AutoSSL Status
- SSL Advanced – Install/Deploy Domain SSL
- SSL Advanced – Domain SSL Object
- SSL Advanced – Update Domain SSL Config
- SSL Advanced – Redeploy Domain SSL (Let’s Encrypt only)
- SSL Advanced – Delete Domain SSL
- Cloning
- Tools
- WordPress - RunCloud Hub
- WordPress - Staging
- WordPress - General Settings
- Activity Logs
- Settings
- Backup
- Backup Instances
- Create Incremental Backup To RunCloud StoragePOST
- Create Full Backup To RunCloud StoragePOST
- Create Full Backup To External StoragePOST
- Create Full Backup To Local Storage (Current Server)POST
- List Backup InstancesGET
- Backup Instance Object GET
- Edit Backup InstancePATCH
- Run On Demand BackupPOST
- Delete Backup InstanceDELETE
- Backup Snapshots
- Restore Backup Snapshot
- Atomic Deployment
- Static Data
Create Full Backup To RunCloud Storage
POST
/backups
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
name
string
required
webApplicationId
integer
optional
databaseId
integer
optional
backupType
string
required
storage
string
required
integrationId
integer
optional
format
string
required
frequency
string
required
retention
string
required
excludeDevelopmentFiles
boolean
optional
excludeWordpressCacheFiles
boolean
optional
successNotification
boolean
optional
failNotification
boolean
optional
Example
{
"name": "Test external Backup Via API2",
"webApplicationId": 187,
"databaseId": 123,
"backupType": "full",
"storage": "runcloud",
"format": "tar",
"frequency": "1 week",
"retention": "1 month",
"excludeDevelopmentFiles": true,
"excludeWordpressCacheFiles": true,
"successNotification": true,
"failNotification": true
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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": "runcloud",
"format": "tar",
"frequency": "1 week",
"retention": "1 month",
"excludeDevelopmentFiles": true,
"excludeWordpressCacheFiles": true,
"successNotification": true,
"failNotification": true
}'
Responses
🟢200Success
application/json
Body
message
string
required
backup
object
required
id
integer
required
label
string
required
items
object
required
storage
string
required
type
string
required
frequency
string
required
size
string
required
status
string
required
Example
{
"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"
}
}
Modified at 2025-01-10 01:18:26