NAME
App::PgCryobit::Shipper - A shipper base virtual class
ship_xlog_file
Copies the given log_file somewhere safe.
Dies in case of failure.
xlog_has_arrived
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') ){
}
ship_snapshot_file
Copies the given snapshot_file somewhere safe.
Dies in case of failure.
clean_xlogs_youngerthan
Removes xlogs smaller than the given filename from the safe storage.
clean_archives_youngerthan
Remove archives smaller than the given filename from the safe storage.
check_config
Checks this Shipper's configuration is correct.
Returns 0 if it is.
Dies if it's not.