Manual restore of WHM and all accounts from server files
Hi There,
Is it possible to manually restore WHM accounts and databases from server files?
Unfortunate my dedicated server failed to boot last week due to a kernel upgrade (thanks GoDaddy). I was forced to re-provision the server.
I have a fresh install + all server files - that's it.
Many thanks for your time.
-
Bit old but should still work [url=http://www.cpanelkb.net/restore-cpanel-server-from-corrupted-drive/]Restore cpanel server from corrupted drive - cPanel KnowledgeBase 0 -
[quote="dalem, post: 1720732">Bit old but should still work [url=http://www.cpanelkb.net/restore-cpanel-server-from-corrupted-drive/]Restore cpanel server from corrupted drive - cPanel KnowledgeBase
Looks good, thank you. Can't see anything about the databases, would this try to recreate them?0 -
Hello :) That third-party guide does reference "/var/lib/mysql" where your databases are stored. Note that this method of restoring a server is not supported. Ideally, you should backup your accounts using the included backup options so they can be restored in situations like this. Thank you. 0 -
[QUOTE]rsync -vrplogDtH /olddrive/var/lib/mysql /var/lib
database as Michael explained not the best way but I have done it many times without issue0 -
[quote="dalem, post: 1721791">database as Michael explained not the best way but I have done it many times without issue
Thanks Guys - I have done it this way and everything appears OK Note: I'm unable to restore innodb tables though, so I've learned keeping daily backups is vital (prevention better than solution)0 -
I'm not sure how much it will help in this particular case, but you may find the following thread useful if you need to repair InnoDB: InnoDB Repair Guide Thank you. 0
Please sign in to leave a comment.
Comments
6 comments