[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Graceful way to move user's mail from one host to another?



> How about:
> 
>  * stop your smtpd (exim/postfix whatever) so you are not accepting any
> new mail
>  * stop your popd/imapd so users cannot mess with their mail
>  * move the mail
>  * start smtpd/popd/imapd as appropriate
>  * flush backup relays if you use them

You can shorten the move time by doing a pre-copy while the
system is active- something like ...

  newhost# rsync -av --delete oldhost:/dir/. /dir/.

...and then just transferring deltas with the
daemons down... (same command as above).  So during the key
downtime there's no time wasted transferring files that have 
not changed.




Reply to: