crushed OS

tincboy

Verified User
Joined
Aug 14, 2009
Messages
126
I had a VPS which it's OS crushed and I can't boot it up again,
But using a live cd I've restored every file like all files in /home or /var/lib/mysql

Now I've a clean DirectAdmin installed on an other server but with the same IP,
My Question is how can I copy restored files to new server to get all old specification of account's?
I mean with out creating every account again ? is it possible?
 
No, cause i think you didnt recovery the main part, /usr/local/directadmin should be the main thing to save /home and /var/lib/mysql apart.. now you will need to create all users and restore one-by-one
 
I have this part too: /usr/local/directadmin
I can also restore some other parts if it's required.
 
You'll need to have access to both systems. You may not be able to do that if they're both on the same IP#.

Is the bad server available to you at the same time as the new server?

Check out the DirectAdmin system backup. Find the code for it on your server (if I recall correctly it's called sysbk, sysbck, or sysback; I'm not sure which.

You can read there and figure out what needs to be moved to the new server.

(I had to do this once; I know it can be done but it does require experience and patience.)

It may be necessary to recover only:

/home
/usr/local/directadmin
/var/named
/etc (actually only certain files in /etc)
/var/lib/mysql

and perhaps a few others; it's been a long time and I don't remember the details.

If you can give me online access to both the old drive and the new system at the same time I could most likely restore your DirectAdmin installation to your new system as a commercial service, but I can' quote the charge in advance as I don't know how long it will take.

If you're interested, email me at the address below.

Jeff
 
Thanks Jeff,
Yes I've access to old server with an other IP, I've boot the old server via centos-live-cd and I can move files from one to other via scp or sftp,
Do you know where does mysql store accounts information and email accounts data?
 
Email doesnt use mysql at all.

Mysql databases are in /var/lib/db but you should use mysqldump command to backup and move databases.
 
Back
Top