Log Server not creating backups

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Log Server not creating backups

Post by mcapra »

If the snapshot shows up in the NLS GUI under "Backup & Maintenance", then you should be all set
Former Nagios employee
https://www.mcapra.com/
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Log Server not creating backups

Post by dlukinski »

mcapra wrote:If the snapshot shows up in the NLS GUI under "Backup & Maintenance", then you should be all set
It does, but the backup is still created in the local store, not on the mount
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Log Server not creating backups

Post by Box293 »

Can you show us what you mean by the backup being created in the local store.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Log Server not creating backups

Post by dlukinski »

Box293 wrote:Can you show us what you mean by the backup being created in the local store.
Here you go (attached)

On the left would be the store with recent backups created by LOG.
On the right that extra mount I am trying to use for backups instead (but they are not saved in there - these were copied manually)
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Log Server not creating backups

Post by mcapra »

Where the actual backups (the .tar.gz) are created is hard-coded in our create_backup.sh script around line 12:

Code: Select all

BACKUP_DIR="/store/backups/nagioslogserver"
I would suggest altering that to match the new place you would like to keep the raw backups. The repositories created via the Nagios Log Server GUI only pertain to elasticsearch snapshots, not the raw backups created by our script.

The wording on the "Backup & Maintenance" page has confused a few different people. Rephrasing it and adjusting some visual elements is something that has been discussed internally.
Former Nagios employee
https://www.mcapra.com/
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Log Server not creating backups

Post by dlukinski »

mcapra wrote:Where the actual backups (the .tar.gz) are created is hard-coded in our create_backup.sh script around line 12:

Code: Select all

BACKUP_DIR="/store/backups/nagioslogserver"
I would suggest altering that to match the new place you would like to keep the raw backups. The repositories created via the Nagios Log Server GUI only pertain to elasticsearch snapshots, not the raw backups created by our script.

The wording on the "Backup & Maintenance" page has confused a few different people. Rephrasing it and adjusting some visual elements is something that has been discussed internally.
This worked, thank you
Please close the case

/Dimitri
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Log Server not creating backups

Post by dwhitfield »

Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!
Locked