3.5.1
Amanda::Rest modules list
Amanda modules list
List of All Modules

Amanda::Rest::Dumps

NAME

Amanda::Rest::Dumps -- Rest interface to Amanda::DB::Catalog

INTERFACE

Get the list of restorable dumps
 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"
     }
  ]

ABOUT THIS PAGE

This page was automatically generated Fri Dec 1 16:49:57 2017 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.


3.5.1