Hello,
Ha ha ha, I know I know there is a lot of posts here which talk about backups
But I have changed my backup schem on one of our old box (one with interworx in /home) and as I preparing the coming of the new iworx backup.php I’d like to do rsync backup then an iworx structure only backup
Here is what I backup. If you’d confirm I don’t forget something
You have to know this backup is more to be used in case of migration or complete crash and reinstall. It supposes we have resintalled the os and interworx (and all others packages). So we just have to restore few files/dir
In fact we use rsnapshot which allow rsync backups at few intervals (hourly, daily, weekly, monthly) with a rotate schem
So we rsync
/home/
/etc/passwd
/etc/group
/etc/shadow
/etc/hosts.allow
/etc/hosts.deny
/etc/resolv.conf
/etc/hosts
/etc/proftpd.conf
/etc/httpd/conf/
/etc/httpd/conf.d/
/root/
/var/spool/cron/
/usr/src/redhat/RPMS/
/usr/src/redhat/SRPMS/
script /usr/local/bin/backup_iworx_db.sh iworx_db/
script /usr/local/bin/backup_users_db.sh users_db/
The 2 lines script are in fact scripts with mysqldump of iworx and or users DB. We also backup /root because we have some wanted files, same for RPMS and SRPMS as we have our RPM/SRPM of few home made script/package
Do you think I have forget something ?
As in this iworx vesrion interworx and vpopmail are in /home we should also have mails of users. Not sure if we have to rsync /var/qmail and/or /var/djbnddns as we do a reinstall of interworx before executing the restore of these files.
Thanks for your comments and sorry to post again something about Backup
It’s just that I prefere to have a fiveth (not sure it is written like this) check than one
Pascal