Migrating old cPanel data - broken OS, passwd, shadow file

mortenhn

Registered
Aug 26, 2006
3
0
151
Hello everyone

Hope somebody know the answer to this one.

My cPanel mysteries stop allowing me and my host provider access to the interface, it could be because of a broken passwd and shadow file, and they decided after trying very hard with many ways to make cPanel work again to re-install the sever OS and a fresh copy of cPanel.

Now since i can't do a cPanel to cPanel transfer using cPanel because the old one is not working and i don't have backups would the rsync way as described in http://forums.cpanel.net/f49/help-moving-cpanel-accounts-damaged-disk-163734.html Work if i skip rsync the passwd and shadow file from the old disk ?

If i rsync everything except passwd and shadow would it still work ?.

Best regards
Morten
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
yes it should work just fine

I would run a fsck on the drive after you have completed as if your passwd file was corrupted other files may be corrupted as well
 

mortenhn

Registered
Aug 26, 2006
3
0
151
So if i don't rsync passwd* and shadow* then how would the new cPanel knows about the cPanel usernames that was on the old cpanel ?
 

mortenhn

Registered
Aug 26, 2006
3
0
151
After i created 1 username/account in the WHM i did a complete rsync as described in the other topic but the email accounts does not show up and the same does any MySQL databases that is part of the account.

Anybody know how to migrate from and old cPanel to a new cPanel when its not possible to use cpanel internal transfer function ??

Best regards
Morten