Automated tool to make periodic backups of PostgreSQL databases

Emmanuel Bouthenot a602345e90 Fix double dot in database dumps filenames 1 year ago
Changelog.md ff233cabef Huge code factoring and cleanup 1 year ago
Readme.md 915059011c Update Readme.md to reflect last changes 1 year ago
autopostgresqlbackup a602345e90 Fix double dot in database dumps filenames 1 year ago

Readme.md

AutoPostgreSQLBackup

AutoPostgreSQLBackup is a shell script (usually executed from a cron job) designed to provide a fully automated tool to make periodic backups of PostgreSQL databases.

AutoPostgreSQLBackup extract databases into flat files in a daily, weekly or monthly basis.

It supports:

  • Email notification
  • Compression on the fly
  • Encryption on the fly
  • Rotation (daily and/or weekly and/or monthly)
  • Databases exclusion
  • Pre and Post scripts
  • Local configuration

Usage

On Debian derived operating systems:

Install it : apt install autopostgresqlbackup

If the default options are not suitable for you, change them: $EDITOR /etc/default/autopostgresqlbackup

That's it!

History

  • 2022: Almost full rewrite with better error handling and new features (see Changelog.md for details)
  • 2019: Creation of a fork/standelone project on Github (https://github.com/k0lter/autopostgresqlbackup)
  • Since 2011: Various patches (fixes and new features) were added in the Debian package
  • 2011: AutoPostgreSQLBackup was included in Debian
  • 2005: AutoPostgreSQLBackup was written by AutoPostgreSQLBackup (with some contributions of Friedrich Lobenstock)

Authors

  • Emmanuel Bouthenot (Current maintainer)
  • Friedrich Lobenstock (Contributions)
  • Aaron Axelsen (Original author)