Rob Owens wrote:

I'm attempting to back up /home with BackupPC 2.1.2 and I discovered
yesterday that the following $Conf{RsyncArgs} does not work:
'--exclude', '/home/music',

I got it to work by changing it to:
'--exclude', 'music',

The problem I see is that it's going to exclude every instance of
"music", and not just /home/music.  Is there any way I can fix this?

I don't it's going to exclude every instance of music. You need to specify the excludes relative to the share, so if you're backing up / home then I believe just specifying 'music' is the correct way to accomplish what you're trying to do. Also see 'ANCHORING INCLUDE/ EXCLUDE PATTERNS' in the rsync man page.

Nils Breunese.

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to