off-site back of DirectAdmin: Directories to backup for easier restore

anti-ts

Verified User
Joined
Jan 25, 2014
Messages
42
Hello...

Consider a scenario of taking daily (incremental) backups of a dedicated DA server (backups saved to some other server).

Which directories would you backup, in order to be able to perform a faster full recover/reinstall in case of disaster.
I mean to select directories (not just take everything, backup /).

Here is a starting list:
/home
/root
/etc
/usr/local/directadmin
/var/named
/var/lib/mysql
/var/log
/mnt/database-dumps (for me, this to daily mysql dumps of all databases)


Could you suggest more directories that really can prove handy for recovery?
Recovery means for example: Get a new empty server, setup OS + DA and start moving files from the backups.


Thank you.
 
personally I would include any php version directories especially if running 2 versions with customized php.ini files or customized php-fpm conf files
I would also do any httpd modules directory as I have custom modules like h264 pseudostreaming module compiled and have custom httpd conf files for them which would have been covered by the /etc backup.
 
Last edited:
Back
Top