backup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
pccwglobalit
Posts: 105
Joined: Wed Mar 11, 2015 9:00 pm

Re: backup

Post by pccwglobalit »

this is tail result
Running command do_backups with args ' ' for job id: backups
SUCCESS
Processed 0 node jobs.
Processed 1 global jobs.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: backup

Post by jolson »

Do you see all of your backups listed properly in the Web GUI?

It's possible that the backup ran on a node that you were not tailing - please verify whether or not your problem is persisting. 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.
pccwglobalit
Posts: 105
Joined: Wed Mar 11, 2015 9:00 pm

Re: backup

Post by pccwglobalit »

the web ui is still

nlsbackup Snapshots
Name State Indexes Actions
logstash-2015.02.11 IN_PROGRESS logstash-2015.02.11 restore delete
logstash-2014.12.18 IN_PROGRESS logstash-2014.12.18 restore delete
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: backup

Post by jolson »

Can you delete them both from the Web GUI and re-launch the backup and maintenance command?
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.
pccwglobalit
Posts: 105
Joined: Wed Mar 11, 2015 9:00 pm

Re: backup

Post by pccwglobalit »

i have deleted in web gui and now when i run backup_maintenance,
the web UI is
logstash-2015.02.13 IN_PROGRESS logstash-2015.02.13
it is almost 24 hours
backups Waiting SUCCESS 05/13/2015 16:02:08 1 day 05/14/2015 16:02:09 System Edit
how i can know the status of snapshot.

it showed
2015-05-14 15:07:17,353 INFO Attempting to optimize index logstash-2015.05.12.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/curator/curator.py", line 736, in <module>
main()
File "/usr/lib/python2.7/site-packages/curator/curator.py", line 731, in main
arguments.func(client, **argdict)
File "/usr/lib/python2.7/site-packages/curator/curator.py", line 585, in command_loop
skipped = op(client, index_name, **kwargs)
File "/usr/lib/python2.7/site-packages/curator/curator.py", line 406, in _create_snapshot
client.snapshot.create(repository=repository, snapshot=snap_name, body=body, wait_for_completion=wait_for_completion)
File "/usr/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 68, in _wrapped
return func(*args, params=params, **kwargs)
File "/usr/lib/python2.7/site-packages/elasticsearch/client/snapshot.py", line 22, in create
repository, snapshot), params=params, body=body)
File "/usr/lib/python2.7/site-packages/elasticsearch/transport.py", line 307, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
File "/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 86, in perform_request
self._raise_error(response.status, raw_data)
File "/usr/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 102, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.TransportError: TransportError(503, u'RemoteTransportException[[181841a1-d717-437c-bd36-6d4a8344abe6][inet[/192.168.78.10:9300]][cluster/snapshot/create]]; nested: ConcurrentSnaps$otExecutionException[[nlsbackup:logstash-2015.02.14] a snapshot is already running]; ')
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: backup

Post by jolson »

I think it would be a good idea to move this thread to a ticket so that we can setup a remote session. Please email [email protected] with a reference to this thread, and we'll get this issue worked out.
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.
pccwglobalit
Posts: 105
Joined: Wed Mar 11, 2015 9:00 pm

Re: backup

Post by pccwglobalit »

can i do the backup manually?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: backup

Post by jolson »

Running the 'backup_maintenance' command is how you initiate the backup process manually. You can see the running snapshots with the following command:

Code: Select all

curl -s -XGET 'http://localhost:9200/_cluster/state?pretty' | grep snapshot -A 100
Could I see a screenshot of your 'Instance Status' page please?
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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: backup

Post by jolson »

I received your ticket, locking this thread - I will post the resolution here once it's available.
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