mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04: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
0c9d3d53d1
commit
a88b778184
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
|
||||
|
|
|
|||
|
|
@ -191,7 +191,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