Amanda::Rest::Dumps -- Rest interface to Amanda::DB::Catalog2
request:
GET /amanda/v1.0/configs/:CONF/dumps
GET /amanda/v1.0/configs/:CONF/dumps/hosts/:HOST
query arguments:
host=HOST
disk=DISK
dump_timestamp=DUMP_TIMESTAMP
write_timestamp=WRITE_TIMESTAMP
level=LEVEL
status=OK|PARTIAL|FAIL
holding=0|1
label=LABEL
reply:
[
{
"code" : "2600000",
"dumps" : [
{
"bytes" : 81478422,
"client_crc" : "09dbccef:81478422",
"diskname" : "/bootAMGTAR",
"dump_timestamp" : "20140203085941",
"hostname" : "localhost.localdomain",
"kb" : 79568.771484375,
"level" : 0,
"message" : "",
"native_crc" : "ff45fab4:87556096",
"nparts" : 1,
"orig_kb" : 85504,
"parts" : [
{},
{
"client_crc" : "09dbccef:81478422",
"filenum" : 1,
"kb" : 79568,
"label" : "test-ORG-AA-vtapes-011",
"native_crc" : "ff45fab4:87556096",
"orig_kb" : 85504,
"partnum" : 1,
"sec" : 0.253803,
"server_crc" : "09dbccef:81478422",
"status" : "OK"
}
],
"sec" : 0.1,
"server_crc" : "09dbccef:81478422",
"status" : "OK",
"storage" : "my_vtapes",
"write_timestamp" : "20140203085941"
}
],
"message" : "The dumps",
"severity" : "16",
"source_filename" : "/usr/lib/amanda/perl/Amanda/Rest/Dumps.pm",
"source_line" : "194"
}
]
This page was automatically generated Tue Mar 19 07:08:16 2019 from the Amanda source tree, and documents the most recent development version of Amanda. For documentation specific to the version of Amanda on your system, use the 'perldoc' command.