Re: mail backup

2001-02-01 Thread Dave Sill

"Kris Kelley" [EMAIL PROTECTED] wrote:

Incoming messages are first stored in ~/Maildir/tmp.  They are only moved to
~/Maildir/new once the file write is complete.  Therefore, as long as you
are only backing up ~/Maildir/cur and ~/Maildir/new, you shouldn't have any
risk of incomplete file back-ups.

No need to skip Maildir/tmp...if you back up a partially delivered
file and later restore the maildir, the message fragment will sit in
tmp until something deletes it--it won't be moved to new.

 Does Amanda works fine?

Not familiar with this program, but any file copier should do, even plain
old "cp -r".

Amanda (www.amanda.org) is a network backup system that uses dump or
GNU tar. It works quite well.

-Dave



Re: mail backup

2001-01-31 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I am wondering that how to backup mail directory. I am having trouble with
how to do it. Please give me some idea what you are doing.

Which mail directory are you referring to? /var/qmail?
/var/spool/mail? ~user/Maildir? And what kind of trouble are you
having?

I use dump and GNU tar via Amanda to backup all of my mail directories 
and haven't had any trouble. Of course, restoring the queue is a
little tricky since some of the files must be named after their inode
number.

-Dave



RE: mail backup

2001-01-31 Thread Takayuki Murai

Hello,

 Which mail directory are you referring to? /var/qmail?
 /var/spool/mail? ~user/Maildir? And what kind of trouble are you
 having?
I am referring to ~user/Maildir. 
Some of the user use POP, and the other use IMAP. And, I assume that incoming mails 
store into ~/Maildir/new. My question is:
if there are new coming mail storing into ~/Maildir/new while backup job is working,
what problem is going to happen. If there is no problem, it means that those new 
coming mail is not backed up? Or, if there is some error, what are they? 

Does Amanda works fine?

Thank you 
taka

Takayuki Murai -村井 隆之-
[EMAIL PROTECTED]




Re: mail backup

2001-01-31 Thread Kris Kelley

Takayuki Murai wrote:

 I am referring to ~user/Maildir.
 Some of the user use POP, and the other use IMAP. And, I assume that
incoming mails store
 into ~/Maildir/new. My question is:
 if there are new coming mail storing into ~/Maildir/new while backup job
is working,
 what problem is going to happen.

Incoming messages are first stored in ~/Maildir/tmp.  They are only moved to
~/Maildir/new once the file write is complete.  Therefore, as long as you
are only backing up ~/Maildir/cur and ~/Maildir/new, you shouldn't have any
risk of incomplete file back-ups.

 Does Amanda works fine?

Not familiar with this program, but any file copier should do, even plain
old "cp -r".

---Kris Kelley