Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: william_syd on January 25, 2005, 04:46:59 PM
-
How would I transfer mail from 6.0.1 to 6.5beta ?
William.
-
How would I transfer mail from 6.0.1 to 6.5beta ?
William.
Well, if you do a standard upgrade none of your user files will be effected.
If you are wanting to setup an entirely new box and transfer the data files from one to the other, then you are going need to get a little creative. I did this some time back as follows:
- On the new box, create user accounts identical to those on the old box.
- On the old box, tarball all user home dirs located in /home/e-smith/files/users. You can create a single tarball if you want (i.e., one for each user), or create one big containing all user dirs.
- Transfer the user dir tarball to the new box using ftp, ssh, etc.
- Delete all user dirs on the new box.
- Untar the user dir tarball in /home/e-smith/files/users.
- Check ownership of all user dirs. You should be OK, but it never hurts to check. Don't ditch anything on the old box until the new box is up and running. :)
I think you could also use rsync to accomplish the above, but IMO it would require more work.
Greg
-
Thank you for that.
Yes, it will be a new hard drive in the same box.
I have some extra contribs installed to they may break the direct upgrade option.
William.
ps. How are users passwords affected ?
-
Well, the passwords are another issue. I'd highly recommend that you uninstall the contribs and run your upgrade. You should be able to ghost the old data to the new drive so that your old sys is on the new drive.
Moving the authentication dbases for SME is prone to mistake. If you want to give it a shot, fire me an email and I'll tell you how I'd do it.
Greg