mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-13 09:56:30 +00:00
Merge pull request #5687 from mtrower/do-not-exclude-var-cache-#5625
docs: remove /var/cache exclusion in example commands
This commit is contained in:
commit
358587649a
2 changed files with 0 additions and 2 deletions
|
@ -137,7 +137,6 @@ modify it to suit your needs (e.g. more backup sets, dumping databases etc.).
|
|||
# This is just an example, change it however you see fit
|
||||
borg create $BORG_OPTS \
|
||||
--exclude /root/.cache \
|
||||
--exclude /var/cache \
|
||||
--exclude /var/lib/docker/devicemapper \
|
||||
$TARGET::$DATE-$$-system \
|
||||
/ /boot
|
||||
|
|
|
@ -189,7 +189,6 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
|
|||
--compression lz4 \
|
||||
--exclude-caches \
|
||||
--exclude '/home/*/.cache/*' \
|
||||
--exclude '/var/cache/*' \
|
||||
--exclude '/var/tmp/*' \
|
||||
\
|
||||
::'{hostname}-{now}' \
|
||||
|
|
Loading…
Reference in a new issue