NAME
Backup::Omni::Session::Results - Return the results of given session
SYNOPSIS
use Backup::Omni::Session::Results;
my $results = Backup::Omni::Session::Results->new(
-session => '2013/01/28-1'
);
printf("status = %s\n", $results->status);
DESCRIPTION
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.
METHODS
new
This method will initialze the object. It takes one parameter.
Results Object
The results object consists of the following methods:
- sessionid
-
This method returns the session id.
- backup_specification
-
The specifications for the backup.
- session_type
-
This method returns the session type.
- started
-
The datetime when the backup started.
- finished
-
The datetime when the backup finished.
- status
-
The status of session.
- number_of_warnings
-
The number of warning generated during this session.
- number_of_errors
-
The number of errors that were generated during this session.
- user
-
The user the session was ran under.
- group
-
The group the session was ran under.
- session_size
-
The size of this session.
SEE ALSO
Backup::Omni::Class
Backup::Omni::Utils
Backup::Omni::Constants
Backup::Omni::Exception
AUTHOR
Kevin L. Esteb, <kesteb@wsipc.org>
COPYRIGHT AND LICENSE
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.