exportBackupToObjectStorage
    • PDF

    exportBackupToObjectStorage

    • PDF

    Article Summary

    VPC環境で利用できます。

    Cloud DB for MSSQL DBのバックアップを Object Storageに転送します。

    コマンド

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

    ncloud vmssql exportBackupToObjectStorage [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerInstanceNo] [bucketName] [folderPath] [cloudMssqlExportObjectList.N.objectName] [cloudMssqlExportObjectList.N.fullObjectName] [output]
    

    パラメータ

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

    パラメータタイプ必須有無説明制限事項
    regionCodeStringNリージョンコード
    - regionCodeは、getRegionListアクションを通じて取得
    - default: getRegionList照会結果の最初のリージョンを選択
    -
    cloudMssqlInstanceNoStringYCloud DB for MSSQLのバックアップを ObjectStorageに転送するための Cloud DB for MSSQLインスタンス番号
    - cloudMssqlInstanceNoは、getCloudMssqlInstanceListアクションを通じて取得
    -
    cloudMssqlServerInstanceNoStringYCloud DB for MSSQLのバックアップを ObjectStorageに転送するための Cloud DB for MSSQLサーバインスタンス番号
    - cloudMssqlServerInstanceNoは、getCloudMssqlInstanceListアクションを通じて取得
    -
    bucketNameStringYバケット名
    - Object Storageにデータを保存するためのスペースを意味
    - bucketNameは、getCloudMssqlBucketListアクションを通じて取得可能
    -
    folderPathStringNObjectStorage bucketの folderPath-
    cloudMssqlExportObjectList.N.objectNameListYObject Nameリスト-
    cloudMssqlExportObjectList.N.fullObjectNameListYfull Object Nameリスト-
    outputStringNレスポンス結果のフォーマットタイプ
    - options: xml | json
    - default: json
    -

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

    呼び出し例

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

    ncloud vmssql exportBackupToObjectStorage --regionCode KR --bucketName ***** --cloudMssqlInstanceNo *****2 --cloudMssqlServerInstanceNo *****3 --cloudMssqlExportObjectList 'objectName="*******.***t", fullObjectName="*****\\test.txt"'
    

    レスポンス例

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

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

    {
      "exportBackupToObjectStorageResponse": {
        "requestId": "858c2941-2402-4686-9f4d-36a7a906a39d",
        "returnCode": 0,
        "returnMessage": "success"
    }
    

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

    <exportBackupToObjectStorageResponse>
        <requestId>858c2941-2402-4686-9f4d-36a7a906a39d</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </exportBackupToObjectStorageResponse>
    

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

    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.