4.7. On Demand Backups

This section describes the operations for backups of database instances.

[Note]Note

Any user calling the backup operations for Cloud DB will need access to Cloud Files.

The following table lists the possible statuses returned by the Backup API:

Table 4.9. Backup statuses
Status Description
NEW

A new backup task was created.

BUILDING

The backup task is currently running.

COMPLETED

The backup task was successfully completed.

FAILED

The backup task failed to complete successfully.

DELETE_FAILED

The backup task failed to delete Cloud Files objects.

The Backup API supports the following operations:

MethodURIDescription
POST/{version}/{accountId}/backups

Creates a new backup for a database instance.

POST/{version}/{accountId}/backups

Creates a new backup for the specified HA instance.

GET/{version}/{accountId}/backups​{?datastore}

Lists all backups for all database instances.

GET/{version}/{accountId}/backups/{backupId}

Lists details about a specified backup.

DELETE/{version}/{accountId}/backups/{backupId}

Deletes the specified backup.

GET/{version}/{accountId}/instances/{instanceId}/backups

Lists all backups for a specified instance.

POST/{version}/{accountId}/instances

Creates a new database instance from a backup.

GET/{version}/{accountId}/ha/{haId}/backups

Lists backups for the HA instance specified by ha_id.



Contents Search
loading table of contents...