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

Amanda::Report::json

NAME

Amanda::Report::json -- Generate an amanda report in json format.

report format
 $report->{'head'}->{'config_name'} => $config
                    {'org'}         => $org
                    {'date'}        => "July 24, 2013"
                    {'timestamp'}   => $run_timestamp
                    {'hostname'}    => "localhost.localdomain"
                    {'exit_status'} => $exit_status
                    {'status'}      => "done" | "running" | "aborted"
 $report->{'tapeinfo'}->{'storage'}->{$storage}->{'use'}          => @labels  #label used for each storage
                                                 {'next'}         => @labels  #labels to use on next run
                                                 {'next_to_use'}  => $nb      #
                                                 {'new_labelled'} => @labels  # new labelled tapes.
 $report->{'usage_by_tape'}[]->{'tape_label'} => $label
                               {'nb'}
                               {'size'}
                               {'dump_timestamp'}
                               {'configuration_id'}
                               {'time_duration'}
                               {'nc'}
                               {'percent_use'}
 $report->{'notes'}[]  # array of text lines;
 $report->{'summary'}[]->{'last_tape_label'}
                         {'dle_status'}
                         {'tape_duration'}
                         {'backup_level'}
                         {'configuration_id'}
                         {'hostname'}
                         {'dump_partial'}
                         {'tape_rate'}
                         {'dump_rate'}
                         {'disk_name'}
                         {'dump_duration'}
                         {'dump_timestamp'}
                         {'dump_orig_kb'}
                         {'dump_comp'}
                         {'dump_out_kb'}
 $report->{'statistic'}->{'tape_size'}->{'incr'}
                                        {'full'}
                                        {'total'}
                         {'parts_taped'}->{'incr'}
                                          {'full'}
                                          {'total'}
                         {'dles_taped'}->{'incr'}
                                         {'full'}
                                         {'total'}
                         {'Avg_tape_write_speed'}->{'incr'}
                                                   {'full'}
                                                   {'total'}
                         {'dump_time'}->{'incr'}
                                        {'full'}
                                        {'total'}
                         {'tape_used'}->{'incr'}
                                        {'full'}
                                        {'total'}
                         {'tape_time'}->{'incr'}
                                        {'full'}
                                        {'total'}
                         {'original_size'}->{'incr'}
                                            {'full'}
                                            {'total'}
                         {'output_size'}->{'incr'}
                                          {'full'}
                                          {'total'}
                         {'dles_dumped'}->{'incr'}
                                          {'full'}
                                          {'total'}
                         {'avg_compression'}->{'incr'}
                                              {'full'}
                                              {'total'}
                         {'avg_dump_rate'}->{'incr'}
                                            {'full'}
                                            {'total'}
                         {'dumpdisks'} =>  "1:1"
                         {'tapeparts'} =>  "1:1"
                         {'tapedisks'} =>  "1:1"
                         {'run_time'}
                         {'estimate_time'}

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