config backups are taken on schedule but how do I make one on demand ? Due to duplicate generic (from core) configs on our system I have to fix them all by hand, often this breaks the configs due to all these duplicates, so I want to make a config backup before to make roll backs easier to do.
Thanks muchly
Configuration Backups (On Demand)
Re: Configuration Backups (On Demand)
You can backup your system by running the "backup_xi.sh" script from the CLI. Please, review the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You can also backup XI in the GUI - go to Admin->System Backups->Local Backup Archives, and click on "Create Backup".
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You can also backup XI in the GUI - go to Admin->System Backups->Local Backup Archives, and click on "Create Backup".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration Backups (On Demand)
ok I am talking about the configuration snapshots in the CCM manager (see attached screen shot), when the config breaks you have the option of restoring a working one and all is good again, I CANNOT SEE an on demand create snapshot button.
If there is one it is not on this screen, which would make sense
If there is one it is not on this screen, which would make sense
You do not have the required permissions to view the files attached to this post.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Configuration Backups (On Demand)
They are automatically created whenever you make a change whether you like it or not, there is no use in creating one on-demand is it would just be an exact duplicate of the next automatically created one.
Perhaps you are seeking an option such as archive (the right-most button) where you can keep an existing snapshot around forever? Note that you can rename archived snapshots so that you know what/when they're from.
If you're looking to have a "now" copy to archive, the only solution that comes to mind is just opening any object, and clicking save without making any changes and apply config. Then the top-most snapshot will be your running configuration.
Perhaps you are seeking an option such as archive (the right-most button) where you can keep an existing snapshot around forever? Note that you can rename archived snapshots so that you know what/when they're from.
If you're looking to have a "now" copy to archive, the only solution that comes to mind is just opening any object, and clicking save without making any changes and apply config. Then the top-most snapshot will be your running configuration.
Re: Configuration Backups (On Demand)
The reason I asked is it is not always made before each change, I have often had to go check with a view to restore and the snapshot is not always there. Again hence why I was asking.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Configuration Backups (On Demand)
So it's broken? It should be getting created at each change (done through the UI). If it's broken that's a different issue altogether.sharding wrote:The reason I asked is it is not always made before each change
Re: Configuration Backups (On Demand)
as I had mentioned it does not always create a snapshot, often does but I don't check when the config still works,many times I go to restore when it's broken and there is no snapshot, again not every time and I could not tell you exactly what release.
Do you want me to open a e-mail support case if XI 2014 R2.7 does this ?
Do you want me to open a e-mail support case if XI 2014 R2.7 does this ?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Configuration Backups (On Demand)
No matter what the version we'll probably want a support case opened. Can you reproduce the error on command so that we can capture the output of the reconfigure script?sharding wrote:Do you want me to open a e-mail support case if XI 2014 R2.7 does this ?
Re: Configuration Backups (On Demand)
I do changes all the time so I can advise when it happens, is there a step I should do when it does to send in extra info ?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Configuration Backups (On Demand)
So the deal is when you run apply config there is a script that runs under the hood. We need to see the output of that script to be able to debug why the snapshot wouldn't be getting created. For that reason it would be ideal if you could identify the circumstances that exist when it doesn't work properly so that we can recreate the problem on demand.
Otherwise you'd have to run the reconfigure script by hand instead of clicking apply config each time in order to capture the "1 time" it doesn't work right.
Otherwise you'd have to run the reconfigure script by hand instead of clicking apply config each time in order to capture the "1 time" it doesn't work right.