Toastie 3d35e91f5b fixed typo vor 4 Jahren
..
data 9a02d3a622 moved crontab to env vor 4 Jahren
.env.template d92a5bd903 removed last empty line for testingx vor 4 Jahren
.gitignore eba7e41477 added .backupignore for cache vor 4 Jahren
README.md 3d35e91f5b fixed typo vor 4 Jahren
docker-compose.yml fbe8acb388 updated variable naming vor 4 Jahren

README.md

Restic

This docker-compose.yml file runs Restic backup as per crontab.txt with parameters set in .env using the restic/restic image.

Setup

Setup your config

cp .env.template .env
vi .env

Run the container

docker-compose up -d
docker logs restic -f

Operation

List snapshots with date/time

/ # restic ls
Fatal: Invalid arguments, either give one or more snapshot IDs or set filters.
/ # restic snapshots
repository 276b6a79 opened successfully, password is correct
ID        Time                 Host        Tags        Paths
------------------------------------------------------------------
e70bd81a  2020-01-05 23:39:20  restic                  /mnt/source
d629a178  2020-01-06 20:20:06  restic                  /mnt/source
------------------------------------------------------------------
2 snapshots

Show diff between snapshots

restic diff e70bd81a d629a178

References