From 1e01aca3019a54ae24f54b2f1190cb8d1daa961b Mon Sep 17 00:00:00 2001 From: "Matthew R. Trower" Date: Fri, 12 Feb 2021 14:32:33 -0600 Subject: [PATCH] docs: remove /var/cache exclusion in example commands This is generally a poor idea and shouldn't be promoted through examples. Fixes #5625 --- docs/deployment/automated-local.rst | 1 - docs/quickstart.rst | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/deployment/automated-local.rst b/docs/deployment/automated-local.rst index 9134bbd3d..b22ce60ab 100644 --- a/docs/deployment/automated-local.rst +++ b/docs/deployment/automated-local.rst @@ -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 diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 5656f0e8b..c69c883e6 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -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}' \