VM File Recover
Select
SaaS
Customer Managed
Recover the VM Files provided
Path Parameters
- vmClientGUID string required
- application/json
Request Body
- inPlaceRestore boolean required
The option to restore backed-up data to the same client from which it was backed up.
- passUnconditionalOverride boolean
The option to overwrite an existing virtual machine of the same name.
destinationClient object
vmFileLevelRestoreOptions object required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 63815,
"jobIds": [
"131575"
]
}
POST /v2/vsa/vm/:vmclientguid/recoverfile
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmClientGUID/recoverfile' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inPlaceRestore": true,
"passUnconditionalOverride": true,
"destinationClient": {
"clientName": "string"
},
"vmFileLevelRestoreOptions": {
"destPath": [
"string"
],
"sourcePath": [
"C:\test\test1.txt (windows) /vol2/var/test1.txt( for unix where vol2 is mountpoint name )"
],
"destinationVMGuid": "string",
"guestCredentials": {
"userName": "string",
"password": "string"
}
}
}'