a small docker image which will run a pg_dump via ssh tunnel.
- clone this repository:
git clone https://github.com/Loumaris/backupbuddy.git - place your (passwordless) private key into
config/id_rsa- Hint: create a separate public/private key pair for each backup instance
- copy the
config/config.env.exampletoconfig/config.env - update the settings in
config/config.env- only the
TEAMS_WEBHOOK_URLis optional
- only the
- test the backup via:
docker run -v ${PWD}/config:/backup/config -v ${PWD}/data:/backup/data loumaris/backupbuddy - add the docker command to your cron daemon