Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

exportBackupToObjectStorage

Prev Next

VPC環境で利用できます。

概要

Cloud DB for MySQLインスタンスのバックアップファイルを Object Storageに転送します。

リクエスト

リクエストパラメータ

パラメータ名 必須の有無 タイプ 制限事項 説明
regionCode No String - リージョンコード
regionCodeは、getRegionListアクションを通じて取得可能
デフォルト: getRegionList照会結果の最初のリージョンを選択
fileName Yes String - バックアップファイル名
fileNameはgetCloudMysqlBackupDetailListアクションを通じて取得可能
bucketName Yes String - Object Storageバケット名
bucketNameはバケットリストの照会アクションを通じて取得可能
folderPath No String - アップロードフォルダのパス
入力したフォルダのパスにファイルが転送される
cloudMysqlInstanceNo Yes String - Cloud DB for MySQLのインスタンス番号
cloudMysqlInstanceNoはgetCloudMysqlInstanceListアクションを通じて取得可能
output No String - レスポンス結果の形式タイプ
オプション: xml | json
デフォルト: json

リクエスト例

ncloud vmysql exportBackupToObjectStorage --regionCode KR --fileName 20210528 --bucketName mysql-backup --cloudMysqlInstanceNo ****890 --folderPath cloud-db-for-mysql/

レスポンス例

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