Validate Backup
Check for backup errors without starting backup.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
{
"location": "string",
"location_type": "FTP",
"parts": [
"string"
]
}
a list of optional parts. Run backup parts APIs to get list of optional parts and description
path or url
Backup.LocationType enumerated type Defines type of all locations for backup/restore
FTP : Destination is FTP server
HTTP : Destination is HTTP server
FTPS : Destination is FTPS server
HTTPS : Destination is HTTPS server
SCP : Destination is SSH server
SFTP : Destination is SFTP server
NFS : Destination is NFS server
SMB : Destination is SMB server
Possible values are: FTP , HTTP , FTPS , HTTPS , SCP , more...
a password for a backup piece The backupPassword must adhere to the following password requirements: At least 8 characters, cannot be more than 20 characters in length. At least 1 uppercase letter. At least 1 lowercase letter. At least 1 numeric digit. At least 1 special character (i.e. any character not in [0-9,a-z,A-Z]). Only visible ASCII characters (for example, no space). backupPassword If no password then the piece will not be encrypted
Option to enable Postgres DB/ VCDB fast backup. If unset backup will proceed at slow rate
password for location locationPassword Password for the specified user if login is required at this location.
username for location locationUser User name for this location if login is required.
Custom comment comment an optional comment
Authentication
Response
Response BodyResponse Body
ReturnResult Structure
{
"messages": [
{
"args": [
"string"
],
"default_message": "string",
"id": "string"
}
],
"status": "FAIL"
}
Backup.ReturnStatus enumerated type Defines the state of precheck
FAIL : Check failed
WARNING : Passed with warnings
OK : Check passed
Possible values are: FAIL , WARNING , OK
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/appliance/recovery/backup/validate
x-vmw-doc-operation: validate