Koozali.org: home of the SME Server

Contribs.org Forums => Koozali SME Server 11.x Contribs => Topic started by: jameswilson on October 10, 2025, 08:19:02 PM

Title: migrate helper script
Post by: jameswilson on October 10, 2025, 08:19:02 PM
Im looking to test this but never used it before. I have an old (i know) v9 im wanting to move to 11 and test.

But on the wiki it says to install the migrate helper but on which box, the old one or the new one. Then how to i tell it where the old server is located etc?

James
Title: Re: migrate helper script
Post by: bunkobugsy on October 10, 2025, 08:54:56 PM
On the old one, SME9, but you're out of luck, http://viewvc.koozali.org/smecontribs/rpms/smeserver-migratehelper/contribs10/migratehelper.sh is unreachable for the moment.

"You must first create the mount point and mount your external disk already formatted and with sufficient place to receive the archive:
mkdir /mnt/backup
mount /dev/mydisk /mnt/backup"

"Then run the script."

On SME11: "First step will be to simply use the console restore with the obtained smeserver.tgz. We expect you handle the transfer either using a USB disk, or ..."

https://wiki.koozali.org/Migratehelper

"Second use the configuration console to fix any changes needed on network card or IP, domain name...
Third you can use the saved list of rpm to try to install your contribs and other missing things
Fourth, you can start a rsync for the missing bits"
Title: Re: migrate helper script
Post by: jameswilson on October 11, 2025, 05:21:28 PM
Ah I see
I assumed it would copy iy over the lan. So this allows me to backup to an external usb disk.
I suppose it would be easier to just actually do a backup to said usb drive and then restore as a new machine from the installation config?

Thanks

James
Title: Re: migrate helper script
Post by: jameswilson on October 11, 2025, 05:40:24 PM
Is there a way to do do it over the lan, i dont mind the old machine being offline from the start. ie can i backup to ftp or something remotly then restore.
Everything i have now is on proxmox and this particular machine is on bare metal on a microserver. Downside is its 2 hours away and id like to work on this over the weekend and get it back on sme11 for monday.

Many Thanks

James
Title: Re: migrate helper script
Post by: Jean-Philippe Pialasse on October 12, 2025, 05:23:32 PM
migratehelper allow you to create a smeserver.tgz with the bare minimal to restore contribs and config without the heavy load of data.  then when your server is restored simply scp or sshfs your data in the new one. 

you can download the rpm and install it from smecontribs 10 it will install well on your sme9
https://mirror.canada.pialasse.com/releases/10/smecontribs/x86_64/RPMS/smeserver-migratehelper-1.0-11.el7.sme.noarch.rpm