Le 24/08/2010 17:04, Richard Shaw a écrit : > On Mon, Aug 23, 2010 at 12:31 PM, Xuo <[email protected]> wrote: >> Hi, >> >> My RsyncShareName is /home. >> I would like to be able to backup everything under /home/* but NOT to >> backup all hidden files (.xxx files) of /home/* EXCEPT (for ex) .tcshrc, >> .ssh, .filezilla and .thunderbird files or dirs. >> >> I have excluded some .xxx files (with BackupFilesExclude) but it is >> painful and some new .xxx files can be added anytime. The best should be >> to exclude all except some of them. >> >> How can I do this ? > I wish I could give you some specific advice but I haven't tried this > so I'll have to speak in generalities. > > I'm pretty sure excludes are applied prior to includes so I would > approach it like this: > - Use a single exclude for all ".xxx" files. The excludes work > differently depending on the backup method so I would play with this > until I get it working. I don't even understand them completely. > - Then include the specific directories you want to backup. > > Just be careful how you craft your excludes. If you use a glob (i.e. > *) on the front of your exclude then I think it will apply to every > directory, not just /home. Also, I don't think it will differentiate > between hidden directories or hidden files. Hi,
Thank you for your answer. For the moment, I am working on something else and I prefer not to modify too much my configuration (I'm not yet a backuppc expert). I'll do what you proposed on next week-end and I'll tell you the result. Regards. Xuo. > Richard > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > BackupPC-users mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
