URGENT System Backup restore

venloft

Verified User
Joined
Oct 12, 2004
Messages
16
I have a new server now , on the old server i made a System Backup, now i installed a fresh DA installation (upgraded version), i have the old hard disk as slave disk, and the System backup folder , i have the resellers backup , the same IP's . ,all /home backup for all users (.tar.gz). , Mysql backup ,etc.

But now i figure that a system backup have to be manually restore. thats a huge problem because im overtime.

So i guess that i can replace some files or lines, to have the users back again , ip configurations , restore mysql backups , and just untar all /home files.

but i really dont know where to begin.

Any help will be appreciate

and if someone knows how, want and have enought time (today right now) to help me to restore the backup . ill pay a reasonable price for the help.
if you are interested please let me know how much you are asking for,please send me a private message.
 
I have a simalar problem except my old machine is not down. So I have been running rsync and copying the below directories. I not sure this is an exhaustive list but I did go through and checked that all menus were working. I did have an issue with IP-based sites but I think we narrowed that to either my router or smart switch.

/home
/var/spool/mail/
/usr/local/directadmin/data/
/var/spool/virtual/
/var/lib/mysql/
/var/named/
/etc/virtual

You will also need files from /etc like passwd, group, shadow and proftpd.*
 
thank you for your reply

right now im restoring /home , i had restored /etc /usr /var , but its taking me so long to finish /home.

i have a question, after restoring all, is DA going to be as it was before ?
or ill have to manually set up resellers users ips databases ,etc
 
Anyone know where should i restore the apache, bind, mysql folders of the system backup????
 
The exhaustive list is the list that gets backed up by the admin sysbk (system backup system).

However you should not just blindly restore all these files/directories. You have to be careful not to overwrite system-specific stuff, such as entries in passwd/shadow, etc. For system files you may have to cut and paste.

And the system won't be usable at all until everything is complete.

We've done it; we know it works.

And of course if the NIC card information in the /etc/sysconfig/network-scripts/ifcfg-eth0 (and similar) files isn't right the network may not start.

If you're careful this kind of restore works, and is quicker and more efficient than any other. But it's definitely for experienced system admins, as has been discussed several times in these forums.

Otherwise we recommend a bare new DA install on the new server, then recreate the resellers with all their settings, then do reseller backups on the old server, and restore them, reseller by reseller, on the new server.

As I recently posted on another thread, we've done it both ways; both ways work. Both ways have given us minor problems, all of which we've been able to overcome.

Jeff
 
I tried the DA system backup in directory /backup (mounted to 2nd drive)
after it finished, /backup contains this:

12-08-11/ with dir:

apache/
bind/
custom/
mysql/

Inside I see mostly tar.gz files.

If I will reload OS and DA. how will I restore the users and accounts previously running?

confused.
 
Use admin level backup not system level backup.
 
If I will reload OS and DA. how will I restore the users and accounts previously running?
Manually. Many administrators like to work this way. If you don't, then of course user scsi is absolutely right.

We and others can do the restore for you as a paid service if you're stuck.

Jeff
 
Manually. Many administrators like to work this way. If you don't, then of course user scsi is absolutely right.

We and others can do the restore for you as a paid service if you're stuck.

Jeff

hmnn. so what really system backup do?

it sound just like a literal system backup for "Directadmin", and not really for accounts if yes, what is the process to restore the created system backup. (im not asking for the accounts but rather the actual system backup created):o

tnx
 
Its just so you can backup system files and stuff you dont want to lose. You have to restore everything manually. Unzipping the backups and copying the files back to where they need to go.
 
Its just so you can backup system files and stuff you dont want to lose. You have to restore everything manually. Unzipping the backups and copying the files back to where they need to go.


i seeeeeee, I thought theres a way in DA panel to work its own to restoring those .tar.gz files.


THankz buddy, im still getting to know DA now and adjusting,(using cpanel before):o
 
Back
Top