exportBackupToObjectStorage
    • PDF

    exportBackupToObjectStorage

    • PDF

    Article summary

    Available in VPC

    Transfer Cloud DB for PostgreSQL backup files to Object Storage.

    Commands

    The text of the command is as follows:

    ncloud vpostgresql exportBackupToObjectStorage [regionCode] [fileName] [bucketName] [cloudPostgresqlInstanceNo] [output]
    

    Parameter

    The following is a description on parameters.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    fileNameStringYBackup file name
    - You can obtain fileName through the getCloudPostgresqlBackupDetailList action
    -
    bucketNameStringYObject Storage bucket name
    - You can obtain bucketName through the getCloudPostgresqlBucketList action
    -
    cloudPostgresqlInstanceNoStringYCloud DB for PostgreSQL instance number
    - cloudPostgresqlInstanceNo can be obtained via the getCloudPostgresqlInstanceList action
    -
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Examples

    Describes examples of recalls and responses.

    Recall examples

    The following are examples of recalls.

    ncloud vpostgresql exportBackupToObjectStorage --regionCode KR --fileName 20210528 --bucketName postgresql-backup --cloudPostgresqlInstanceNo ****890
    

    Response examples

    The following are examples of responses.

    If the response shows that format type (output) is json

    {
      "exportBackupToObjectStorageResponse": {
        "requestId": "cf51da47-c561-4ae1-b48e-e94f1c501da7",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    

    If the response shows that format type (output) is xml

    <exportBackupToObjectStorageResponse>
        <requestId>cf51da47-c561-4ae1-b48e-e94f1c501da7</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </exportBackupToObjectStorageResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.