Skip to content

Instantly share code, notes, and snippets.

@rapind
Created December 26, 2014 13:33
Show Gist options
  • Save rapind/3c0be05eaceabaf17092 to your computer and use it in GitHub Desktop.
Save rapind/3c0be05eaceabaf17092 to your computer and use it in GitHub Desktop.
Make a base PostgreSQL backup
sudo -u postgres bash -c "envdir /etc/wal-e.d/env /usr/local/bin/wal-e backup-push /var/lib/postgresql/9.3/main"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment