Poor mans backup solution.
.drone.yml | ||
.gitignore | ||
backup.sh | ||
docker-compose.yml | ||
Dockerfile | ||
interactive.sh | ||
README.md | ||
setup.sh |
Use restic 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.