Backup the database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
OmarNaji1
Posts: 17
Joined: Mon Mar 09, 2020 8:55 am

Backup the database

Post by OmarNaji1 »

Dear All,

I hope you all doing well and healthy.

I have a couple of question,
- How we can take a backup of the Nagios XI Database itself?
- Is Nagios XI backup include the Database also?


Best regards.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Backup the database

Post by benjaminsmith »

Hi @OmarNaji1,

Thank you and hope everything is going well for you too.

That's right, the backup archive contains the database and everything else required to restore and migrate the XI server.

Backing Up And Restoring Your Nagios XI System

You can also use mysqldump to export just the database information. For example, to dump the nagiosxi database, run the following.

Code: Select all

mysqldump -uroot -pnagiosxi nagiosxi > nagiosxi.sql
See: Using mysqldump for Backups

Let me know if you have any other questions.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
OmarNaji1
Posts: 17
Joined: Mon Mar 09, 2020 8:55 am

Re: Backup the database

Post by OmarNaji1 »

Thank you dear,
Please close this topic.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Backup the database

Post by benjaminsmith »

Thank you dear,
Please close this topic
You're welcome.

Thank you for using Nagios!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked