Log Server Backup Snapshots no getting created
-
oxigenservices
- Posts: 15
- Joined: Tue Sep 27, 2016 5:26 am
Re: Log Server Backup Snapshots no getting created
Could you please share detailed steps I need to perform. I am not that much familiar with Nagios and Linux.
Re: Log Server Backup Snapshots no getting created
First, delete the repository in the NLS GUI.
Then run the following from the command line -
rm -rf /archive
mkdir /archive
chown nagios.users /archive
If you're just using local storage, that should work, otherwise you'll want to mount the NFS / CIFS mount to that directory once again.
Now create the repository once again referencing the /archive directory.
Then run the following from the command line -
rm -rf /archive
mkdir /archive
chown nagios.users /archive
If you're just using local storage, that should work, otherwise you'll want to mount the NFS / CIFS mount to that directory once again.
Now create the repository once again referencing the /archive directory.
Former Nagios Employee
-
oxigenservices
- Posts: 15
- Joined: Tue Sep 27, 2016 5:26 am
Re: Log Server Backup Snapshots no getting created
Could you please share detailed steps to perform.rkennedy wrote:It looks like the repository is corrupted some how. Could you delete all contents of the repository on the system, and then delete -> create once again on the NLS interface?
This should fix it up, if not, please run the following command once again and post back the result.
Re: Log Server Backup Snapshots no getting created
oxigenservices wrote:Could you please share detailed steps to perform.rkennedy wrote:It looks like the repository is corrupted some how. Could you delete all contents of the repository on the system, and then delete -> create once again on the NLS interface?
This should fix it up, if not, please run the following command once again and post back the result.
See my previous response.rkennedy wrote:First, delete the repository in the NLS GUI.
Then run the following from the command line -
rm -rf /archive
mkdir /archive
chown nagios.users /archive
If you're just using local storage, that should work, otherwise you'll want to mount the NFS / CIFS mount to that directory once again.
Now create the repository once again referencing the /archive directory.
Former Nagios Employee
-
oxigenservices
- Posts: 15
- Joined: Tue Sep 27, 2016 5:26 am
Re: Log Server Backup Snapshots no getting created
Hi, we have tried the steps to re-create the repository but no luck. Can you please check the attached Commands Schedules. I am not sure about Backup and backup maintenance, if they could be be overlapping.
You do not have the required permissions to view the files attached to this post.
Re: Log Server Backup Snapshots no getting created
It looks like files were created on Nov 3, so that's a good sign. Can you show us a screenshot of the Backup & Maintenance page?
Former Nagios Employee
-
oxigenservices
- Posts: 15
- Joined: Tue Sep 27, 2016 5:26 am
Re: Log Server Backup Snapshots no getting created
Below is the required screenshot.
You do not have the required permissions to view the files attached to this post.
Re: Log Server Backup Snapshots no getting created
Can you share an updated output of ll from the repository's path?
Can you also share the output of the following commands:
I'm interested in seeing if the outputs of those commands differ at all from the outputs against the old repository.
Can you also share the output of the following commands:
Code: Select all
curator --version
curl -v -GET 127.0.0.1:9200/_snapshot/LocalArchive/_all
curator --debug snapshot --repository LocalArchive indices --older-than 1 --time-unit days --timestring %Y.%m.%d
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
oxigenservices
- Posts: 15
- Joined: Tue Sep 27, 2016 5:26 am
Re: Log Server Backup Snapshots no getting created
Hi Team,
After some troubleshooting at Server level we are been able to see backup snapshots but not as per backup configuration. My requirement is to keep 15 days (1-15) indices live, 15 days (16-30) indices closed and 30 days (31-60) indices as backup snapshot. Please check the below shown configuration and suggest changes required to achieve above requirement.
After some troubleshooting at Server level we are been able to see backup snapshots but not as per backup configuration. My requirement is to keep 15 days (1-15) indices live, 15 days (16-30) indices closed and 30 days (31-60) indices as backup snapshot. Please check the below shown configuration and suggest changes required to achieve above requirement.
You do not have the required permissions to view the files attached to this post.
Re: Log Server Backup Snapshots no getting created
To meet your requirement you'll want to change the 'Delete backups older than' from 35 -> 60. It should be working after that.
Former Nagios Employee