NAME
App::PgCryobit - The pg_cryobit application
VERSION
Version 0.03
SYNOPSIS
This class is effectively a serie of scripts, meant to be called by the pg_cryobit command.
SUBROUTINES/METHODS
load_factory_class
Convenience method. Loads the given $factory_class and returns it so you can instanciate it. Dies in case of failure to load the class.
Usage:
my $factory_class = $this->load_factory_class($factory_class);
my $factory = $factory_class->new({ ... });
feature_checkconfig
Returns 1 if this has been erroneous, so the calling script can exit with this code.
Returns 0 if everything went fine.
feature_checkshipper
Perform some sanity check on the configured shipper. Returns 1 in case of failure, 0 in case of success, so you can use this to return an exit code in the calling script.
feature_archivewal
Archive wal file present in options as 'file' using the defined shipper.
Returns 0 in case of success. 1 in case of failure.
See man pg_cryobit for more info.
feature_fullarchive
Composes rotatewal and archivesnapshot.
feature_rotatewal
Assumes checkconfig has been called before.
Will force the rotation of a wal and wait for its shipping to complete.
feature_archivesnapshot
Performs a full archive of the PostgreSQL 'data_directory' and ships it using the shipper.
AUTHOR
Jerome Eteve, <jerome at eteve.net>
BUGS
Please report any bugs or feature requests to bug-app-pgcryobit at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-PgCryobit. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::PgCryobit
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2010 Jerome Eteve.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.