restoresnapshots CLI command
Syntax
restoresnapshots -u <username> -w <password> -p <port> -d <hostname> -action <action> -l [locale] -s[Protocol to connect with IT Data Analytics] -retentionDays [number of days]
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Example inputs
The following example provides the input for restoring data for a specified period:
restoresnapshots -u admin -w admin12345 -p 9797 -d localhost -action restore -startDate 2016-10-10 -endDate 2016-12-12 -retentionDays 4
The following example provides the input to get the status of the ongoing restore process:
restoresnapshots -u admin -w admin12345 -p 9797 -d localhost -action status -retentionDays 4
The following example provides the input to cancel the ongoing restore process:
restoresnapshots -u admin -w admin12345 -p 9797 -d localhost -action cancel -retentionDays 4
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*