News for hackers. Stuff that matters.
Re:Testing Huge PostgreSQL Backups for 37 Cents a Day by brianwawok on Friday May 05, 2017 @06:00PM (#14277132)
Don't you need a sleep after mail to make sure it is sent before the shutdown kills network? Feels race conditiony

Nit 2: I would add some select counts or similar to ensure a few big tables are there. Would maybe include the counts in the email.

Re:Testing Huge PostgreSQL Backups for 37 Cents a Day by dermybaby on Saturday May 06, 2017 @01:57AM (#14278938)
Also - can this last part be written different? Feels monolithic

sudo -u postgres bash -c "cat > /var/lib/postgresql/9.2/main/recovery.conf <<- _EOF_ restore_command = 'env ......blahblah"