Backup Directory Structure
Posted: Wed Jul 20, 2011 2:12 pm
I'm writing a backup script that when run will call the /usr/local/nagiosxi/scripts/backup_xi.sh backup script and then will copy the resulting .zip file (e.g /store/backups/nagiosxi/1279411912.zip) to a remote server. However in the Backup & Restore Document (http://assets.nagios.com/downloads/nagi ... ing_XI.pdf) it recommends copying all of the directories found under /store/backups to a remote server. The directories are: mysql nagiosxi postgresql
I created a backup file using the backup_xi.sh script and then deleted some services and hosts from my system, and then ran the restore script. Everything appeared to restore fine, including the sql databases.
So my question boils down to this, why would I want to copy the entire /store/backups directory when only the .zip files found under /store/backups/nagiosxi/ appear to be needed to do a full restore? What am I missing?
Thanks for the help.
I created a backup file using the backup_xi.sh script and then deleted some services and hosts from my system, and then ran the restore script. Everything appeared to restore fine, including the sql databases.
So my question boils down to this, why would I want to copy the entire /store/backups directory when only the .zip files found under /store/backups/nagiosxi/ appear to be needed to do a full restore? What am I missing?
Thanks for the help.