2024-03-16 UTC
# [campegg] To circle back on my Postgres question from yesterday, I set up a cron job to `pg_dump` a copy of my database every 4 hours, which I can FTP to my local machine when needed (and also use as a backup). From there, I cobbled together a bash script that drops the local copy of the database and uses the dumped file to restore a copy. It’s a bit hacky, but it works.