Skip to content

Commit

Permalink
Merge pull request #5687 from mtrower/do-not-exclude-var-cache-#5625
Browse files Browse the repository at this point in the history
docs: remove /var/cache exclusion in example commands
  • Loading branch information
ThomasWaldmann authored Feb 13, 2021
2 parents f8d7b9c + 1e01aca commit 3585876
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/deployment/automated-local.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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}' \
Expand Down

0 comments on commit 3585876

Please sign in to comment.