Koozali.org: home of the SME Server

Update from SME 7.5.1 on machine A to SME 8.0 machine B

Offline turandot

  • *
  • 82
  • +0/-0
Update from SME 7.5.1 on machine A to SME 8.0 machine B
« on: January 19, 2012, 08:18:15 PM »
Hi all,

I am currently using a Via C3 machine for running my SME 7.5.1 in server only mode, e.g. Windows domain controller. Upgrading to SME on the existing hardware is not possible, see http://wiki.contribs.org/SME_Server_8#Major_Changes . Since Win 7 machines need to join the domain, I need to upgrade to 8.0. Therefore I have bought new hardware based on an Intel Atom mainboard. Now I have the task to move the existing 7.5.1 installation to the new hardware.

I am using rsync on a separate Linux server to regularly backup SME 7.5.1, the ideas are described here http://www.howtomonster.com/2007/08/08/how-to-sync-data-between-2-servers-automatically/ All relevant paths are backuped including relevant Samba files. I have also used this method to restore my SME 7.x in the past, so I could do the same here by first setting up 7.5.1 on the new hardware followed by an upgrade to 8.0.

My question now is: can I omit the intermediate 7.5.1 installation? Is it possible to directly replicate back 7.5.1 data and especially Samba configuration files into SME 8.0?

Thanks a lot in advance,

turandot

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #1 on: January 19, 2012, 09:00:16 PM »
your question is "how can I migrate from server A with SME7.5.1 to server B with SME8"
your answer is Affa

Offline turandot

  • *
  • 82
  • +0/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #2 on: January 19, 2012, 11:01:01 PM »
Stefano,

thank you for pointing me to Affa. Reading specifically this HowTo http://wiki.contribs.org/Moving_SME_to_new_Hardware assumes that both SME servers are based on SME 7, and even identical patch level (usage of yum update).

Does this mean that a direct move from SME 7.5.1 on machine A to SME 8.0 on machine B is not possible or at least not advisable? In other words: do I need to first move SME 7.5.1 from machine A to SME 7.5.1 on machine B, followed by an upgrade of machine B from SME 7.5.1 to SME 8.0?

Thanks a lot,

turandot

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #3 on: January 20, 2012, 12:03:07 AM »
turandot

Quote
I am using rsync on a separate Linux server to regularly backup SME 7.5.1, the ideas are described here http://www.howtomonster.com/2007/08/08/how-to-sync-data-between-2-servers-automatically/ All relevant paths are backuped including relevant Samba files.

Does that method correctly backup the mysql databases ?
The built in SME backup routines dump all the mysql dbs to a file that is included in the standard backup.


Quote
Is it possible to directly replicate back 7.5.1 data and especially Samba configuration files into SME 8.0?

You can reliably use one of the built in SME backup to USB routines.
Using the admin console do a immediate backup to an attached USB drive (formatted ext3).
Then during the SME8b7 install procedure you will be asked to do a one off restore from USB, connect the USB drive and select that option.
Then as with all supported SME backup/restore procedures (including Affa), reinstall any contribs, making sure they are compatible with SME8.x

You should really review any contribs you have installed on SME7.5.1 to ensure they are compatible with SME8b7 BEFORE you perform the upgrade (see the wiki).
If there is a contrib that is vital to you, you may want to hold off from doing the upgrade until a compatible contrib is released, otherwise uninstall the contrib before doing the backup, and do not reinstall that contrib on SME8b7.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #4 on: January 20, 2012, 03:15:09 PM »
I wrote a script that I use when moving SME to new hardware:

http://bugs.contribs.org/show_bug.cgi?id=5701


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #5 on: January 20, 2012, 03:19:04 PM »
Does this mean that a direct move from SME 7.5.1 on machine A to SME 8.0 on machine B is not possible or at least not advisable? In other words: do I need to first move SME 7.5.1 from machine A to SME 7.5.1 on machine B, followed by an upgrade of machine B from SME 7.5.1 to SME 8.0?

as long as you are using contribs supported by SME8.b7, there's no problem to move from 7 to 8; I've done several times without any problem

Offline turandot

  • *
  • 82
  • +0/-0
Re: Update from SME 7.5.1 on machine A to SME 8.0 machine B
« Reply #6 on: January 20, 2012, 10:50:38 PM »
@mmccarn: your script is very similar to what I am currently using together with rsync to regularly backup my SME server.

@Stefano: thanks a lot, that's what I was after. I will probably use Affa to transfer the installation.

turandot