On 2016-03-29 19:57, Michael Stowe wrote:
> On 2016-03-29 10:17, Benjamin Redling wrote:
>> [...] /tmp subdirectories and absolute
>> paths (/anonuser... see below) are filling up the discs.
>> XferMethod is rsyncd, shouldn't '*/tmp' avoid this?
> No, '*/tmp' will avoid backing up any files named "tmp" or any empty
> subdirectories named "tmp" as long as they are NOT in the root of the
> share -- but it will not exclude any files IN directories named "tmp",
> which, from your description, is probably what you want.
Ok, I reread the section "INCLUDE/EXCLUDE PATTERN RULES" of the rsync
man page in hope to grasp the patterns.
There it says:
"
a trailing "dir_name/***" will match both the directory (as if
"dir_name/" had been specified) and everything in the directory (as
if "dir_name/**" had been specified). This behavior was added in
version 2.6.7.
"
So, to my understanding tmp/*** (and all the other dirs accordingly)
should be the correct pattern.
[...]
> Also note that exclude paths are relative, so if you want to match /tmp
> in the root of the share, the proper exclude to use is simply 'tmp'.
[...]
> If you want to exclude anything in a subdirectory named tmp, then 'tmp/'
> should do the trick.
I need the later case, tmp in the home dirs.
Thanks for pointing to the importance of the trailing slash!
Maybe I changed more that I am willing to admit to myself and even
worse: this wasn't part of config. management /version control
-- really bad.
Regards,
Benjamin
--
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
vox: +49 3641 9 44323 | fax: +49 3641 9 44321
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|