Local Backup Archives - backup not showing
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Local Backup Archives - backup not showing
I created a local backup archive through the Nagios XI interface. It was created in /store/backups/nagiosxi and I can see it from the server terminal. However, it is not show in the interface. It just says there are no system backups available. The verified that the backup is owned by nagios:nagios.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Local Backup Archives - backup not showing
Hello @dbcummings,
The program is simply listing the files in that directory. Have you tried clearing the browser cache or logging in from another browser?
What is the output of the following commands?
Run the following tail command and then perform a local backup and post the output. Thanks.
The program is simply listing the files in that directory. Have you tried clearing the browser cache or logging in from another browser?
What is the output of the following commands?
Code: Select all
ls -ld /store/backups/nagiosxi
ls -lR /store/backups/nagiosxi
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
Sent you a PM
Re: Local Backup Archives - backup not showing
A couple of question.
What version of XI are you on?
Can you double check your backup settings? Both in the web interface, check the Schedule Backups page, in the Local tab, copy/paste what is shows in the Location into the forums here.
Then at the terminal, copy and paste the output of the following command here in the forums (assuming it does not show any sensitive data)
Edit:
My apologies, it looks like you've already sent in those ls commands. I will check that out.
What version of XI are you on?
Can you double check your backup settings? Both in the web interface, check the Schedule Backups page, in the Local tab, copy/paste what is shows in the Location into the forums here.
Then at the terminal, copy and paste the output of the following command here in the forums (assuming it does not show any sensitive data)
Code: Select all
ls -lh /store/backups/
ls -lh /store/backups/nagiosxi/My apologies, it looks like you've already sent in those ls commands. I will check that out.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
I noticed a problem with the /store/backups/nagiosxi directory not being own by the nagios user. So, I did a chown -R nagios:nagios to that directory. However, the files are still not appearing in the interface.
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
I also tried this on another production server where we didn't have an initial permissions issue. And, we are having the same problem. This is our current version.
5.6.6
5.6.6
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
One more bit of info. We are using a symlink from /store to /somedirectory/store
Re: Local Backup Archives - backup not showing
I have run into software that does not like symlinks. I just tried this out on my system, and I'm able to make backups, and see them in the Local Backup Archives.dbcummings wrote:One more bit of info. We are using a symlink from /store to /somedirectory/store
What's the purpose for the symlink? Is it just another disk that's attached to the system, or a network file system? My initial test worked, but I'd like to test this in a way that lines up better with your environment.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
We have to use SAN for any large disk storage. So, that is the main purpose. The rest of Nagios is running using symlinks with no problems thus far.
I am also getting these messages in /usr/local/nagiosxi/var/components/scheduledbackups.log when trying to run overnight backups.
09-17-2019 00:11:55 ERROR: Scheduled SSH Backup Failed: Local file to transfer does not exist
I am also getting these messages in /usr/local/nagiosxi/var/components/scheduledbackups.log when trying to run overnight backups.
09-17-2019 00:11:55 ERROR: Scheduled SSH Backup Failed: Local file to transfer does not exist
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Local Backup Archives - backup not showing
I am wondering if some of this has to do with dirname in backup_xi.sh. I am not sure how dirname will react to symlinks.