Hey all!
Now we all know that sometimes upgrading to a newer version of nagios might cause problems do to no fault on anyone's part.
When something goes wrong sometimes one needs to downgrade to the version that was upgraded.
Can you guys add a downgrade script or option in future upgrades?
you don't wanna know how I know this, but i know a guy who upgraded to 5.5.5 and tried to go back to version 5.4.12 and well yeah if there is a way to make downgrading possible, that would be awesome. =D
thanks fellas either way!
Post update restore script request
Post update restore script request
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Post update restore script request
Ben,
I always look forward to your Friday afternoon posts
Our upgrade manual right on page 1 states this:
I always look forward to your Friday afternoon posts
Our upgrade manual right on page 1 states this:
If you just decided to wing it and upgrade using the Web UI, a backup is automatically made on your behalf to roll back to.Backup
It is recommended to backup your existing Nagios XI installation before attempting the upgrade process.
Please refer to the following documentation:
Backing Up and Restoring Nagios XI
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Post update restore script request
If in fact you are in a bind and don't have these, you can do the following and it will get you close:
Again, a backup first would be a good idea......Always a good idea
Code: Select all
cd /tmp
rm -rf nagiosxi xi*
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.4.12.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi
./upgrade
cd subcomponents/nagioscore
./upgrade
Re: Post update restore script request
Ah but that's the interesting part, I DID have a backup.Man i screw my stuff up so much i got backups of backups which are backed up on backup servers, which have backups of them lol.
But I think that the changes that are introduced by 5.5.5 make restoring to 5.4.12 fail. that's why I had to do a full reinstall. I tried the upgrade on two separate servers and the restore failed on both. If you want I can redo the upgrade and the retry the restore and show you what happened.
But I think that the changes that are introduced by 5.5.5 make restoring to 5.4.12 fail. that's why I had to do a full reinstall. I tried the upgrade on two separate servers and the restore failed on both. If you want I can redo the upgrade and the retry the restore and show you what happened.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Post update restore script request
Do you remember why the restore failed?benhank wrote:Ah but that's the interesting part, I DID have a backup.Man i screw my stuff up so much i got backups of backups which are backed up on backup servers, which have backups of them lol.
But I think that the changes that are introduced by 5.5.5 make restoring to 5.4.12 fail. that's why I had to do a full reinstall. I tried the upgrade on two separate servers and the restore failed on both. If you want I can redo the upgrade and the retry the restore and show you what happened.
Re: Post update restore script request
No, I redo the upgrade and restore and if it fails Ill post the results
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Post update restore script request
Thanks.benhank wrote:No, I redo the upgrade and restore and if it fails Ill post the results