Recreate Accounts from Restored HOME Dir

jugo

Active Member
Nov 23, 2005
44
0
156
Hello everyone.

I have encountered a nifty little problem.

We lost our server due to an undiscovered "shellbot".

We have rebuilt the server with a new hard drive. We have access to the old drives and can mount them and access the files.

Is there a way to recover the accounts from a copied HOME directory.

My idea was to copy over /var/named /home and /var/cpanel/users

what else would help me get the accounts back. Any help would be appreciated.


UPDATE: This is what we got from someone:

Mattson is [email protected] * Linux
calpop2.freaks-network.com 2.6.9-34.ELsmp #1
Mattson on #Atk33
Mattson using irc.dRoneIRC.org dRoneIRC - Volta do IRC brasileiro
Mattson has been idle 4hrs 2mins 50secs, signed on Sat Sep 30 07:00:14
Mattson End of /WHOIS list.
can someone help me with this....any insight.....
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
jugo said:
We have rebuilt the server with a new hard drive. We have access to the old drives and can mount them and access the files.

Is there a way to recover the accounts from a copied HOME directory.
Does that mean you don't have backup? Is /etc directory there?
 

lowlight

Registered
Oct 2, 2006
1
0
151
Hi, i have the same issue here, i have a early msql back up which uploads ok but i only have a recent home dir backup, i have 200 posts on the home dir but i cannot upload it. any recomendations please..

thanks
 

jugo

Active Member
Nov 23, 2005
44
0
156
AndyReed said:
Does that mean you don't have backup? Is /etc directory there?

I have access to the old drive.

So I can get anything from /etc /var or home that we would need.

Also, is there a way to restore MySQL DBs from MYI files??
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
jugo said:
I have access to the old drive.

So I can get anything from /etc /var or home that we would need.

Also, is there a way to restore MySQL DBs from MYI files??
Why not copying all of the DB from the old to the new HD.