can a .rsync-filter improve performance?

Mike Connell mikefconnell at verizon.net
Tue Oct 6 00:08:39 MDT 2009


Hi,

I know certain subtrees I want to backup are written once
and never deleted.

So to reduce the time it takes rsync to run, I was thinking
of putting the following .rsync-filter in each of these subtrees:

P /**

I can see this stops the files on the receiver side from being 
deleted.

Does this filter also improve performance?

It looks like it does. If I do a manual test and delete
a file in this subtree on the sender side, when I look at the output
from the "building file list", it does  not show the deleted file.

So will this help improve performance (time it takes to build file list and
time it takes to update receiver)?

Is there a better way to prune, when you have subtrees that are 
only written once and you don't need rsync to keep visiting these
subtrees?

Thanks,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091005/3db68348/attachment.html>


More information about the rsync mailing list