SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
excluding files via include list
Author Message
Post excluding files via include list 
Hello,

I am using rdiff-backup 0.12.7 with this include list is:
----
/home/
/home/user/
/home/user/**
/etc/
/etc/**
- *
----

and trying to back from remote system to local one:
$ ls
hostname/
$ rdiff-backup --include-filelist includelist root < at > hostname::/ hostname

But all dirs /bin /boot .. are getting backed up too. i dont want that!
and i guess the last entry in my include list "- *" should help me do
that.

What am i missing or doing wrong?

Thanks
abhi

PS: I am not subscribed to this list. please Cc: me the reply. Thanks.

Post excluding files via include list 
On Sun, 31 Oct 2004 15:07:20 +0530, abhi wrote:

I am using rdiff-backup 0.12.7 with this include list is:
----
/home/
/home/user/
/home/user/**
/etc/
/etc/**
- *
----

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

(The trailing \ on the first line of the command means that the command
goes on on the next line.)

--
Greetings from Troels Arvin, Copenhagen, Denmark

Post excluding files via include list 
this can help you :
http://rdiff-backup.solutionsfirst.com.au/index.php/BackupSomeDirectoriesOnly


Philippe.


On Sun, 31 Oct 2004 15:07:20 +0530, abhi <slashdev < at > gmail.com> wrote:
Hello,

I am using rdiff-backup 0.12.7 with this include list is:
----
/home/
/home/user/
/home/user/**
/etc/
/etc/**
- *
----

and trying to back from remote system to local one:
$ ls
hostname/
$ rdiff-backup --include-filelist includelist root < at > hostname::/ hostname

But all dirs /bin /boot .. are getting backed up too. i dont want that!
and i guess the last entry in my include list "- *" should help me do
that.

What am i missing or doing wrong?

Thanks
abhi

PS: I am not subscribed to this list. please Cc: me the reply. Thanks.

_______________________________________________
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


Post excluding files via include list 
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

Post excluding files via include list 
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:
...
- 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/
--
...
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 /"

ok, using --include-globbing-filelist with this include list:
--
/home/username/
/etc/
--

Works for me Smile But I am not why? can somebody please explain.

Thanks
abhi


any other way?

abhi


Post excluding files via include list 
On Sun, 31 Oct 2004 22:11:50 +0530, abhi <slashdev < at > gmail.com> wrote:
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:
...


- 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/
--
...
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 /"

ok, using --include-globbing-filelist with this include list:
--
/home/username/
/etc/
--

Works for me Smile But I am not why? can somebody please explain.

Sorry for not RTFM.
I understand the difference between "globbing-filelist" and "-filelist".
and I should have used "globbing-filelist" in the first place.

Thanks and sorry for the noise.
abhit



Thanks
abhi


any other way?

abhi



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