Koozali.org: home of the SME Server

Move user and their IMAP email to a new server

Offline charlien

  • ****
  • 88
  • +0/-0
    • http://www.rn-computing.com
Move user and their IMAP email to a new server
« on: January 31, 2015, 03:36:30 PM »
I'm moving my SME server from a vmware workstation server to one running Hyper-v. I've looked into converting the drive and find it more of a task than I'm up for. This is a server I use for home use and I have everything I want is backed up but my IMAP email accounts. Is there a way I can just copy them from server to server. I'm not a linux expert by any means.

Any comments on SME on Hyper-v would be appreciated too.
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Move user and their IMAP email to a new server
« Reply #1 on: January 31, 2015, 04:37:59 PM »
well.. the simplest way is to backup your vmware SME install via "backup to workstation" and then restore it on the new server..

can you please define what you mean with:
Quote
I have everything I want is backed up but my IMAP email accounts.
?

how do you backup your server?

Offline charlien

  • ****
  • 88
  • +0/-0
    • http://www.rn-computing.com
Re: Move user and their IMAP email to a new server
« Reply #2 on: January 31, 2015, 04:49:28 PM »
I only use it for email and a couple web sites. I backup the websites manually. I'll try the back up and restore. Thanks for the help.
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Move user and their IMAP email to a new server
« Reply #3 on: January 31, 2015, 04:50:37 PM »
restore must be done on a new install.. just in case ;-)

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Move user and their IMAP email to a new server
« Reply #4 on: January 31, 2015, 05:32:19 PM »
Or you can use imapsync if you want to transfert email
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Move user and their IMAP email to a new server
« Reply #5 on: February 01, 2015, 12:35:51 AM »
charlien

Backup & Restore will include all the server configuration including users, users email, ibays, websites, custom templates, mysql databases & so on, so you will effectively create an identical clone of your existing server.
Is that what you want ?

If you really just want to transfer a particular users email, then imapsync may be an easier way to achieve that.

If you want to transfer a limited set of data eg all users email folders and ibay contents, then take a look at the concepts described in
the Backup server config Howto (Howto link at top of Forums).
See particularly the section on Copying data to another server.
http://wiki.contribs.org/Backup_server_config#Copying_data_to_the_restored_server

You will need to modify the commands slightly to suit what data you wish to move.



« Last Edit: February 01, 2015, 12:37:58 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline charlien

  • ****
  • 88
  • +0/-0
    • http://www.rn-computing.com
Re: Move user and their IMAP email to a new server
« Reply #6 on: February 01, 2015, 03:50:23 PM »
The biggest hurdle I have is that hyper-v doesn't appear to allow USB thumb drive access from a guest OS. Years ago I was able to do a backup to desktop and a restore from desktop. It appears that the backup to desktop is still an option but the restore from desktop using the web interface is gone. Am I correct?

Thanks for all the help I'm getting. It's been years since I had to post here.
...

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Move user and their IMAP email to a new server
« Reply #7 on: February 01, 2015, 09:58:09 PM »
charlien

The Howto I referred to, also has information about backing up, restoring & transferring backup files from/to/via SSH between servers on the network, so read it completely as there will be a solution there to suit your situation.

In SME server server manager Backup or Restore panel, there are options to backup to & restore from workstation shares (which can be the workstation hard drive or a USB drive connected to a workstation, or a NAS etc, so you have plenty of options if a locally connected (to server) USB drive is not possible for you.

IIRC you can even connect/mount a SATA drive on the server to use for backup, I have done it.
« Last Edit: February 01, 2015, 10:06:47 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Move user and their IMAP email to a new server
« Reply #8 on: February 24, 2015, 01:28:49 PM »
If it's SME 7 or 8 (I did it on 9 but think I messed it up), the AFFA contrib works beautifully. No thumbdrive required.

http://wiki.contribs.org/Moving_SME_to_new_Hardware

...