Manual migration of email forwarders and autoresponders

albatroz

Well-Known Member
Mar 6, 2003
401
6
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
Days ago I migrated a domain from one CPanel server to another using this method
How to Manually Transfer an Account Between Servers - cPanel Knowledge Base - cPanel Documentation
but moved the /home/xxx folder manually because the source disk was almost full.
Now it seems that some emails forwarders and autoresponders were not migrated so I am receiving this error message:
pipe to |/usr/local/cpanel/bin/autorespond [email protected]
/home3/xxx/.autorespond

It looks like the configuration for emails forwarders were not migrated, so I was
wondering if there is a manual way for doing so.
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,753
311
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Forwarders are located in the file /etc/valiases/domain.com. You can just copy that file over, just make sure the ownership and permissions are correct when you are done.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
but moved the /home/xxx folder manually because the source disk was almost full.
Hello @albatroz,

This is not a supported method of manually transferring an account.

Is there enough space on the source server to backup the account without the contents of it's public_html directory? If so, you'll want to backup the account on the source server using /scripts/pkgacct with the following flag:

--skippublichtml

From there, you can manually migrate the contents of the public_html directory after restoring the backup archive on the destination server.

Thank you.