[Borgbackup] Cannot exclude directories

Nick Gilmour nickeforos at gmail.com
Mon Aug 21 19:12:44 EDT 2017


Hi all,

I cannot exclude any directories with the option **--exclude-from** which I
have defined in a text file. The directories in the text file are like this:
...
"/home/*/.cache"
"*/.Trash-*"
...

I have tried some variations of this. E.g.:
/.cache
/.cache/
.cache
.cache/*

but Borg keeps creating backups of these directories. Also the option
**--exclude-caches** didn't help in the case of .cache. The command I run
is of this form:

**borg create -spv --exclude-caches --exclude-from exclude-file.txt
myrepo::mybackup mysource**

borg version: 1.0.7
System: Ubuntu 16.04.1 based

What am I doing wrong?

Regards,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20170822/f29614f2/attachment.html>


More information about the Borgbackup mailing list