Skip to content

Instantly share code, notes, and snippets.

@mrsarm
Created December 15, 2014 21:29
Show Gist options
  • Select an option

  • Save mrsarm/14fb973a8295ae2ea3b9 to your computer and use it in GitHub Desktop.

Select an option

Save mrsarm/14fb973a8295ae2ea3b9 to your computer and use it in GitHub Desktop.
Crontab configuration to run PG Barman backup scripts periodically
#
# Run backup process with PG Barman tool.
#
# Check log file in /var/log/backup-pgbarman.log
#
# Run WAL archiving backup every hours
10 */1 * * * barman /var/lib/barman/bin/backup-pgbarman-cron
# Run full backup, every days
0 01 * * * barman /var/lib/barman/bin/backup-pgbarman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment