Hi Andrew,

Thanks the quick response.

On Wed, May 03, 2006 at 12:59:50AM -0400, Andrew Ferguson wrote:
> 
> I think what you want to do is as simple as switching the order of
> --exclude-filelist and --include-filelist. So,
> 
> rdiff-backup  --verbosity 5 \
>               --print-statistics \
>               --include-filelist /backup/include/$i \
>               --exclude-filelist /backup/exclude/$i \
>               [EMAIL PROTECTED]::/ /backup/lun/$i
> 
> the --include option has higher precedence since it comes first on the
> command-line. In the manpage
> (http://www.nongnu.org/rdiff-backup/rdiff-backup.1.html) there is the
> example (File Selection section):
> 
> rdiff-backup --include /usr/local/bin --exclude /usr/local /usr /backup
> 
> would backup the /usr/local/bin directory (and its contents), but not
> /usr/local/doc.
> 

Actually this is what i tried in the the first place.
If you take the example from my post to Roland:

rdiff-backup --include-filelist include.txt --exclude-filelist
exclude.txt [EMAIL PROTECTED]::/ /backup/lun/my.webserver.com

include.txt
/data

exclude.txt
/


rdiff-backup _will_ create a /backup/lun/my.webserver.com/data
directory. But the directory created is completely empty, so it seems
like no files are backed-up at all.


Best regards,

-- 

---
Peter Bosgraaf  //  CTO             //  WIAF
PB2003-RIPE     //  T: 06-27070596  //  F: 0515-569587

PGP KeyID: 0x03B8A390 (hkp://pgp.mit.edu)
Fingerprint: 5EAE B983 453A B640 F7BA  74C7 B6FA 854D 03B8 A390

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.

Attachment: pgp4f64ckxdYg.pgp
Description: PGP signature

_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to