SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Re: excluding files via include list
Author Message
Post Re: excluding files via include list 
Troels Arvin wrote:
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.

yeah I agree - its confusing. include globbing filelist will solve the
guys problem tho no?

dave

Post 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


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB