Release of version 1.3.3
Add support for xz and lz4 compressions, thanks to Michael Pirogov
Fix for version checking for x.y.z versions of tar. Per report ( https://github.com/omniti-labs/omnipitr/issues/14 ) from David Johnston.
Release of version 1.3.2
Fix for handling --skip-xlog together with remote destinations (-dr) in omnipitr-backup-*. Bug reported (https://github.com/omniti-labs/omnipitr/issues/13) by Otto Bretz
Release of version 1.3.1
Added --truncate and --sleep to omnipitr-backup-cleanup
Release of version 1.3.0
Added --dry-run to omnipitr-backup-cleanup
Added --help/docs to omnipitr-backup-cleanup
Added omnipitr-backup-cleanup - program to remove old backups, and xlogs from walarchive, leaving consistent state (all backups can be restored using xlogs from walarchive).
Added timezone and hostname information to meta files
change retention of error messages in omnipitr-monitor cache to 3 days (from 30). This is to make sure that the cache file will not be too big.
*meta* files are generated for backups. These files contain information when backup has started, and what is the minimal xlog file required for recovery from it.
Release of version 1.2.0
--dst-pipe for omnipitr-backup-master, omnipitr-backup-slave and omnipitr-archive
support for using %r in omnipitr-restore for cleanup purposes
--skip-xlog option to disable creation of xlog tarball from backup processes
Release of version 1.1.0, including all changes since release 1.0.0
Provide support for --help option
Add support for config file
Add --version option to all programs.
Make temp directories based on PID, to allow easy running (for example) 2 slaves on the same machine.
Add option to make omnipitr-restore able to remove files from walarchive before serving next xlog to PostgreSQL. This is important in cases where slave falls back a lot, and it's catching up - but it doesn't start to remove old, obsolete wal segments before it will fully catch up. Now, with new option (--remove-before) it will delete old wal segments during catchup phase too.
Make sanity-check.sh return sensible exit code - pull from François Beausoleil ( https://github.com/francois )
Fix log line parsing in omnipitr-monitor - the bug in there prevented omnipitr-monitor from working when running on server with timezone "before" UTC (for example UTC-0400).
Release of version 1.0.0
Finally omnipitr-monitor is working
Release of version 0.7.0
Cherry-pick wal segments for omnipitr-backup-slave, instead of archiving whole WALARCHIVE
Release of version 0.6.0
Support parallelism of delivery to remote destinations, and unpacking of wal archives for omnipitr-backup-slave
Release of version 0.5.0
Direct destination support - details: http://www.depesz.com/2012/03/30/omnipitr-0-5-0/
Release of version 0.4.0
Fix handling of symlinks to walarchive in omnipitr-backup-slave
New program omnipitr-cleanup to be used as archive_cleanup_command in recovery.conf - for streaming replication setups
Release version 0.3.1
Fixed bug with handling digests, that could cause omnipitr-backup-master or omnipitr-backup-slave to *not* make backup if bad digester was requested.
Release version 0.3.0
Added omnipitr-synch program, to send PostgreSQL data in sane way to remote machines (for example to setup new slave).
Switch to use environment based perl interpreter, instead of hardcoding path
Release version 0.2.1
Change handling of IO to use external tools (tee) to avoid deadlocks in case of slow compression
Release version 0.2.0
Added ability to create checksums of backups, with --digest option for omnipitr-backup-master and omnipitr-backup-slave programs
Release version 0.1.3
Fixed bug with handling Minimum Recovery Location in slave backup
Release version 0.1.2
Fixed bug with handling multiple local destinations for backups.
Release version 0.1.1
Changed short version of --psql-path from -pp to -sp - -pp was already taken by --pgcontrol-path. Bug reported by luoyi.
Release version 0.1.0
Fix slave backup on 9.0 systems (new option, -cm)
Add test system, not really configurable now, but works, and lets me easily verify that OmniPITR still works.
Add (finally) versions. So far only to libraries. Can be read with:
perl -I/opt/omnipitr/lib -le 'use OmniPITR::Program; print $OmniPITR::Program::VERSION'
Allow omnipitr-backup-master and omnipitr-backup-slave to work when data dir path is given as symlink
Fix typo in generated .backup file - harmless as far as I know.
Fix handling of pidfile in backup-master and backup-slave programs. Bug spotted by Albert Czarnecki
Make the IMMEDIATE finish of recovery actually work.
Make omnipitr-backup-slave compatible with Streaming Replication in PostgreSQL 9.0
Add option (--streaming-replication) to make it possible to use omnipitr-restore in 9.0 Streaming Replication environment.
Silence warning if source is not defined on the command line
Silence warning if source is not defined on the command line
Add detection of tar version to sanity-check.sh
Add internals.pod with first part of documentation of "how it works, and why this way"
Locate any tablespaces in the data dir and include them in the backup for both masters and slaves. In the tar file these will be placed under the 'tablespaces' directory.
localize signal handler so that it does not get called outside of the function call
Add proper stub for make_xlog_archive in OmniPITR::Program::Backup, that enforces reimplementation in child classes.
Fix error with handling master backups where given data-dir contained trailing / character
Fix error handling for pg_controldata
Add option to handle various ways of dealing with problems with calls to pg_controldata (--error-pgcontroldata) to omnipitr-restore
Log whole response from pg_controldata in case there are problems with it
Add forgotten --nice-path to omnipitr-archive
Add option not to use nice for omnipitr-archive, and both omnipitr-backup-* programs
Added "IMPORTANT NOTICES" part to documents for omnipitr programs with additional info that might not be obvious always.
Added information about reuiring at least gnu tar 1.20 (earlier version didn't have --transform option which is required by omnipitr-backup-slave)
omnipitr-backup-slave in beta
First part of refactoring the code
Fix type in changelog (28 -> 23)
Fix call to tar with 2 --transform options. Some tar versions don't handle it well, and it's required for omnipitr-backup-slave
Exclude whole pg_log and pg_xlog directories if these are symlinks - no point in restoring them on slave system, and it's pretty common to be symlinked.
Fix description of -x option for omnipitr-backup-master
Add information that one should remove finish recovery trigger after successfull finish of wal replication.
alpha version of omnipitr-backup-slave
Fix ommission in workaround for PostgreSQL 8.2 and 8.3 - regarding order of xlog segments.
Fix bug caused by silencing rm - destination-backup directory wasn't removed after successful exit of backup.
Silence rmtree - disable confirmation message to be printed to screen - to make sure cron jobs with backup don't create irrelevant mails.
Added documentation about requirements
Added workaround for PostgreSQL 8.2 and 8.3, which do not wait for .backup "wal segment" to be archived before returning control from pg_stop_backup() call.
The OmniPITR project is Copyright (c) 2009-2013 OmniTI. All rights reserved.