How to take backup of historical data and restore

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

How to take backup of historical data and restore

Postby aanataliya » Mon Jul 09, 2018 7:04 am

Hi,

I am using Nagios core on AWS Amazon Linux AMI. We regularly plan release and we are planning to move changes using AMI in to production. If we replace instance using new AMI, I will loose old historical data. How can I take backup of historical monitoring data from nagios production before release and how do i restore after releasing new changes.
aanataliya
 
Posts: 3
Joined: Thu Mar 15, 2018 11:51 am

Re: How to take backup of historical data and restore

Postby scottwilkerson » Tue Jul 10, 2018 2:38 pm

On a base nagios core install there is a nagios.log file usually in a var directory (location varies depending on install type)

you want the nagios.log as well as the archives directory in the same location.

Additionally you would likely want to backup all of your configuration files.

Again, the locations of these varies because different installation methods and OSs put the files in different locations, plus Nagios admins can change the locations of all of these in the nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 10396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 1 guest