DescriptionCommand Detail
Return information about Backup/Restore Status.Command Information
GETHTTP Method
ReadAccess Type
User, AdminAccess Level
Example of issuing the BKPRST status command:
Input:
curl -k -H "X-SESSION-ID: $token" https://192.168.0.1/ws/v1/table?t=BKPRSTSTAT
Expected output (example only, subject to change):
<?xml version="1.0" encoding="ISO-8859-1" ?><HDR><TABLE><RECORD><ITEM>
<ID>0x002D1247</ID><VALUE><![CDATA[file name]]></VALUE>
<HELP_STR_1><![CDATA[Filename of the last backup performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This text field can hold 119 characters.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D1248</ID><VALUE><![CDATA[2007/11/17 21:06:53]]></VALUE>
<HELP_STR_1><![CDATA[Date and time of the last backup performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(), max(2900/12/31 23:59:59).]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D1249</ID><VALUE><![CDATA[file name]]></VALUE>
<HELP_STR_1><![CDATA[Filename of the last restore performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This text field can hold 119 characters.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124A</ID><VALUE><![CDATA[2007/09/10 01:57:23]]></VALUE>
<HELP_STR_1><![CDATA[Date and time of the last restore performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(), max(2900/12/31 23:59:59).]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124B</ID><VALUE><![CDATA[Pass]]></VALUE>
<HELP_STR_1><![CDATA[Indicates whether the most recent operation passed, failed,
or is in progress]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This item has 3 options available.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124C</ID><VALUE><![CDATA[Idle]]></VALUE>
<HELP_STR_1><![CDATA[State of the current backup or restore operation]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This item has 21 options available.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124D</ID><VALUE><![CDATA[0]]></VALUE>
<HELP_STR_1><![CDATA[Progress of the current backup or restore operation as a
percent]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(0), max(100), step size(1), unit()]]></HELP_STR_2>
</ITEM></RECORD></TABLE></HDR>
See the notes in the backup and restore commands for more information on intended use. See Backup
Command, on page 11 and Restore Command, on page 13.
Note
Legacy CDT Upload Command
Table 6: Command Details
DescriptionCommand Detail
-F cdtfile=@"cdt_file_path/cdt_file_name"
"https://192.168.0.1/ws/v1/cdt_upload.html"
Command URL
Upload a CDT file to the device.Command Information
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
15
API Definitions
Legacy CDT Upload Command