Backup::Omni::Session::Results - Return the results of given session
use Backup::Omni::Session::Results; my $results = Backup::Omni::Session::Results->new( -session => '2013/01/28-1' ); printf("status = %s\n", $results->status);
This module will return the results of a session id. It runs the omnidb command with the appropiate options. If any errors are encounterd, an exception is thrown.
This method will initialze the object. It takes one parameter.
The session id of the desired session.
The results object consists of the following methods:
This method returns the session id.
The specifications for the backup.
This method returns the session type.
The datetime when the backup started.
The datetime when the backup finished.
The status of session.
The number of warning generated during this session.
The number of errors that were generated during this session.
The user the session was ran under.
The group the session was ran under.
The size of this session.
Backup::Omni::Base Backup::Omni::Class Backup::Omni::Utils Backup::Omni::Constants Backup::Omni::Exception Backup::Omni::Restore::Filesystem::Single Backup::Omni::Session::Filesystem Backup::Omni::Session::Messages Backup::Omni::Session::Monitor Backup::Omni::Session::Results
Kevin L. Esteb, <kesteb@wsipc.org>
Copyright (C) 2013 by WSIPC
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Backup::Omni, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Backup::Omni
CPAN shell
perl -MCPAN -e shell install Backup::Omni
For more information on module installation, please visit the detailed CPAN module installation guide.