A CapRover Postgres backup utility
Steps:
- Clone this repo to your CapRover machine, and
cd
into it. cp example.config.json config.json
- Update your config for the databases you want to back up as well as the locations to which you would like to back them up.
- Run
python3 pg_capup.py
. - Create a cronjob to run the script.
- Other databases.
- Other storage locations (right now, only S3 works).
- Slack notifications (currently works, but should probably send notifications on errors).