Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: sc300t on August 07, 2007, 11:37:01 PM

Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 07, 2007, 11:37:01 PM
Hi,

I have a SME 6.0.1 with approximately 100 users and 15 domains. I would like to migrate the users and the domains to a new server which has SME 7.2. Upgrading the 6.0.1 to 7.1 is not an option for me due to hardware raid. I have tested on the same mirrored server, and it failed severely. So, can a 6.0.1 backup be restored to a fresh 7.2? If not, what are my options? Any help would be appreciated. Thanks.

John
Title: Re: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: raem on August 08, 2007, 04:21:15 AM
Quote from: "sc300t"
can a 6.0.1 backup be restored to a fresh 7.2?


Yes, various ways, but the simplest will probably be the Restore from Disk method

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Upgrading

http://wiki.contribs.org/UpgradeDisk

http://forums.contribs.org/index.php?topic=30745.0
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 08, 2007, 06:09:48 PM
Hi,

Thanks for the reply. Unfortunately, that's exactly my problem. The V6 has Hardware RAID5, so I can not move the drive(s).  Thanks.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: Stefano on August 08, 2007, 06:36:20 PM
Quote from: "sc300t"
Hi,

Thanks for the reply. Unfortunately, that's exactly my problem. The V6 has Hardware RAID5, so I can not move the drive(s).  Thanks.


get an hd big enough to contain

/root
/etc
/home

then

- format your new hd in ext2/3
- mount it for example in /mnt/tmphd
- copy, with your favourite method (cp, tar, rsync ecc) /root, /etc and /home

NOTE: remember to copy files ownership and permission (es, cp -a)

then you can use your hd to restore datas following the  restore from disk method

HTH

Ciao

Stefano
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 08, 2007, 06:43:46 PM
Thanks for the reply.

THe new server is going to be DELL 2650 with V7.2 with linux software raid 5 (5 drives). The old server is V6 with hardware raid 5 (5 drives). I'm not sure how can I add the drive in either server.

Can anyone tell me why backup from 6.0 can not be restored in 7.2? Thanks.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: Stefano on August 08, 2007, 06:48:01 PM
Quote from: "sc300t"
Thanks for the reply.

THe new server is going to be DELL 2650 with V7.2 with linux software raid 5 (5 drives). The old server is V6 with hardware raid 5 (5 drives). I'm not sure how can I add the drive in either server.

Can anyone tell me why backup from 6.0 can not be restored in 7.2? Thanks.


you can use a usbdisk

HTH

Ciao

Stefano
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 08, 2007, 06:51:38 PM
nenonano,

Thank you for being patient with me. Sorry, noob here.  
1. Will either server recognize the USB drive. If not, how?
2. Do I need to boot from the usb drive later on in the restore process? Can you tell me step by step?

Thanks again.

John
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: Stefano on August 08, 2007, 07:00:04 PM
Quote from: "sc300t"
nenonano,

Thank you for being patient with me. Sorry, noob here.  
1. Will either server recognize the USB drive. If not, how?
2. Do I need to boot from the usb drive later on in the restore process? Can you tell me step by step?

Thanks again.

John


Hi

well, afair, sme 6 should recognize usb disk..

on a console, do
Code: [Select]

tail -f /var/log/messages


and connect your external disk.. you should see that sme recognizes new hw and tell you disk name (sda, for example)

then you can proceed as I told you..

On sme 7.2, boot normally, then plug in your usbdisk and follow the disk copy method

Ciao

Stefano
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: pfloor on August 08, 2007, 07:10:58 PM
John, how much data does the 6.0 server contain?
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 08, 2007, 07:25:52 PM
pfloor,

The data size is 6gb. Most of the users are pop. Thanks.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: pfloor on August 08, 2007, 07:54:36 PM
Have you tried a "Backup to desktop"?  6gb may compress down to less than 4gb and if so, should be successful.  7.2 does not have the 2gb restore limit anymore and you should be able to "Restore from desktop" even with a tar file larger than 2gb.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: m on August 08, 2007, 08:19:55 PM
John,
in the HowTo http://wiki.contribs.org/Moving_SME_to_new_Hardware I have described a method I have used many times. It is fast, reliable and you have  only a short down time of your production server. Although I haven't had a chance to test it with SME 7.2 I am pretty sure that it will work. Please see the last chapter for SME6 restrictions.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: sc300t on August 08, 2007, 09:21:11 PM
pfloor,

Yes the data is small (6gb), so it will work with the backup to desktop. Based on your last post, I assumed the 6.0 Backup to Desktop tar file CAN be restored to a fresh 7.2.

mweinber,

I will try your method if the backup to desktop is not working.

Thanks.

John
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: Jáder on August 08, 2007, 10:44:30 PM
I´ve done this last week.
Moved from SME 6.01-01 on P3 to SME7.1.3 on Dell PE1900!

What I did:
1) Installed 7.1 on PE1900
2) Used LAT (lazy admin tools) to backup configs (lat -dump) and restore on new server.
3) started Rsync daemon on old SME6 server
4) rsync from old SME6 to new SME7.1 on business time
5) tested everything
6) after hours I redid the rsync (very quick!) to get updated status
7) yum update on new SME 7.1 to go to SME 7.2
8) copy netlogon.bat from old to new server (domain controler!)
9) adjust configs (who´s domain controller, IP address, ...)
10) just to be sure, reboot and test everything again ;)

Users just noted the new look of webmail and they have to create a new password... everything else was fine!
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: raem on August 11, 2007, 09:27:54 AM
Paul
Quote
7.2 does not have the 2gb restore limit anymore


I didn't see mention of that anywhere. Was the reason for the limitation discovered and was something fixed ie what ?
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: pfloor on August 13, 2007, 06:19:38 PM
Quote from: "RayMitchell"
Paul
Quote
7.2 does not have the 2gb restore limit anymore


I didn't see mention of that anywhere. Was the reason for the limitation discovered and was something fixed ie what ?
Ray, you are so correct.  I was mixing up the "restore from usb disk" option during install with "restore from desktop".  Restore fom desktop still has this limit but you can take a >2GB tar file and restore from a usb disk.

I must quite trying to work and answer forum posts at the same time :-)
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: raem on August 13, 2007, 06:27:55 PM
paul
Quote
Restore fom desktop still has this limit but you can take a >2GB tar file and restore from a usb disk.


Thanks. No worries.
Title: Is it possible: 6.0.1 Backup -> Restore to 7.2
Post by: slords on August 13, 2007, 10:22:18 PM
Quote from: "pfloor"
Have you tried a "Backup to desktop"?  6gb may compress down to less than 4gb and if so, should be successful.  7.2 does not have the 2gb restore limit anymore and you should be able to "Restore from desktop" even with a tar file larger than 2gb.


It still has the restore limit.  It doesn't have the backup limit anymore.

I've done a 52Gb backup to desktop.  Put the backup file on a ext3 formatted usb device and restored just fine to a new 7.2 install.