I would like to backup the following folders with duplicity
/home /etc /usr/local /root /var /boot
and exclude
/var/tmp /var/run /var/lock /home/*/.thumbnails /home/*/.cache /home/*/.local/share/Trash /root/.thumbnails /root/.cache /root/.local/share/Trash
I already found out that I need to specify one source directory to save and that I can configure it with the include and exclude parameters.
So, I could give / as the source directory and exclude ** (that would mean nothing) and include the folders that I want to keep.
The source / and --exclude / will give an empty set, --include ... superior to exclude and adds folders. But then I canβt exclude the folders that I want to exclude, right? Or am I missing something?
source share