Backup everything (settings, sites, mysql db)

Kiekeboe100

Verified User
Joined
Apr 19, 2008
Messages
142
Location
Belgium
hello,

i need your help :)
Yesterday, my servers internet connection has been shut down because there was a portscan issued.
Now, i would prefer to reinstall everything, because i can't seem to find anything.

The locatin of the directadmin settings and user websites, are they all in the /home directory's and in /usr/local/directadmin?

But how can i backup the mysql users and tables?

thx,
Stijn
 
DirectAdmin has an admin-level reseller backup; I'd use that (in fact, I do use that).

Jeff
 
sorry for the late reply, but i've been busy.

Isn't this only the user files that get backed up?

Is there an option to backup all DA files?

Stijn
 
You can use the admin system backup and fine-tune the files you do/don't want backed up.

However there's no restore system for the system backup; it's designed to be used by system administrators who will know what to restore and why.

Jeff
 
Is there an option to backup all DA files?

Aren't you reinstalling the os and everything? Best option is to reinstall DA. You don't need the DA files. You only need the files relevant to the user which admin backups do.
 
We are using the following backup-script:
Code:
/usr/local/mysql-5.0.67-linux-i686/bin/mysqldump -u da_admin -ppassword --all-databases > /home/mysql/backup.sql
rsync --delete -v -a -e ssh /usr/local/directadmin/ [email protected]:/bck/server/da/
rsync --delete -v -a -e ssh /var/log/ [email protected]:/bck/server/log/
rsync --delete -v -a -e ssh /etc/ [email protected]:/bck/server/etc/
rsync --delete -v -a -e ssh /home/ [email protected]:/bck/server/home/
 
Back
Top