logoalt Hacker News

ComputerGurutoday at 3:36 PM2 repliesview on HN

There’s no need to get all complicated and fancy or introduce more dependencies. For most people, a cron job calling pg_dump_all piped to zstd and copying the output to s3/ftp/whatever is plenty good enough.

Obviously past a certain point carting around full backups becomes time/dollar prohibitive, but this can take you very far.


Replies

rsyringtoday at 3:41 PM

FWIW, we started with a system that was essentially this. We eventually moved to pgbackrest and it wasn't any harder to setup. But the ROI on that investment is a lot higher because pgbackrest does a lot more for us than the home rolled solution.

Having done both, I'd recommend just starting with pgbackrest.

Scarbutttoday at 3:53 PM

If you can afford to lose the data created between backups, sure.

show 1 reply