Changing the path for command line backup?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Changing the path for command line backup?

Post by TBT »

The command line backup script (/usr/local/nagiosxi/scripts/backup_xi.sh) uses a default storage path of /store/backups/nagiosxi/ and I'd like to change this to a NFS mount.

Any issues with modifying line 59 rootdir="/store/backups/nagiosxi", or is there a recommended solution?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Changing the path for command line backup?

Post by benjaminsmith »

Hello @TBT,

Keep in mind that if you modify the backup script, any changes will be lost when you upgrade. You can also set up a local scheduled backup and this will allow you to set a different path.
local-backups.png
You do not have the required permissions to view the files attached to this post.
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!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Changing the path for command line backup?

Post by TBT »

That is acceptable as I'm currently testing something.

Using the Local scheduled backup, it can only run once daily.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Changing the path for command line backup?

Post by benjaminsmith »

Hi TBT,

Glad that will work. That's correct - daily, weekly or monthly.

Did you have any other questions?
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