Page 2 of 2
Re: Log Server not creating backups
Posted: Fri Oct 14, 2016 11:30 am
by mcapra
If the snapshot shows up in the NLS GUI under "Backup & Maintenance", then you should be all set
Re: Log Server not creating backups
Posted: Fri Oct 14, 2016 2:23 pm
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
Re: Log Server not creating backups
Posted: Sun Oct 16, 2016 8:03 pm
by Box293
Can you show us what you mean by the backup being created in the local store.
Re: Log Server not creating backups
Posted: Mon Oct 17, 2016 12:37 pm
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)
Re: Log Server not creating backups
Posted: Mon Oct 17, 2016 3:20 pm
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.
Re: Log Server not creating backups
Posted: Wed Oct 19, 2016 3:10 pm
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
Re: Log Server not creating backups
Posted: Wed Oct 19, 2016 3:23 pm
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!