Koozali.org: home of the SME Server

Moving servers & SATA drives

Offline Ted

  • ***
  • 56
  • +0/-0
    • http://www.shadowsfall.org
Moving servers & SATA drives
« on: June 17, 2005, 08:44:26 AM »
My old SME 6.0 install is going to be replaced with a new box.  Dell had a sale and I had the ability to swing for one of their PowerEdge SC420 boxes.  This is only a home server, it handles my wifes POP mail account, my IMAP account, is the web server for both of our domains, runs SpamAssassan, CLAM Antivirus and acts as a backup repository (aka file server) for both of us.  Firewalling is handled by a Linksys router (a BEFSX41).  It is sort of a JOAT "Jack of all Trades".  It does not work all that hard but what it does it does well.  The old server will probably be kept around and used as a test server.

Moving the webpages and stored files should not be much of a chore nor do I forsee much problem moving the POP mail account over.  What I am not sure I know how to do is to transfer my IMAP mail from one server to another?

How do I go about this?  

Next question.  The new server is, at this time, running 6.5rc1 because I was hoping it would "SEE" the SATA drive that came in the SC420.  It did not.  Anyone know how or what to do to enable the use of SATA drives?  At this time it is running on an old ATA drive I had sitting around.

Thanks for your time and help.

Ted

Molon Labe
...

Offline raem

  • *
  • 3,972
  • +4/-0
Moving servers & SATA drives
« Reply #1 on: June 17, 2005, 03:21:12 PM »
Use Backup to desktop on old server and Restore from desktop on new server. All data & config will be transferred. Note that your backup file size must be less than 2Gb for this to be successful (depends on how much data you have).
Otherwsise use the Backup to workstation contrib (backup2ws) and specify a size limit of less than 2Gb, the backup file will be split into parts automatically.
Search on backup and backup2ws for more details.
Check this one
http://forums.contribs.org/index.php?topic=27097.msg111256#msg111256


Re 6.5RC1 & SATA, it only supports compatibility mode, search on SATA for more info, I think there was a good post in the Suggestions Forum recently.
Running in this mode you may have upgrade problems later though.
Try
http://forums.contribs.org/index.php?action=search2&search=SATA
and
http://forums.contribs.org/index.php?topic=27097.msg111256#msg111256
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Moving servers & SATA drives
« Reply #2 on: June 18, 2005, 03:10:14 PM »
Quote from: "RayMitchell"
Use Backup to desktop on old server and Restore from


I have a few contribs installed.

Can I backup the server as it is now, restore to a standard smeserver (same version), then add the contribs or should I restore to a smeserver with the contribs already on it?

What information is backedup/restored? IMAP mail? iBays? User accounts? Passwords?

Something simpler than http://no.longer.valid/phpwiki/index.php/AdministrationFAQ#backup


William.
Regards,
William

IF I give advise.. It's only if it was me....

DarkMirage

Moving servers & SATA drives
« Reply #3 on: June 18, 2005, 04:37:39 PM »
Quote from: "william_syd"
Something simpler

Let me try to translate that list
(Anyone feel free to correct or add anything):
/home/e-smith
The location of ibays, home directories, configuration databases and dumped data from storage daemons (eg mysql, ldap).
Dumps are processed when backing up.

/etc/e-smith/templates-custom
Tweaked system configuration files

/etc/e-smith/templates-user-custom
Tweaked user configuration files

/etc/ssh
Uncertain what this contains, common sense suggests the secure shell configuration files.

/root/.ssh
Again uncertain, although, as this is user-specific (this goes for user root), I would think the trusted hosts for ssh connections.

The following are all about users, groups and passwords to go with those.
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/etc/smbpasswd

Mail is stored in users home directories (all user mail), so that's included.

Hope this helps

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Moving servers & SATA drives
« Reply #4 on: June 19, 2005, 03:42:37 AM »
Excellent.. Thank You.

I'll have to drag an old box from the garage and try it with user-contribs and without.

It's currently a single drive non-raid. Will a backup from this restore to a new raid 1 config?


William.
Regards,
William

IF I give advise.. It's only if it was me....

Offline raem

  • *
  • 3,972
  • +4/-0
Moving servers & SATA drives
« Reply #5 on: June 19, 2005, 08:26:48 AM »
william_syd

Std procedure is

Install OS either as single drive or software RAID1
Install any official updates

Run restore from desktop
or install backup2ws and run restore from 911 backup job.

Install any other contribs that were installed on original server.

Note you need to backup all the folders listed below in order to recreat your server.

http://no.longer.valid/phpwiki/index.php/AdministrationFAQ#backup
...