Transfer email accounts
I'm migrating a cpanel server to a new cpanel server using the Transfer Tool
1. I transfer the cpanel account to the new server using the Transfer Tool as root
2. On the new server, I test and fix any issue with site loading that might occur such as php errors due to different php versions
3. Some time has passed since the Transfer Tool migration has happened and new emails have been delivered to the old server.
4. I'd like to migrate those emails to the new server without having to do another whole account transfer.
5. Can I simply use
on the /home/username/mail/ directory from the old server to the new server? If not, does cpanel have a script to re-sync email only?
rsync
on the /home/username/mail/ directory from the old server to the new server? If not, does cpanel have a script to re-sync email only?
-
Using the rsync method, if there are new emails on both the new server and old sever and I rsync, will the emails be merged or will the sync just copy over the data from the old server and overwrite anything new on the new server? 0 -
Using the rsync method, if there are new emails on both the new server and old sever and I rsync, will the emails be merged or will the sync just copy over the data from the old server and overwrite anything new on the new server? 0 -
"rsync" does just that - it will sync the data between the two systems. If there is a file on the destination with the same name, but a newer timestamp, it will be left as-is and not overwritten. 0 -
Thank you. I was not sure if emails were individual files or stored as a database file. 0 -
They are just flat files so they move with no additional tools. 0
Please sign in to leave a comment.
Comments
6 comments