backup-docker/README.md

21 lines
517 B
Markdown
Raw Normal View History

2021-03-29 20:36:48 +00:00
Use [restic](https://restic.net/) together with rclone for a poor mans backup solution.
Environment variables:
`RCLONE_REMOTE` remote for rclone e.g. `gdrive:/backup`
`RCLONE_CONFIG` file path for the rclone config file e.g. `/config/rclone.conf`
2021-06-17 20:49:09 +00:00
`ENC_PASSWORD` or `ENC_PASSWORD_FILE` password for the repo
For the database:
`MYSQL_DUMP_DB` all databases comma sperated: `db1,db2`
`MYSQL_HOST`
`MYSQL_USERNAME`
`MYSQL_PASSWORD` or `MYSQL_PASSWORD_FILE`
2021-07-01 09:58:02 +00:00
Use the `/app/init.sh` script to init a new remote.