I wish to backup with duplicity
(I use it often, usually without issues) /etc
and /root
. I wish to exclude .cache
from the /root
directory. I try:
duplicity incremental --full-if-older-than 30W --include /etc \
--include /root --exclude '/root/.cache' --exclude / \
--verbosity info / scp://TARGET
This generally works, but /root/.cache
is included within backup. Instead of the '/root/.cache'
I tried different expression patterns: /root/.cache
, "/root/.cache"
, "**.cache"
, '**.cache'
, ''**.cache''
and several others, with same result.
According to duplicity manual (I have 0.7.12 on openSUSE), expression "**.cache"
should work well. Do I misread the manual or do I do something wrong?