doc patch for $Conf{BackupFilesExclude}
"Steve M. Robbins" <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I was confused about how BackupFilesExclude worked with rsync[1]. Attached is a patch that documents what I learned experimentally. Regards, -Steve [1] http://sourceforge.net/mailarchive/forum.php?thread_name=20111028031134.GI3878%40sumost.ca&forum_name=backuppc-users diff -u -r BackupPC-3.2.1.orig/doc/BackupPC.pod BackupPC-3.2.1/doc/BackupPC.pod --- BackupPC-3.2.1.orig/doc/BackupPC.pod 2011-04-24 22:31:55.000000000 -0500 +++ BackupPC-3.2.1/doc/BackupPC.pod 2011-10-29 15:33:52.707308813 -0500 @@ -3410,7 +3410,7 @@ the setting is assumed to apply to all shares. The exact behavior is determined by the underlying transport program, -smbclient or tar. For smbclient the exlclude file list is passed into +smbclient or tar. For smbclient the exclude file list is passed into the X option. Simple shell wild-cards using "*" or "?" are allowed. For tar, if the exclude file contains a "/" it is assumed to be anchored @@ -3424,6 +3424,11 @@ the directory name: a trailing "/" causes the name to not match and the directory will not be excluded. +For rsync or rsyncd, omit the share name in the exlusion pattern. +When backing up "/home", for example, the exclusion +"/home/steve/.mozilla" will not match, but "steve/.mozilla" will +match. + Users report that for smbclient you should specify a directory followed by "/*", eg: "/proc/*", instead of just "/proc". Only in BackupPC-3.2.1/doc: BackupPC.pod~ ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
signature.asc
(application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOrLad0i2bPSHbMcURApRBAKCQsMEMPRGTHJd0RlsMHMST5NIpGgCgpgXa asI8TxoIL3IN744PvobH2cM= =F6lx -----END PGP SIGNATURE-----