News for hackers. Stuff that matters.
Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by upbeatlinux on Friday August 18, 2017 @02:44PM (#15048708)
Wow, great work! I am definitely going to test this out over the weekend. However AFAICT the `aws.Config` approach breaks certain backwards compatibility w/how wal-e handles credentials. Also wal-g does not currently support encryption. FWIW, I would love to simply drop-in wal-g without having to make any configuration changes.
Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by fdr on Friday August 18, 2017 @05:01PM (#15049691)
Do you want GPG based or some other client side encryption, or S3's encryption support? The latter could probably just be turned on. The former is a feature requiring code.
Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by upbeatlinux on Friday August 18, 2017 @06:51PM (#15050363)
Ideally the presence of the `WALE_GPG_KEY_ID` env var should enable encrypted backups https://github.com/wal-e/wal-e#encryption.

Put differently to be a "successor" it needs to be a drop in replacement ;)

Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by trojanowski on Saturday August 19, 2017 @03:23AM (#15052157)
Alternatively you could use a combination of AES and RSA similar how pghoard implements it: https://github.com/ohmu/pghoard

The RSA keys (or path to them) would be passed as environment variables. It would be a little easier to setup than gpg (especially for automatic backup restoration).

Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by fdr on Friday August 18, 2017 @07:48PM (#15050633)
I have to be selective about maintenance of features. I'll consider GPG support.
Re:Introducing WAL-G: Faster Disaster Recovery for Postgres by tatersolid on Sunday August 20, 2017 @10:31PM (#15061518)
Please consider libsodium or a similar "modern" crypto library instead. There's a lot of ugly 90s crypto in GPG and the API is terrible. Libsodium makes it hard for non-crypto devs to shoot themselves in the foot, and is much less code to write.