Backups: Ignore unnamed docker volumes
This commit is contained in:
parent
6bd4581ac4
commit
f1b8f21704
@ -29,6 +29,7 @@ borg create \
|
||||
--compression none \
|
||||
--exclude-caches \
|
||||
--one-file-system \
|
||||
--exclude "re:^/var/lib/docker/volumes/[a-z0-9]{64}/" \
|
||||
::'{hostname}-{now}' \
|
||||
/var/lib/docker/volumes
|
||||
|
||||
@ -47,7 +48,7 @@ borg prune \
|
||||
--show-rc \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 4 \
|
||||
--keep-monthly 6 \
|
||||
--keep-monthly 6
|
||||
|
||||
prune_exit=$?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user