Backup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
samutu
Posts: 4
Joined: Mon Mar 09, 2015 7:20 am

Backup

Post by samutu »

Hello

Here is my backup settings

Image

If i try to restore snapshot older than 14 days, it says

Image

Thansk for help.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Backup

Post by tmcdonald »

Can you please include the images?
Former Nagios employee
samutu
Posts: 4
Joined: Mon Mar 09, 2015 7:20 am

Re: Backup

Post by samutu »

What about now..
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Backup

Post by jolson »

Interesting. How many nodes are in your cluster, and do all of the nodes have access to the same repository? In this case the repository is /tmp/nagios.

For the backup and restore process to work properly, you will need to have an NFS/CIFS/etc share that is mounted on all of your nodes in the cluster at /tmp/nagios. This way all of the nodes can access all of the backups properly.

EDIT: I personally recommend using NFS, as it's easy and well trusted as far as linux file-sharing protocols go. I have had issues on my test servers using CIFS shares as sometimes they disconnect mid-backup, which can corrupt backups and prevent future jobs. Your mileage may vary, but I figured I'd throw in my 2 cents.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
samutu
Posts: 4
Joined: Mon Mar 09, 2015 7:20 am

Re: Backup

Post by samutu »

I'm just testing the product so now i have only one node.

It seems like the hole backup process has stopped and no new metadata or snapshots are created..

Here are files today
files.png
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Backup

Post by jolson »

Please answer the below questions:

How many nodes are in your cluster, and do all of the nodes have access to the same backup repository?

If the above is fine, I would like you to run through the following procedure.

Run a following tail on jobs.log on every node - this file will be 0bytes because it is truncated often - hence the follow-tail:

Code: Select all

tail -f /usr/local/nagioslogserver/var/jobs.log
Now run a 'reset jobs' command, follow by a 'backup and maintenance' command - you can force these commands to run via the Web GUI:
2015-05-07 09_56_50-Command Subsystem • Nagios Log Server.png
Let me know what your jobs.log files turn out. Thanks!
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
samutu
Posts: 4
Joined: Mon Mar 09, 2015 7:20 am

Re: Backup

Post by samutu »

Like I said, I have only one node.

That reset button worked! New snapshots appear and I can restore them.

This is enough for me, thanks!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Backup

Post by jolson »

samutu,

Glad that worked for you. Feel free to open another thread if you have any additional questions/problems. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked