Backups represent database backup snapshots that are managed by Cloud 66. These backups can be created automatically on a schedule or manually, and support various database types including MySQL, PostgreSQL, Redis, and MongoDB.
id
integerThe unique identifier of the backup.
server_uid
stringThe UID of the server where this backup was created.
db_type
stringThe type of database backed up (mysql, postgresql, redis, or mongodb).
database_name
stringThe name of the database that was backed up.
file_base
stringThe base filename for the backup files.
backup_date_iso
datetimeThe date and time when the backup was taken, in ISO 8601 format.
backup_status
integerThe status code of the backup operation (0 for success).
backup_result
stringThe result message from the backup operation.
restore_status
integerThe status code of any restore operation performed with this backup.
restore_result
stringThe result message from any restore operation.
created_at_iso
datetimeThe date and time the backup record was created, in ISO 8601 format.
updated_at_iso
datetimeThe date and time the backup record was last updated, in ISO 8601 format.
verify_status
integerThe status code of the backup verification process.
verify_result
stringThe result message from the backup verification.
storage_path
stringThe storage location path where the backup files are stored.
skip_tables
stringComma-separated list of database tables that were excluded from the backup.
backup_size
integerThe size of the backup in bytes.
Example
{
"id": 54321,
"server_uid": "server-abc123",
"db_type": "postgresql",
"database_name": "myapp_production",
"file_base": "backup_20240115_103000",
"backup_date_iso": "2024-01-15T10:30:00Z",
"backup_status": 0,
"backup_result": "Backup completed successfully",
"restore_status": 0,
"restore_result": "Not restored",
"created_at_iso": "2024-01-15T10:30:00Z",
"updated_at_iso": "2024-01-15T10:35:00Z",
"verify_status": 0,
"verify_result": "Backup verified successfully",
"storage_path": "/backups/postgresql/myapp_production/",
"skip_tables": "temp_logs,cache_data",
"backup_size": 1024000000
}