Create backup

Last Updated: Sep 18, 2017

Description

Create backups. Up to 10 backups can be created for an instance in a single day. The following conditions must be met, or backup creation will fail:

  • The instance is active.

  • The last backup has been completed.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: CreateBackup.
DBInstanceId String Yes Instance ID.
BackupMethod String No Logical: logical backup. Physical: physical backup. The default value is Physical. Logical backup does not support instances without databases. SQL Server only supports physical backup.
BackupStrategy String No Range of logical backup. This parameter is valid only when BackupMethod is Logical. Values:
  • db: single-database backup.
  • instance: instance backup.
DBName String No Name of the database for single-database logical backup. This parameter is valid only when BackupMethod is Logical and BackupStrategy is db.
BackupType String No Auto: determines whether it is a full backup or an incremental backup through automatic calculation. FullBackup: indicates a full backup. The default value is Auto.

Return parameters

Name Type Description
<Public Return Parameters> - For details, see Public parameters.

Example

  • Request example

    1. https://rds.aliyuncs.com/?Action= CreateBackup
    2. &DBInstanceId=riauvjz6zajfiq6ba1370329449201
    3. &<Public Request Parameters>
  • Return example

    XML format:

    1. <CreateBackupResponse>
    2. <RequestId>DA147739-AEAD-4417-9089-65E9B1D8240D</RequestId>
    3. </CreateBackupResponse>

    JSON format:

    1. {
    2. "RequestId":"DA147739-AEAD-4417-9089-65E9B1D8240D"
    3. }
Thank you! We've received your feedback.