using rdiff-backup to *not* backup all of / ....

Sun, 8 Sep 2002 09:25:21 -0700

On Sun, Sep 08, 2002 at 11:36:48AM -0400, Adam Lazur wrote:
> Alan ( said:
> > Playing around with something like:  
> > rdiff-backup --include-filelist /root/backups/includes.txt \
> > --exclude \*\* / root@mybackup::/backups
> Try:
> rdiff-backup --include /root --exclude / / root@mybackup::/backups
> I don't use the -filelist versions of include/exclude because they don't
> allow globbing, among other things. See the "FILE SELECTION" portion of
> the manpage for the differences.


When I run with the command line you specify, it works perfectly, but
when I substitute --include for --include-filelist /foo/bar only the
directories in the filelist are backed up!  When I swap from the
--include-filelist back to --include /root --include /usr/local/sbin
etc, it backs up the contents of the directories :\

The includes.txt file I have contains:


Is there anything wrong with this format?  Do I need a /* at the end or
a prepended + or something?


Alan "Arcterex" <>   -=][=-
"I used to herd dairy cows. Now I herd lusers. Apart from the isolation, I
think I preferred the cows. They were better conversation, easier to milk, and
if they annoyed me enough, I could shoot them and eat them." -Rodger Donaldson