Koozali.org: home of the SME Server

moving Ibays from sme 6 to sme 7 ?

Offline kiig

  • *
  • 19
  • +0/-0
    • http://igel.it
moving Ibays from sme 6 to sme 7 ?
« on: October 21, 2006, 12:00:23 PM »
Hi all. I've installed SME 7 on a fairly big no-longer-in-use server at work :-) and I was thinking off trying to 'move' my services by just copying the content of an ibay, - and dumping and restoring the mysql DB.... that is : a simple site, - with only 3 or tables on a database of it's own, - then I'll :
create a new ibay on the new box, - and copy all files from the old one (retaining naming and structure).
Dump the old database (just this database) and then create en empty database on the new box and run the dumped sql file.

Am I missing something or should this simple task work ?
No need for imagemagick, - no need to move users or email or anything, - just a couple of simple sites.

(I have the pluspackage on the old sme 6.01 box, - so this is simpler than trying to make the upgrade work, - have tried, - did _not_ work just like that :-) )

And basically, - I don't want to keep anything 'custom' (templates and such), - and if I can live with the fact that I'll loose my old emails, - I could probably move all my ibays like this ? and just create the users again ?

Kim.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: moving Ibays from sme 6 to sme 7 ?
« Reply #1 on: October 24, 2006, 04:10:13 AM »
kiig

> Am I missing something or should this simple task work ?

That should work OK, think of it as a partial backup and restore.


> and if I can live with the fact that I'll loose my old emails

You can transfer all your emails manually too if you wish, I just did that from 6 to 7. The easiest way (IMO) is to connect the old and new servers to the network and use scp (ssh) to copy users email messages from the old server folders to the new (just the messages), then run
chown user:user *
or even
chown -R user:user Maildir

Manually create the users first of course.
...

Offline kiig

  • *
  • 19
  • +0/-0
    • http://igel.it
moving Ibays from sme 6 to sme 7 ?
« Reply #2 on: October 24, 2006, 08:31:33 AM »
thanx Ray, - I'll figure how to create a tar file with access rights and all that preserved and then I'll have a go at it. I have tried with a small 'site' and that worked flawless :-)

I'm kinda exited to see how the SME will run on a Dell Poweredge 4600 2x2.2 Ghz.Xeon, 2 gb. ram, - 15K rpm SCSI discs in Raid 5... :-)