バックアップをVMDKファイルにエクスポートする
製品バージョン:10.11
最終更新日:2024年7月31日
リカバリポイントからのバックアップをVMDKファイルにエクスポートします。
エンドポイント
https://<Director_IP_address>:4443/c/router
テナントエンドポイント
マルチテナント製品のテナントの場合、エンドポイントは次の通りでなければなりません:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
バックアップをVMDKファイルにエクスポートするには、以下の手順を実行する必要があります。
-
ディスクのVIDを取得し、リカバリポイントからそれらをエクスポートしてください。
-
エクスポートコマンドを、任意の場所に実行してください。
-
エクスポートが正常に完了したかどうかを確認するため、その動作を監視してください。
リクエスト例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "InventoryManagement",
"method": "getNodes",
"data": [true, ["SAVEPOINT-110"]],
"type": "rpc",
"tid": 1}'
リクエストフィールド
|
フィールド |
種類 |
値(複数可) |
|
|
文字列 |
|
|
|
文字列 |
|
|
|
配列 |
パラメータ |
|
|
文字列 |
|
|
|
整数 |
|
リクエスト例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "ExportBackupManagement",
"method": "exportToCifs",
"data": [{
"exportSources": [{
"boVid": "BACKUP_OBJECT-4",
"spVid": "SAVEPOINT-110",
"spDiskVids": ["SAVEPOINT_DISK-148", "SAVEPOINT_DISK-149", "SAVEPOINT_DISK-150", "SAVEPOINT_DISK-151"]
}
],
"format": "VMDK",
"location": "CIFS",
"path": "\\\\server\\path",
"credential": {
"type": "PASSWORD",
"username": "test",
"password": "test",
"id": null,
"name": null,
"privateKey": null,
"privateKeyFileName": null,
"keyPassword": null,
"description": null
},
"clientTimeOffsetToUtc": 0
}
],
"type": "rpc",
"tid": 2}'
リクエストフィールド
|
フィールド |
種類 |
値(複数可) |
|
|
文字列 |
|
|
|
文字列 |
|
|
|
配列 |
パラメータ |
|
|
文字列 |
|
|
|
整数 |
|
データ
|
フィールド |
種類 |
説明 |
|
|
配列 |
ディスク VID。以下の |
|
|
文字列 |
VMDK/OVA/VHD/VHDX |
|
|
文字列 |
CIFS/ローカル/NFS |
|
|
文字列 |
ターゲットの場所へのパス |
|
|
オブジェクト |
対象の場所へのアクセス権限。以下の |
|
|
数 |
クライアントの休暇 |
exportSources
|
フィールド |
種類 |
説明 |
|
|
文字列 |
バックアップ対象のVID |
|
|
文字列 |
セーブポイント VID |
|
|
配列 |
セーブポイント・ディスク・動画 |
資格
|
フィールド |
種類 |
説明 |
|
|
文字列 |
資格の種類。取り得る値:PASSWORD または PRIVATE_KEY |
|
|
文字列 |
ユーザー名 |
|
|
文字列 |
パスワード |
|
|
null |
認証情報ID |
|
|
null |
名前 |
|
|
null |
秘密鍵 |
|
|
null |
秘密鍵のファイル名 |
|
|
null |
秘密鍵のパスワード |
|
|
null |
説明 |
リクエスト例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "ActivityManagement",
"method": "getActivities",
"data": [{
"startIndex": 0,
"pageSize": 100,
"searchPhrase": null
}
],
"type": "rpc",
"tid": 3}'
リクエストフィールド
|
フィールド |
種類 |
値(複数可) |
|
|
文字列 |
|
|
|
文字列 |
|
|
|
配列 |
パラメータ |
|
|
文字列 |
|
|
|
整数 |
|
データ
|
フィールド |
種類 |
説明 |
|
|
|
インデックスへ |
|
|
|
ページのサイズ |
|
|
null |
検索語句 |
回答例
{
"action": "InventoryManagement",
"method": "getNodes",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": {
"children": [{
"extendedInfo": {
"disks": [{
"diskIdentifier": "Hard disk 1",
"allocated": 20971520,
"capacity": 0,
"storageVid": "BACKUP_REPOSITORY-1",
"storagePath": null,
"canBeProcessed": true,
"isRoot": null,
"identifier": 148,
"vid": "SAVEPOINT_DISK-148",
"type": "SAVEPOINT_DISK",
"subType": null,
"name": "Hard disk 1",
"description": null,
"accessible": false,
"isDisabled": false,
"replicable": true,
"hvType": "NONE",
"flags": 0,
"children": null
}, {
"diskIdentifier": "Hard disk 2",
"allocated": 1048576,
"capacity": 0,
"storageVid": "BACKUP_REPOSITORY-1",
"storagePath": null,
"canBeProcessed": true,
"isRoot": null,
"identifier": 149,
"vid": "SAVEPOINT_DISK-149",
"type": "SAVEPOINT_DISK",
"subType": null,
"name": "Hard disk 2",
"description": null,
"accessible": false,
"isDisabled": false,
"replicable": true,
"hvType": "NONE",
"flags": 0,
"children": null
}, {
"diskIdentifier": "Hard disk 3",
"allocated": 2097152,
"capacity": 0,
"storageVid": "BACKUP_REPOSITORY-1",
"storagePath": null,
"canBeProcessed": true,
"isRoot": null,
"identifier": 150,
"vid": "SAVEPOINT_DISK-150",
"type": "SAVEPOINT_DISK",
"subType": null,
"name": "Hard disk 3",
"description": null,
"accessible": false,
"isDisabled": false,
"replicable": true,
"hvType": "NONE",
"flags": 0,
"children": null
}, {
"diskIdentifier": "Hard disk 4",
"allocated": 614400,
"capacity": 0,
"storageVid": "BACKUP_REPOSITORY-1",
"storagePath": null,
"canBeProcessed": true,
"isRoot": null,
"identifier": 151,
"vid": "SAVEPOINT_DISK-151",
"type": "SAVEPOINT_DISK",
"subType": null,
"name": "Hard disk 4",
"description": null,
"accessible": false,
"isDisabled": false,
"replicable": true,
"hvType": "NONE",
"flags": 0,
"children": null
}
],
"nics": [{
"nicIdentifier": "00:50:56:b9:5b:78",
"networkVid": null,
"canBeProcessed": true,
"identifier": 115,
"vid": "SAVEPOINT_NIC-115",
"type": "SAVEPOINT_NIC",
"subType": null,
"name": "Network adapter 1",
"description": null,
"accessible": false,
"isDisabled": false,
"replicable": false,
"hvType": "NONE",
"flags": 0,
"children": null
}
],
"generation": null,
"cpu": 2,
"memorySize": 2048,
"size": 24731648,
"version": 7,
"hwUuid": "4239906e-a592-54e9-d547-71eb7237aa15",
"storageVid": null,
"virtualizationType": null,
"instanceType": null,
"vpcId": null,
"vpcCidrBlock": null,
"subnetId": null,
"subnetCidrBlock": null,
"availabilityZoneId": null,
"securityGroupIds": [],
"hasRootDisk": false
},
"identifier": 110,
"vid": "SAVEPOINT-110",
"type": "SAVEPOINT",
"subType": null,
"name": "00-cleanVM-SY",
"description": null,
"accessible": true,
"isDisabled": false,
"replicable": false,
"hvType": "NONE",
"flags": 0,
"children": null
}
],
"totalCount": 1
}
}
応答フィールド
|
フィールド |
値 |
説明 |
|
|
文字列 |
リクエストが失敗した場合はメッセージを表示する |
|
|
文字列 |
問題が発生した手法に関する言及 |
|
|
文字列 |
故障の原因 |
|
|
JSON |
ディスクの概要情報。詳細は以下をご覧ください |
データ
|
フィールド |
値 |
説明 |
|
|
JSON |
ディスク情報。詳細は以下をご覧ください |
|
|
|
セーブポイントの数 |
子どもたち
|
フィールド |
値 |
説明 |
|
|
|
ディスクの詳細情報。詳細は以下をご覧ください |
|
|
|
セーブポイント番号 |
|
|
文字列 |
セーブポイント VID |
|
|
文字列 |
セーブポイントの種類 |
|
|
null |
セーブポイントのサブタイプ |
|
|
文字列 |
名前 |
|
|
|
説明 |
|
|
ブール値 |
真/偽 |
|
|
ブール値 |
false/true |
|
|
ブール値 |
false/true |
|
|
文字列 |
HV型 |
|
|
|
旗の数 |
|
|
|
子どもたち |
詳細情報
|
フィールド |
値 |
説明 |
|
|
JSON |
ディスク情報。詳細は以下をご覧ください |
|
|
JSON |
NICに関する情報。詳細は以下をご覧ください |
|
|
|
世代 |
|
|
|
CPUの数 |
|
|
|
メモリ容量 |
|
|
|
サイズ |
|
|
|
バージョン |
|
|
文字列 |
Hw UU ID |
|
|
|
ストレージ VID |
|
|
|
仮想化の種類 |
|
|
|
インスタンスタイプ |
|
|
|
VPC ID |
|
|
|
VPC CIDRブロック |
|
|
|
サブネットID |
|
|
|
サブネットのCIDRブロック |
|
|
|
ゾーンID |
|
|
配列 |
セキュリティグループID |
|
|
ブール値 |
false/true |
ディスク
|
フィールド |
値 |
説明 |
|
|
文字列 |
ディスクID |
|
|
|
割り当てられたメモリ量 |
|
|
|
容量 |
|
|
文字列 |
ストレージ動画 |
|
|
|
ストレージへのパス |
|
|
ブール値 |
真/偽 |
|
|
|
|
|
|
数 |
識別番号 |
|
|
文字列 |
セーブポイントディスクの数 |
|
|
文字列 |
ディスクの種類 |
|
|
|
サブタイプ |
|
|
文字列 |
ディスク名 |
|
|
|
説明 |
|
|
ブール値 |
真/偽 |
|
|
ブール値 |
真/偽 |
|
|
ブール値 |
真/偽 |
|
|
文字列 |
HV型 |
|
|
|
国旗 |
|
|
|
子どもたち |
nics
|
フィールド |
値 |
説明 |
|
|
文字列 |
NIC ID |
|
|
|
ネットワーク動画 |
|
|
ブール値 |
真/偽 |
|
|
|
識別番号 |
|
|
文字列 |
セーブポイントNICの動画 |
|
|
文字列 |
NICの種類 |
|
|
|
サブタイプ |
|
|
文字列 |
アダプタ名 |
|
|
|
説明 |
|
|
ブール値 |
false/true |
|
|
ブール値 |
false/true |
|
|
ブール値 |
false/true |
|
|
文字列 |
HV型 |
|
|
|
国旗 |
|
|
|
子どもたち |
回答例
{
"action": "ExportBackupManagement",
"method": "exportToCifs",
"tid": "2",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
応答フィールド
|
フィールド |
値 |
説明 |
|
|
文字列 |
リクエストが失敗した場合はメッセージを表示する |
|
|
文字列 |
問題が発生した手法に関する言及 |
|
|
文字列 |
故障の原因 |
|
|
|
情報概要 |
回答例
{
"action": "ActivityManagement",
"method": "getActivities",
"tid": "3",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": {
"totalCurrents": 0,
"totalPasts": 1,
"activities": [{
"id": 7,
"name": "Backup export to VMDK at \"\\\\server\\test\" share",
"type": "EXPORT_BACKUP",
"specificActivityRunType": null,
"status": "COMPLETED",
"startDate": "2019-12-23T17:54:05.180+02:00",
"progress": -1,
"specificType": "EXPORT_BACKUP"}
]
}
}
応答フィールド
|
フィールド |
値 |
説明 |
|
|
文字列 |
リクエストが失敗した場合はメッセージを表示する |
|
|
文字列 |
問題が発生した手法に関する言及 |
|
|
文字列 |
故障の原因 |
|
|
JSON |
パラメータ。詳細は以下をご覧ください |
データ
|
フィールド |
値 |
説明 |
|
|
|
現在の活動総数 |
|
|
|
これまでの活動の総計 |
|
|
配列 |
アクティビティ情報。詳細は以下をご覧ください |
活動
|
フィールド |
値 |
説明 |
|
|
|
アクティビティID |
|
|
文字列 |
アクティビティ名 |
|
|
文字列 |
アクティビティの種類 |
|
|
|
アクティビティの実行時間 |
|
|
文字列 |
活動状況 |
|
|
文字列 |
活動の開始日 |
|
|
|
活動の進捗状況 |
|
|
文字列 |
活動別タイプ |