Migration Tool - eMail

Discussion in 'General' started by Franco R., Jul 24, 2021.

  1. Franco R.

    Franco R. New Member HowtoForge Supporter

    Hi!
    did a first synchronization with the Migration Tool
    - an example of a command to sync just a single user's eMail to do an update?
     
    Last edited: Jul 24, 2021
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can limit the re-sync to a specific data type like resync email only, but not to just one specific email account. If you really want to copy the data of a single email account only (and both servers were using ispconfig and dovecot IMAP), then you can use the rsync command. Example (the command is run on the old server as root user):

    Code:
    rsync -avz --delete -e ssh /var/vmail/somedomain.tld/user/ [email protected]:/var/vmail/somedomain.tld/user/
    Replace 1.2.3.4 with the IP address of the new server.
     
    Franco R. likes this.
  3. Franco R.

    Franco R. New Member HowtoForge Supporter

    Thank You
    but sorry, I forgot the Tool migrated from Courier to Dovecot :oops:
    so, suppose it's better, for me, something like ./migrate --only-mail=<domain.com>, correct?
    always consider that first single migration..
     

Share This Page