Go to file
2025-02-07 16:58:39 +00:00
.gitignore Initial commit 2025-02-07 16:58:39 +00:00
backup.sh Initial commit 2025-02-07 16:58:39 +00:00
Dockerfile Initial commit 2025-02-07 16:58:39 +00:00
rclone.conf.template Initial commit 2025-02-07 16:58:39 +00:00
README.md Initial commit 2025-02-07 16:58:39 +00:00

Rclone Backups

A Docker-based system for automating encrypted backups via Rclone.

Setting-Up Backups

Make a copy of the included rclone.conf.template file as rclone.conf and update the relevant fields. Use a long string for the encryption password.

Create a docker-compose.yml (or edit an existing) to add a block for the backup container:

services:
  backup:
    image: wilw/rclone-backup
    volumes:
      - ./rclone.conf:/root/.config/rclone/rclone.conf
      - ./data/to/backup:/data/source

Bring up the service with docker compose up -d.

Restore From Backups

Recreate the same rclone.conf file as described above and install rclone for your system.

Run the following command to backup from the remote repo:

rclone --config rclone.conf copy encrypted:/data ~/restore_dir