Nagios XI database backup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Nagios XI database backup

Post by ranjitw »

Hi ,

What is the best way to take a full backup of Nagios database ?

If I want to take a backup of 1000 servers(12k services) with 3 months of historic data ( alerts and QOS ) what would be the approximate size of the backup file ?

Where would be the backup file created ?
Regards,
Ranjit W
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI database backup

Post by hsmith »

We have a document regarding our backup procedure here: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

I strongly recommend you use this one. The size is going to vary a lot depending on your environment. The size of one of my backups is around 90-180 MB.
Former Nagios Employee.
me.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Nagios XI database backup

Post by ranjitw »

Hi ,

What is the size of your environment ? Is it for 1000 servers in your environment it took 90-180 MB?

Does this backup include performance data as well ? If I need to take backup of the performance data what would be size of it.
Regards,
Ranjit W
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI database backup

Post by lmiltchev »

What is the size of your environment ? Is it for 1000 servers in your environment it took 90-180 MB?
I am not sure what's the size of hsmith's environment but most likely it is not very large. On one of my test Nagios XI boxes for example, I have 30 hosts and approximately 400 services, and the size of the backup is around 280MB (this includes the perfdata). Obviously your backup will be bigger.
Does this backup include performance data as well ? If I need to take backup of the performance data what would be size of it.
Yes, this includes the perfdata.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Nagios XI database backup

Post by ranjitw »

Hi ,

When I backup using the backup_xi.sh script will it backup also the performance information ?

Where could I set the retention period for ( event or Alarm ) and (Performance and trend ) data.
Regards,
Ranjit W
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI database backup

Post by lmiltchev »

When I backup using the backup_xi.sh script will it backup also the performance information ?
Yes, the backup script backs up the perfdata.
Where could I set the retention period for ( event or Alarm ) and (Performance and trend ) data.
Go to Admin->Performance Settings->Databases, specify the desired values, and click on "Update Settings".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked