If you are wanting to know how to configure your clients and what tools are available on spack.org please read the SpackSettings page. If you need to migrate your account from the old server (maus) to the new server (ronin) then this is the one for you. - Adam.

---

How to migrate your account from maus.spack.org to ronin.spack.org (see TheFutureOfSpack and PledgeDrive). Please follow these steps, to move your account from the old server (maus.spack.org) to the new one hosted with PdxColo (ronin.spack.org).

The point of no return (or really the point where backing out is more hassle then just finishing is after you've created the ~/.forward file, so if you are going to do that step make sure your have a bit of time to finish the rest. If you need me to help out cause you're broken the best way to get me is at AIM with the user "adamshand".

  1. First make sure you can log in to the new server. Your username and password should be the same as the old one.
    maus# ssh ronin.spack.org 
    
  2. Create the new Maildir directory on maus which will be needed by the new system:
    maus# mkdir -p ~/Maildir/cur 
    maus# mkdir ~/Maildir/tmp
    maus# mkdir ~/Maildir/new
    
  3. Copy your data to the new server only changing the username from adam to whatever. If you end up needing to make a couple runs at it you can safely run this command over and over and it will only copy what's changed. It's important that you do NOT put a trailing / after /home/USERNAME.
    maus# rsync -avuz --delete /home/USERNAME ronin:/home 
    

    Note: The "--delete" option means that rsync will delete anything on ronin that doesn't exist on maus. This is very useful for staging migrations as it means any clean up you do on maus between rsync's gets carried over. However if you have a partial migration and have some unique live data on ronin you should omit it as it probably won't do what you want. Thanks go to Joel for pointing this out after learning the hard way.

  4. Make sure you can connect to the mail server on the new server. Details should be the same, but you should use the hostname imap.spack.org. Send an email to USERNAME@ronin.spack.org and make sure it shows up in your new mailbox.

  5. Once your satisfied that it's working correctly you need to setup a forward on maus so that new mail is going there instead of to maus:
    maus# echo USERNAME@ronin.spack.org >> ~/.forward 
    
  6. Run another rsync to make sure that any mail you have recieved since the last rsync is copied over sucessfully, this should run quite quickly:
    maus# rsync -avuz --delete /home/USERNAME ronin:/home 
    
  7. Copy your inbox to ronin:
    maus# scp /var/mail/USERNAME ronin:/var/mail 
    

Now log into ronin.spack.org and finish up there:

  1. The new IMAP server uses a different format to store the raw mail files (Maildir instead of mbox), because of this you'll need to convert the files to the new format. Run this command on the ronin (NOT maus):
    ronin# mb2md -m -d ~/Maildir/ 
    ronin# mb2md -s ~/mail -R -d ~/Maildir/
    
  2. Now all your mail should show up on the new server. Make sure you can see all of the folders and that all of your mail seems correct. DO NOT delete your ronin:~/Maildir/ folder and start again unless you are willing to loose any new mail that you've recieved since you created the .forward file on maus. Once you've verified that all your mail appears intact on the new server delete your old mail folder you copied over:
    ronin# rm -r ~/mail/ 
    ronin# cat /dev/null > /var/mail/USERNAME
    
  3. Note that there are some minor differences in the way that it's all setup now, especially with regards to mail. Please read the SpackSettings page for details on how to use the new server.


CategorySpack

MausRoninMigration (last edited 2004-03-02 05:58:46 by AdamShand)