api/db/<dbname>/backup/list ResourceThe
api/db/<dbname>/backup/listprints the contents of a backup file. The only supported method is GET. The response is a JSON object with only one key, "backup_list", that contains the list of the backup records in the file. (The entries in this list have the same fields as themco_backup_info_tC AI structure.)For an overview see page eXtremeDB Web Service Resources
With the REST server started (listening on port 8083), the following http request will return output corresponding to the backup file
myfile.bkpwith one record in JSON format:GET http://localhost:8083/api/db/diskdb/backup/list?file_name=myfile.bkpThe response is a JSON object with only one key, "backup_list", that contains the list of the backup records in the file. For example:
{ "backup_list": [ { "magic": 3987782336, "protocol_version": 2, "type": "SNAPSHOT", "flags": [ ], "backup_no": 0, "timestamp": 1558223122, "size": 411916, "offset": 0, "crc": 784321220, "trans_no": 10, "mem_page_size": 256, "disk_page_size": 0, "n_pages_total": 79003, "db_name": "bkpdb", "label": "BKPLBL00000" } ] }