WAL-E can also act as a backup solution. We don't generally recommend this as backing up to a remote location is usually a rather expensive proposition. It isn't simply a matter of monetary cost; we should also consider time and latency. It might not be a good idea to back up a 1TB database using WAL-E, but a smaller system that doesn't exceed a few GB may be a perfect fit.
The best thing about this capability is that it's easy to invoke. Here's how we would back up our database using WAL-E:
envdir /etc/wal-e/env wal-e backup-push /db/pgdata
And here's the command we'd use to restore the same database:
envdir /etc/wal-e/env wal-e backup-fetch /db/pgdata LATEST
These two commands make a great pair if we have no ...