Add immich-photos to restic
This commit is contained in:
parent
6c1ba18bf2
commit
f51a0f47fe
1 changed files with 4 additions and 2 deletions
|
|
@ -9,11 +9,13 @@ services:
|
|||
- RESTIC_REPOSITORY=/backup
|
||||
- RESTIC_PASSWORD=yourpassword
|
||||
volumes:
|
||||
- E:/installers:/data:ro
|
||||
- E:/installers:/data/installers:ro
|
||||
- H:/immich-photos:/data/immich-photos:ro
|
||||
- G:/restic-backups:/backup
|
||||
entrypoint: >
|
||||
sh -c "while true; do
|
||||
restic backup /data &&
|
||||
restic backup /data/installers &&
|
||||
restic backup /data/immich-photos &&
|
||||
restic forget --prune --keep-last 7;
|
||||
sleep 43200;
|
||||
done"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue