SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Exclude question
Author Message
Post Exclude question 
Hi,

setting up rdiff-backup for the first time now, using 0.12.7 and 0.12.3
on Debian and FreeBSD servers.

Quick question on exclude. I want to backup /jail which has several
subdirs each with a proc/ directory, can I make a general exclude for
all the proc dirs or do I have to specify each one?

Regards
Olav Langeland

Post Exclude question 
On Wed, 5 Jan 2005 14:53:51 +0100
"Olav Langeland" <olav.langeland < at > active24.com> wrote:

Quick question on exclude. I want to backup /jail which has several
subdirs each with a proc/ directory, can I make a general exclude for
all the proc dirs or do I have to specify each one?

You can make up a general one - see the explanation of the string "**"
under "File Selection" in the man page.

Keith

Post Exclude question 
On Wed, 5 Jan 2005, Olav Langeland wrote:

Quick question on exclude. I want to backup /jail which has several
subdirs each with a proc/ directory, can I make a general exclude for
all the proc dirs or do I have to specify each one?

you probably want --exclude '/jail/*/proc' ... must be quoted so it isn't
expanded by the shell.

there's also --exclude-other-filesystems, which might just do it for you
depending on your layout.

-dean

Post Exclude question 
-----Original Message-----
From: dean gaudet [mailto:dean-list-rdiff-backup < at > arctic.org]
Sent: 5. januar 2005 23:11
To: Olav Langeland
Cc: rdiff-backup-users < at > nongnu.org
Subject: Re: [rdiff-backup-users] Exclude question

On Wed, 5 Jan 2005, Olav Langeland wrote:

Quick question on exclude. I want to backup /jail which has several
subdirs each with a proc/ directory, can I make a general
exclude for
all the proc dirs or do I have to specify each one?

you probably want --exclude '/jail/*/proc' ... must be quoted
so it isn't
expanded by the shell.

there's also --exclude-other-filesystems, which might just do
it for you
depending on your layout.

-dean

Hi,

thanks for your reply, was helpful. I have also emailed a bit with Keith
Edmunds off-list which gave me some hints as well.

Regards
Olav Langeland

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