diff --git a/nextcloud/README.md b/nextcloud/README.md new file mode 100644 index 0000000..a4d7005 --- /dev/null +++ b/nextcloud/README.md @@ -0,0 +1,3 @@ +# nextcloud + +To be added \ No newline at end of file diff --git a/restic/README.md b/restic/README.md new file mode 100644 index 0000000..67a7b3f --- /dev/null +++ b/restic/README.md @@ -0,0 +1,37 @@ +# 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 +# Restore the given file on the host +docker-compose exec app restic restore --include /path/to/file +``` + +## Known issues +``` +Fatal: config or key 2327d55bb96f4cab846b07cc8ffe5906c88c3e657f326a506ccfcf95cd8fd1e7 is damaged: ciphertext verification failed +``` + +[Related issue](https://github.com/djmaze/resticker/issues/48) + +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 +``` \ No newline at end of file