Page 1 of 1
How to archive the XI ?
Posted: Fri Jul 29, 2016 1:53 am
by eric.lin826
Hi
I need to archive the XI system and keep the data (like rrd etc.) within a year.
Is there has any solution to do this ?
Re: How to archive the XI ?
Posted: Fri Jul 29, 2016 9:15 am
by tmcdonald
What do you mean by "archive"? Do you want to take a backup of the system, or are you asking how to modify data retention settings?
Re: How to archive the XI ?
Posted: Wed Aug 03, 2016 9:13 pm
by eric.lin826
Hi
For example.
The XI system is running for 2 years.
I want to archive the first year's data and keep the second year's data on the system.
Re: How to archive the XI ?
Posted: Thu Aug 04, 2016 9:34 am
by ssax
My recommendation would be for you to first do an XI backup to capture the data that you currently have (this will contain all the data needed to restore so you can access it):
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Then setup scheduled backups and transfer them off-server so that you can access the data as needed.
Then go to
Admin > System Config > Performance Settings > Database and adjust the retention settings as needed.
RRD files always stay the same size so you shouldn't need to worry about that, but if you really wanted to prune them you would need to export the data to XML, delete the data you don't want, and then import the XML file into a new RRD.
This would give you an example of the process:
- Note that once you exported them to XML you would need to script the removal or manually modify the XML files before importing into the new RRDs
https://support.nagios.com/kb/article.php?id=166
Let us know if you have any questions.
Thank you
Re: How to archive the XI ?
Posted: Mon Aug 08, 2016 4:00 am
by eric.lin826
Thanks !
I will follow your recommendation.
Re: How to archive the XI ?
Posted: Mon Aug 08, 2016 9:07 am
by mcapra
Let us know if you have further questions!