
Re: excluding files via include list
try this :
--
# file rdiff_backup_includes.txt
/home/username
/etc
--
and use it with :
rdiff-backup --include-globbing-filelist rdiff_backup_includes.txt
--exclude / / $TARGET::/backup
it works for me.
On Sun, 31 Oct 2004 21:40:07 +0530, abhi <slashdev < at > gmail.com> wrote:
On Sun, 31 Oct 2004 11:39:20 +0100, Troels Arvin <troels < at > arvin.dk> wrote:
[snip]
I know that the documentation talks about minuses in include lists, but I
suggest that you stay away from them: I feel that they mix up the
definition of an include list.
I suggest an include list like:
/home/
/etc/
- and then an rdiff-backup command that goes like:
rdiff-backup --include-filelist includelist --exclude / \
root < at > hostname::/ hostname
that does not work (for me). i only get /home and /etc
"directory" archived. not the contents :)
my include list looks:
--
/home/username/
/etc/
--
then also tried:
--
/home/username/**
/etc/**
--
and
--
/home/
/home/username/
/home/username/**
/etc/
/etc/**
--
all dont work. jsut the directory gets archived!
i used the same command line you specified i.e. specify
the include list and using "--exclude /"
any other way?
abhi
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL:
http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki