As I am keeping VM Snapshot backup so no question of restoring the same environment from Nagios Backup.
I mean by following the attached steps, as you stated up-gradation will be fine. My concern is:
Case1: Up-gradation is successful and we have taken a back up on upgrade version on 2nd day of migration. Now after n(5 ,6 or 30 days) numbers of Day for some reason I need's to restore from back up.
I mean then restoring from latest backup taken on 2nd day of up-gradation will work without any issue.
Case2: What will be the role of pgsql after successful migration.
Nagios Update from Nagios XI 2014R2.7
Re: Nagios Update from Nagios XI 2014R2.7
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Nagios Update from Nagios XI 2014R2.7
Could you please clarify this? I would take a VM snapshot before _anything_ is done at all, and have this as your failover should something not work properly. Then, you can always restore BACK to your current environment.As I am keeping VM Snapshot backup so no question of restoring the same environment from Nagios Backup.
1. A restore will be fine, but if you spin up a new machine you will want to follow what @dwhitfield mentioned.
2. psql runs the nagiosxi database since your upgrading from a pre-XI5 version.
Former Nagios Employee
Re: Nagios Update from Nagios XI 2014R2.7
I means as VM level Snapshot backup is there. So in case of any issue we will restore VM snapshot. On restoring VM Snapshot no impact on old Nagios 2014R2.7
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Nagios Update from Nagios XI 2014R2.7
There are a couple of things to make clear:
1. The backup/restore functionality is only meant to be run on the EXACT same versions of XI. You can't restore XI 2014R2.7 over the top of XI 5.3.3, you would need to upgrade 2014R2.7 to 5.3.3 then take the backup and then restore with the XI 5.3.3 backup file.
2. XI 5+ only uses mysql not postgresql on FRESH INSTALLATIONS ONLY.
- If you install XI 5+ on a new server it will not install postgresql by default
3. You can upgrade a pre-XI 5+ system to XI 5+ and the backup will include the postgresql DB data, when you try to restore it the restore_xi.sh script checks the backup file and if it needs postgresql installed it will install it at that time.
---
With those things in mind you can still restore from any XI backup to the same version (regardless of whether or not the previous system used postgresql), the script is smart enough to do it.
- Just note that you're NOT supposed to backup and restore to different versions (like backup XI 2014R2.7 and restore it to a server with a different version).
As long as you have the full backups created by the scheduled backups OR by the /usr/local/nagiosxi/scripts/backup_xi.sh script you will be able to revert to them (given the data is good).
Thank you
1. The backup/restore functionality is only meant to be run on the EXACT same versions of XI. You can't restore XI 2014R2.7 over the top of XI 5.3.3, you would need to upgrade 2014R2.7 to 5.3.3 then take the backup and then restore with the XI 5.3.3 backup file.
2. XI 5+ only uses mysql not postgresql on FRESH INSTALLATIONS ONLY.
- If you install XI 5+ on a new server it will not install postgresql by default
3. You can upgrade a pre-XI 5+ system to XI 5+ and the backup will include the postgresql DB data, when you try to restore it the restore_xi.sh script checks the backup file and if it needs postgresql installed it will install it at that time.
---
With those things in mind you can still restore from any XI backup to the same version (regardless of whether or not the previous system used postgresql), the script is smart enough to do it.
- Just note that you're NOT supposed to backup and restore to different versions (like backup XI 2014R2.7 and restore it to a server with a different version).
As long as you have the full backups created by the scheduled backups OR by the /usr/local/nagiosxi/scripts/backup_xi.sh script you will be able to revert to them (given the data is good).
Thank you
Re: Nagios Update from Nagios XI 2014R2.7
Thanks for the details. Can you please provide the link to download NagiosXi 5.3.
When I am using below command it's downloading 5.4.
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
When I am using below command it's downloading 5.4.
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5