Page 2 of 3
Re: Log Server Backup Snapshots no getting created
Posted: Mon Oct 24, 2016 6:34 am
by oxigenservices
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
Posted: Mon Oct 24, 2016 12:12 pm
by rkennedy
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.
Re: Log Server Backup Snapshots no getting created
Posted: Tue Oct 25, 2016 12:05 am
by oxigenservices
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.
Could you please share detailed steps to perform.
Re: Log Server Backup Snapshots no getting created
Posted: Tue Oct 25, 2016 9:43 am
by rkennedy
oxigenservices wrote: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.
Could you please share detailed steps to perform.
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.
See my previous response.
Re: Log Server Backup Snapshots no getting created
Posted: Fri Nov 04, 2016 2:34 am
by oxigenservices
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.
Archive LS.png
Re: Log Server Backup Snapshots no getting created
Posted: Fri Nov 04, 2016 10:08 am
by rkennedy
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?
Re: Log Server Backup Snapshots no getting created
Posted: Mon Nov 07, 2016 1:32 am
by oxigenservices
Below is the required screenshot.
Backup & Maintenance.JPG
Re: Log Server Backup Snapshots no getting created
Posted: Mon Nov 07, 2016 3:24 pm
by mcapra
Can you share an updated output of
ll from the repository's path?
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
I'm interested in seeing if the outputs of those commands differ at all from the outputs against the old repository.
Re: Log Server Backup Snapshots no getting created
Posted: Wed Nov 16, 2016 5:55 am
by oxigenservices
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.
Backup SS.JPG
Backup SS1.JPG
Re: Log Server Backup Snapshots no getting created
Posted: Wed Nov 16, 2016 11:32 am
by rkennedy
To meet your requirement you'll want to change the 'Delete backups older than' from 35 -> 60. It should be working after that.