Restoring everything

TechDaddies

Verified User
Joined
May 3, 2020
Messages
35
Long story short - Somehow our partition tables got screwed up on our drives / raid array. Nobody can figure out why, so we're mounting new drives, reinstalling all software, and will need to restore all of the accounts from the old drives.

What is the best / most foolproof way to not only restore all of the old accounts, but also to restore all of our Directadmin configuration / settings?
 
Short anwser: there isn’t

Long anwser: If you can still boot into the server somewhat. You can do 2 things.
1: create an admin backup and an backup of every user that is not in the admin user backed up.
Then restore the backups. But this will not restore directadmin settings/changes.
2: create an system backup and manually restore the files by hand. (And be carefull with file and folder permissions.)
But as said before this is an verry long process and just redoing might even be faster.
 
Luckily we have user backups that were taken right before the outage, that we can use to restore each user account.

It's unfortunate that we can't restore our DA settings though. I had hoped I could restore a couple of conf files and run a rebuild task.
 
Luckily we have user backups that were taken right before the outage, that we can use to restore each user account.

It's unfortunate that we can't restore our DA settings though. I had hoped I could restore a couple of conf files and run a rebuild task.
other like custom config,
eg. "/etc/exim.conf" "/usr/local/directadmin/data"

is on system backup and you need manual restore.
 
Yeah I poked around and was able to restore quite a bit of DA stuff by carefully copying back files from /usr/local/directadmin/conf and /usr/local/directadmin/data

Just dealing with a Cloudlinux issue now and we should be good to go soon.
 
Back
Top