pitrery is set of tools to ease the management of PITR backups and restores:
-
Management of WAL segments archiving with compression to a host reachable with SSH or on the local machine
-
Automation of the base backup procedure
-
Restore to a particular date
-
Management of backup retention
-
Get the source
-
Edit the
config.mk -
Run
makeandmake install -
Copy
pitr.confto a new file to configure a particular backup -
Edit this file to fit your system
-
Configure archiving (
archive_command = 'archive_xlog -C pitr %p') -
Run
pitreryto perform your backups and restores
The source code is available on github: https://github.com/dalibo/pitrery
pitrery is developped by Nicolas Thauvin under a classic 2 clauses BSD license. See license block in the scripts or the COPYRIGHT file.