Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-04 Thread Jose Celestino
Words by Giuliano Gavazzi [Thu, Feb 05, 2009 at 12:51:28AM +0100]: > > On T 5 Feb, 2009, at 00:13 , Timo Sirainen wrote: > >> For Maildir message files incomplete messages aren't just unlikely, >> they're never possible. > > I was implying Maildir of course. I am not familiar with the > specifica

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-04 Thread Giuliano Gavazzi
On T 5 Feb, 2009, at 00:13 , Timo Sirainen wrote: For Maildir message files incomplete messages aren't just unlikely, they're never possible. I was implying Maildir of course. I am not familiar with the specification though. Does it require files to be written initially in tmp to be moved

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-04 Thread Timo Sirainen
On Thu, 2009-02-05 at 00:05 +0100, Giuliano Gavazzi wrote: > > I can imagine that one could end up in the backup copy with an > > incomplete/corrupt file (but this will be fixed in the next rsync, > > hopefully), but I don't see how rsync could corrupt the original files > > in the mail server. >

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-04 Thread Giuliano Gavazzi
On T 3 Feb, 2009, at 18:40 , Eduardo M KALINOWSKI wrote: Charles Marcus wrote: So you're rsyncing a live mail system with no problems? I do it every day for backups. :-) I've been tempted to start doing this, but I was under the impression it could be risky (cause file corruption)? I

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-03 Thread Eduardo M KALINOWSKI
Charles Marcus wrote: > So you're rsyncing a live mail system with no problems? > I do it every day for backups. :-) > I've been tempted to start doing this, but I was under the impression it > could be risky (cause file corruption)? > I can imagine that one could end up in the backup copy

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-03 Thread Charles Marcus
On 2/3/2009, Jose Celestino (j...@co.sapo.pt) wrote: > I'm rsyncing a live mail system so that I have a smaller downtime when > doing the final rsync (that is always done with the system down, of > course). Have you ever had issues with collisions? Meaning, rsync tries to copy a file that is being

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-03 Thread Jose Celestino
Words by Charles Marcus [Tue, Feb 03, 2009 at 10:08:46AM -0500]: > On 2/2/2009 7:30 PM, Jose Celestino wrote: > >>> I just migrated from dovecot 1.0.rc29 to 1.1.7, from Sparc platform to > >>> Intel, it went very well. > > >> rsync would be simpler. > > > Indeed. We always do a > > > > rsync now

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-03 Thread Charles Marcus
On 2/2/2009 7:30 PM, Jose Celestino wrote: >>> I just migrated from dovecot 1.0.rc29 to 1.1.7, from Sparc platform to >>> Intel, it went very well. >> rsync would be simpler. > Indeed. We always do a > > rsync now > rsync then > rsync just another time > stop everything, rsync final, start every

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-02 Thread Jose Celestino
Words by mouss [Mon, Feb 02, 2009 at 11:07:19PM +0100]: > Peter Lindgren a écrit : > > Hi, > > I just migrated from dovecot 1.0.rc29 to 1.1.7, from Sparc platform to > > Intel, it went very well. > > rsync would be simpler. Indeed. We always do a rsync now rsync then rsync just another time stop

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-02 Thread mouss
Peter Lindgren a écrit : > Hi, > I just migrated from dovecot 1.0.rc29 to 1.1.7, from Sparc platform to > Intel, it went very well. > In the process I merged folders and excluded folders from being copied. > User rights on folders were kept/set. > I thought I'd share my migration script with you fo

Re: [Dovecot] Script: Moving Maildirs between servers

2009-02-01 Thread Peter Lindgren
Peter Lindgren skrev: I thought I'd share my migration script with you folks. If there's an interest to put it on the wiki I can do that, but I'm not sure in what page. Slight bug: The script didn't create a Trash folder. Add the following rows before the echo " done." row in the user folder lo

[Dovecot] Script: Moving Maildirs between servers

2009-01-30 Thread Peter Lindgren
Hi, I just migrated from dovecot 1.0.rc29 to 1.1.7, from Sparc platform to Intel, it went very well. In the process I merged folders and excluded folders from being copied. User rights on folders were kept/set. I thought I'd share my migration script with you folks. If there's an interest to put i