Update readme

This commit is contained in:
Galuh Sahid 2023-12-26 00:04:31 +01:00
parent 0fc52baff5
commit 87ecf16f63
2 changed files with 40 additions and 0 deletions

3
nextcloud/README.md Normal file
View File

@ -0,0 +1,3 @@
# nextcloud
To be added

37
restic/README.md Normal file
View File

@ -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 <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](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
```