(John: I've send this by mail, but maybe it was a little long. Let's ask your clients..)
I have 6 directadmin servers. 5 Of them are live servers and 1 spare/backupserver with DA running empty. My plan is to
restore a backup on the empty machine when some other machine crashes.
I make backups of:
backup:/backup/server01# ls -1 *-20040224.tar
dadmin-20040224.tar
etc-20040224.tar
frpage-20040224.tar
home-20040224.tar
mysql-20040224.tar
var-20040224.tar
That's /usr/local/directadmin/, /etc/, the dir of the frontpage extentions, the home-dirs, the mysql dir and the rest of /var. This is based on
the information you provided on the paths-page.
My questions are basicaly:
- When I untar (and overwrite) all files (on the 'empty DA machine') with the backup and I'll reboot, will it work?
- Is there another way you would like to advice me to do this?
- How to restore only *one* user? I thought there was a lot of stuff in the DB for every user. What are the files I need to move *one* user? (When I take care of the right ip's, DNS and that kind of stuff). Like, do I have to add him to the reseller system manually?
I would really appriciate your advice. My clients wants my emergency plan tomorrow. If you don't have a solution then I'll try it on the forum again.
Thanks a lot!
I have 6 directadmin servers. 5 Of them are live servers and 1 spare/backupserver with DA running empty. My plan is to
restore a backup on the empty machine when some other machine crashes.
I make backups of:
backup:/backup/server01# ls -1 *-20040224.tar
dadmin-20040224.tar
etc-20040224.tar
frpage-20040224.tar
home-20040224.tar
mysql-20040224.tar
var-20040224.tar
That's /usr/local/directadmin/, /etc/, the dir of the frontpage extentions, the home-dirs, the mysql dir and the rest of /var. This is based on
the information you provided on the paths-page.
My questions are basicaly:
- When I untar (and overwrite) all files (on the 'empty DA machine') with the backup and I'll reboot, will it work?
- Is there another way you would like to advice me to do this?
- How to restore only *one* user? I thought there was a lot of stuff in the DB for every user. What are the files I need to move *one* user? (When I take care of the right ip's, DNS and that kind of stuff). Like, do I have to add him to the reseller system manually?
I would really appriciate your advice. My clients wants my emergency plan tomorrow. If you don't have a solution then I'll try it on the forum again.
Thanks a lot!