Included file ‘JB/setup’ not found in _includes directory
Smarts built in to find last backup and use that number to delete older wal segments
Really active community
Python and all sorts of other dependencies. I don’t like my postgres.conf having dependencies on libraries that have to be installed using not so robust package managers like easy_install or pip. [I do a lot more with Ruby, so Python’s package managers still seem alien to me.]
Keep N Backups still is a todo.
Documentation on how to switch from existing S3/WAL backups to wal-e is not there.
Switching from an existing setup
I used to do the following
1 2 3 4
In the above s3test is
1 2 3 4 5 6 7 8 9
The switch is basically a hack, as I haven’t found much help on what is the best way to switch directories.
Should I change the archive_command, restart server and then run the first backup-push?
Instead, I am running with the following steps
- Let the old archive_command (as shown above) run as it does.
- run a wal-r backup-push. This will create a directory called
basebackups_NNNunder the s3-prefix path you specify. 1. As soon as backup-push returns, restart databased to pick up the new archive_command.
I really recommend someone to find out more about this first. But this is what I am doing for now.
There has to be a tool that is easier to setup and better documented. But using wal-e for now.