mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 00:37:56 +00:00
docs: remove /var/cache exclusion in example commands
This is generally a poor idea and shouldn't be promoted through examples. Fixes #5625
This commit is contained in:
parent
f8d7b9c232
commit
1e01aca301
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
|
# This is just an example, change it however you see fit
|
||||||
borg create $BORG_OPTS \
|
borg create $BORG_OPTS \
|
||||||
--exclude /root/.cache \
|
--exclude /root/.cache \
|
||||||
--exclude /var/cache \
|
|
||||||
--exclude /var/lib/docker/devicemapper \
|
--exclude /var/lib/docker/devicemapper \
|
||||||
$TARGET::$DATE-$$-system \
|
$TARGET::$DATE-$$-system \
|
||||||
/ /boot
|
/ /boot
|
||||||
|
|
|
@ -189,7 +189,6 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
|
||||||
--compression lz4 \
|
--compression lz4 \
|
||||||
--exclude-caches \
|
--exclude-caches \
|
||||||
--exclude '/home/*/.cache/*' \
|
--exclude '/home/*/.cache/*' \
|
||||||
--exclude '/var/cache/*' \
|
|
||||||
--exclude '/var/tmp/*' \
|
--exclude '/var/tmp/*' \
|
||||||
\
|
\
|
||||||
::'{hostname}-{now}' \
|
::'{hostname}-{now}' \
|
||||||
|
|
Loading…
Reference in a new issue