App::PgCryobit - The pg_cryobit application
Version 0.03_01
This class is effectively a serie of scripts, meant to be called by the pg_cryobit command.
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({ ... });
Returns 1 if this has been erroneous, so the calling script can exit with this code.
Returns 0 if everything went fine.
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.
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.
Composes rotatewal and archivesnapshot.
Assumes checkconfig has been called before.
Will force the rotation of a wal and wait for its shipping to complete.
Performs a full archive of the PostgreSQL 'data_directory' and ships it using the shipper.
Jerome Eteve, <jerome at eteve.net>
<jerome at eteve.net>
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.
bug-app-pgcryobit at rt.cpan.org
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
http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-PgCryobit
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/App-PgCryobit
CPAN Ratings
http://cpanratings.perl.org/d/App-PgCryobit
Search CPAN
http://search.cpan.org/dist/App-PgCryobit/
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.
To install App::PgCryobit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PgCryobit
CPAN shell
perl -MCPAN -e shell install App::PgCryobit
For more information on module installation, please visit the detailed CPAN module installation guide.