Johan Ehnberg wrote, On 4/20/2007 10:23 AM:
> 6) Include/exclude with rsync
> The CGI interface gives me an option to add include/exclude lists for 
> rsync in $Conf{BackupFilesOnly}. The documentation only mentions SMB, 
> but presumably the others should work, too? Later in the documentation, 
> $Conf{RsyncArgs} is pointed out as a place for rsync includes/excludes.
> 
> I am quite familiar with the rsync syntax, but all files were backed up 
> even though I had an include.

BackupFilesOnly is usable with rsync. Notice that the "key" needs to 
match RsyncShareName (or use a *, see the doc what a * means), then you 
can add the matches.

Example using rsyncd on windows:

RsyncSharename = cDrive
Includes: key=cDrive, include=/Program Files/Intuit/QuickBooks 2005/Data

In the XferLOG, you can see how BackupPC generates the includes & 
excludes to do just that one directory:

Sent include: /Program Files
Sent include: /Program Files/Intuit
Sent include: /Program Files/Intuit/QuickBooks 2005
Sent include: /Program Files/Intuit/QuickBooks 2005/Data
Sent exclude: /*
Sent exclude: /Program Files/*
Sent exclude: /Program Files/Intuit/*
Sent exclude: /Program Files/Intuit/QuickBooks 2005/*

- Kris

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to