[BlueOnyx:02008] Re: Partial CMU migrate from BQ to BO?

Chuck Tetlow chuck at tetlow.net
Mon Aug 10 20:14:43 -05 2009


Sure, did it many times as we shuffled sites among servers.  Just cmuExport the ones you want off the old box and cmuImport to the new. 

You MAY run into problems with conflicting usernames as you import.  Just hit (C) to change the name.  If you had a "john" on both the old and the new, rename the user to "john2" as he imports to the new server.  Its a bit of a PIA for the user, he has to change his e-mail client for a different login.  But he can always keep "john" as an alias and so the same e-mail address in his domain.

If you have some sites you're moving, but not everything off of the old server - use a script to automate it.  Go into /home/cmu and put in a list of sites you'll migrate with "ls -1 /home/sites/ > sites.txt".  Edit that list to include just the ones you'll migrate.  Then use "for site in `cat sites.txt`; do cmuExport -n $site; done".  When it completes - it will have performed a cmuExport for each of the sites in that list "sites.txt".  Tar them up, copy to the new server with scp, untar, and install with cmuImport.  Easy!

But don't forget your MySQL databases if any of those moved sites use MySQL.  That's a bit more work.  And can raise some problems if there are specific MySQL users with permissions to some of the databases but not others.  Too much to describe here, shoot a message if you need more description of that.

Chuck

---------- Original Message -----------
From: Paul <paul at planetcentral.net> 
To: BlueOnyx General Mailing List <blueonyx at blueonyx.it> 
Sent: Tue, 11 Aug 2009 00:34:51 +0100 
Subject: [BlueOnyx:02003]  Partial CMU migrate from BQ to BO?

> Just wondered if it was possible to do a site by site or partial 
> migration from a BQ to a BO box? I have a couple of sites on a BQ box i 
> would like to move to an existing BO box.....i can retire the old box 
> then... 
> 
> If it's possible, has anyone tried it, and any advice? 
> 
> Thanks 
> Paul 
> _______________________________________________ 
> Blueonyx mailing list 
> Blueonyx at blueonyx.it 
> http://www.blueonyx.it/mailman/listinfo/blueonyx 
------- End of Original Message -------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090810/b95aca7a/attachment.html>


More information about the Blueonyx mailing list