backup-docker/README.md
Niklas 5fae0c64d9
All checks were successful
continuous-integration/drone/push Build is passing
improved README
2021-07-01 11:58:02 +02:00

21 lines
517 B
Markdown

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`
`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`
Use the `/app/init.sh` script to init a new remote.