SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Omitting directories from backup
Author Message
Post Omitting directories from backup 
Hi, guys.

I'm doing a fairly standard backup of home directories on a linux
system. My users store their email in Maildirs (one directory per
folder) and each has a Spam folder which holds the spam delivered by the
mail server. I'm using a lot of backup space backing up spam, and I'd
like to avoid that.

As an example, the directory structure looks like:

/home
/home/bob
/home/bob/Maildir
/home/bob/Maildir/Spam
/home/bob/Maildir/Spam/cur (this is where the files really are)
/home/jeff
/home/jeff/Maildir/Spam
/home/jeff/Maildir/Spam/cur (ditto)

What I am doing now is backing up /home which backs up everything, of
course. I'd like to backup /home but omit /home/*/Maildir/Spam and all
folders under, so skip:

/home/*/Maildir/Spam and
/home/*/Maildir/Spam/*

Is this possible in bacula? I saw some stuff for omitting directories or
files, but it wasn't clear if I could set it up like this.

Thanks
Jeff

Post Omitting directories from backup 
* Jeff T schrieb am 13.03.07 um 15:35 Uhr:
Hi, guys.

I'm doing a fairly standard backup of home directories on a linux
system. My users store their email in Maildirs (one directory per
folder) and each has a Spam folder which holds the spam delivered by the
mail server. I'm using a lot of backup space backing up spam, and I'd
like to avoid that.

As an example, the directory structure looks like:

/home
/home/bob
/home/bob/Maildir
/home/bob/Maildir/Spam
/home/bob/Maildir/Spam/cur (this is where the files really are)
/home/jeff
/home/jeff/Maildir/Spam
/home/jeff/Maildir/Spam/cur (ditto)

What I am doing now is backing up /home which backs up everything, of
course. I'd like to backup /home but omit /home/*/Maildir/Spam and all
folders under, so skip:

/home/*/Maildir/Spam and
/home/*/Maildir/Spam/*

Is this possible in bacula? I saw some stuff for omitting directories or
files, but it wasn't clear if I could set it up like this.

Jeff,

have a look at the "exclude = " option.

-Marc
--
8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134

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