Skip to content

Instantly share code, notes, and snippets.

@rapind
Last active August 29, 2015 14:12
Show Gist options
  • Save rapind/47a3b19f9dcb46eb4425 to your computer and use it in GitHub Desktop.
Save rapind/47a3b19f9dcb46eb4425 to your computer and use it in GitHub Desktop.
Update PostgreSQL archiving / WAL for WAL-E backups
# WAL-E Backups
# Goes in the bottom of your postgresql.conf
wal_level = archive
archive_mode = on
archive_command = 'envdir /etc/wal-e.d/env /usr/local/bin/wal-e wal-push %p'
archive_timeout = 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment