21 lines
517 B
Markdown
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. |