MENU
      exportBackupToObjectStorage

        exportBackupToObjectStorage


        記事の要約

        VPC環境で利用できます。

        Cloud DB for PostgreSQLのバックアップファイルを Object Storageに送信します。

        コマンド

        コマンド構文は、次のとおりです。

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

        パラメータ

        パラメータについての説明は、次のとおりです。

        パラメータタイプ要否説明制約事項
        regionCodeStringNリージョンコード
        - regionCodeは、getRegionListアクションを通じて取得
        - default: getRegionList照会結果の最初のリージョンを選択
        -
        fileNameStringYバックアップファイル名
        - fileNameは、getCloudPostgresqlBackupDetailListアクションを通じて取得
        -
        bucketNameStringYObject Storageのバケット名
        - bucketNameは、getCloudPostgresqlBucketListアクションを通じて取得
        -
        cloudPostgresqlInstanceNoStringYCloud DB for PostgreSQLのインスタンス番号
        - cloudPostgresqlInstanceNoは、getCloudPostgresqlInstanceListアクションを通じて取得
        -
        outputStringNレスポンス結果のフォーマットタイプ
        - options: xml | json
        - default: json
        -

        呼び出しとレスポンス例を説明します。

        呼び出し例

        呼び出し例は、次のとおりです。

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

        レスポンス例

        レスポンス例は、次のとおりです。

        レスポンス結果フォーマットタイプ(output)が jsonのとき

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

        レスポンス結果フォーマットタイプ(output)が xmlの場合

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

        この記事は役に立ちましたか?

        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.