Re: [BackupPC-users] Includes and Excludes
2008-06-18 12:53:34
Christoph writes:
> > > Sent include: /[a-z]*
> > > Sent exclude: /*
> > > Sent exclude: *_DELETED
> > > Sent exclude: search.sqlite
>
> Btw: Where does this "exclude: /*" come from? I didn't define it as an
> include/exclude pattern ...
BackupPC adds that. To include just a particular path, rsync
needs rules to include each directory and exclude everything
else at each level. For example, to include just /home/user,
you need:
--include='/home'
--include='/home/user'
--exclude='/*'
--exclude='/home/*'
I agree this translation can become problematic when you want to
include several things with wildcards.
Craig
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|