Page 1 of 1

Backup

Posted: Tue May 05, 2015 4:20 am
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.

Re: Backup

Posted: Tue May 05, 2015 9:16 am
by tmcdonald
Can you please include the images?

Re: Backup

Posted: Wed May 06, 2015 1:08 am
by samutu
What about now..

Re: Backup

Posted: Wed May 06, 2015 9:30 am
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.

Re: Backup

Posted: Thu May 07, 2015 1:22 am
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

Re: Backup

Posted: Thu May 07, 2015 9:57 am
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!

Re: Backup

Posted: Mon May 11, 2015 3:04 am
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!

Re: Backup

Posted: Mon May 11, 2015 9:13 am
by jolson
samutu,

Glad that worked for you. Feel free to open another thread if you have any additional questions/problems. Thanks!