velouria/restic
Galuh Sahid bec5b584af Add volumes 2023-12-26 00:21:07 +01:00
..
README.md Update readme 2023-12-26 00:04:31 +01:00
docker-compose.yml Add volumes 2023-12-26 00:21:07 +01:00

README.md

restic

Future improvements

  • Set up with Docker secrets
  • Add notification

Useful commands

Restoring files on a host where the container is already running via Docker Compose:

# Find the latest snapshot for the current host (note the ID)
docker-compose exec app restic snapshots -H <HOSTNAME>
# Restore the given file on the host
docker-compose exec app restic restore --include /path/to/file <ID>

Known issues

Fatal: config or key 2327d55bb96f4cab846b07cc8ffe5906c88c3e657f326a506ccfcf95cd8fd1e7 is damaged: ciphertext verification failed

Related issue

Do not run both prune and backup at the same time. When initializing, need to run individually.

docker compose up -d backup
docker compose up -d prune
docker compose up -d check