Log Server not creating backups
Log Server not creating backups
Hello Server Support
Our LOG server is not creating backups. Configuration as attached, /mnt/local storage accessible, but no backups created.
Please help.
Our LOG server is not creating backups. Configuration as attached, /mnt/local storage accessible, but no backups created.
Please help.
You do not have the required permissions to view the files attached to this post.
Last edited by dwhitfield on Wed Oct 19, 2016 3:24 pm, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Re: Log Server not creating backups
Assuming this is NLS 1.4.x, can you share the output of the following commands:
Code: Select all
curator --debug snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%d
ls -al /mnt/backup
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server not creating backups
mcapra wrote:Assuming this is NLS 1.4.x, can you share the output of the following commands:
Code: Select all
curator --debug snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%d ls -al /mnt/backup
curator produces VERY long output. Some portion of it is in the first file.
LS output includes snapshots copied there manully by me
You do not have the required permissions to view the files attached to this post.
Re: Log Server not creating backups
That shows up in the curator output. Do all nodes on your NLS cluster have write access to /mnt/backup?Failed to verify all nodes have repository access.
Also please share the contents of your elasticsearch logs (usually located at /var/log/elasticsearch/*.log).
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server not creating backups
backup directory would be 777mcapra wrote:That shows up in the curator output. Do all nodes on your NLS cluster have write access to /mnt/backup?Failed to verify all nodes have repository access.
Also please share the contents of your elasticsearch logs (usually located at /var/log/elasticsearch/*.log).
attached logs
where would create_backup.sh dump the backup?
- is there an argument to use 'mnt/backup' ?
You do not have the required permissions to view the files attached to this post.
Re: Log Server not creating backups
Looking at the previous ls -al output:
This looks like 755 permissions on the path, not 777. Can you try a chmod 777 /mnt/backup and see if that fixes things?
Code: Select all
[root@fikc-naglsprod01 /]# ls -al /mnt/backup
total 88
drwxr-xr-x 3 root root 4096 Oct 13 18:49 .Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Log Server not creating backups
Backups will be in /store/backups/nagioslogserver/$TIMESTAMP
Previous Nagios employee
Re: Log Server not creating backups
Did that.mcapra wrote:Looking at the previous ls -al output:
This looks like 755 permissions on the path, not 777. Can you try a chmod 777 /mnt/backup and see if that fixes things?Code: Select all
[root@fikc-naglsprod01 /]# ls -al /mnt/backup total 88 drwxr-xr-x 3 root root 4096 Oct 13 18:49 .
How I could test-backup to /mnt/backup ?
Re: Log Server not creating backups
You can "Reset All Jobs" in the Admin->Command Subsystem menu, or run the following command from the CLI:
If it doesn't work, i'd like to see the full debug output again:
Code: Select all
curator snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%dCode: Select all
curator --debug snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%dFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server not creating backups
-------------------------------mcapra wrote:You can "Reset All Jobs" in the Admin->Command Subsystem menu, or run the following command from the CLI:
If it doesn't work, i'd like to see the full debug output again:Code: Select all
curator snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%d
Code: Select all
curator --debug snapshot --repository Local indices --older-than 1 --time-unit days --timestring %Y.%m.%d
Seem to be successful:
2016-10-14 16:14:47,142 INFO Snapshot name: curator-20161014161447
2016-10-14 16:26:07,820 INFO Snapshot curator-20161014161447 successfully completed.
2016-10-14 16:26:07,820 INFO Job completed successfully.