Преглед на файлове

docs: remove /var/cache exclusion in example commands

This is generally a poor idea and shouldn't be promoted through examples.

Fixes #5625
Matthew R. Trower преди 4 години
родител
ревизия
1e01aca301
променени са 2 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 1
      docs/deployment/automated-local.rst
  2. 0 1
      docs/quickstart.rst

+ 0 - 1
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

+ 0 - 1
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}'            \