App::PgCryobit::Shipper - A shipper base virtual class
Copies the given log_file somewhere safe.
Dies in case of failure.
Checks the given xlog_name has arrived at the safe destination. Return true or false.
xlog_name is NOT an absolute file name, but something like '000000010000000000000000'.
It's returned by the PostgreSQL admin function pg_xlogfile_name(location text).
See http://www.postgresql.org/docs/8.2/static/functions-admin.html
Usage:
if ( $this0->xlog_has_arrived('000000010000000000000000') ){ }
Copies the given snapshot_file somewhere safe.
Removes xlogs smaller than the given filename from the safe storage.
Remove archives smaller than the given filename from the safe storage.
Checks this Shipper's configuration is correct.
Returns 0 if it is.
Dies if it's not.
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.