Last active
August 29, 2015 14:12
-
-
Save rapind/47a3b19f9dcb46eb4425 to your computer and use it in GitHub Desktop.
Update PostgreSQL archiving / WAL for WAL-E backups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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