Re: Solr - Backup api throwing exception

2016-09-07 Thread Jan Høydahl
Hi, Backup can take time, so consider calling it asynchronously - https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AsynchronousCalls -- Jan Høydahl, search solutio

Re: Solr - Backup api throwing exception

2016-09-07 Thread Praveen Babu
Hi Jan Høydahl, I have followed your suggestion. That issue got resolved. Now I a facing another issue . Backup command getting disconnect in 180 sec. curl ' http://localhost:8983/solr/admin/collections?action=BACKUP&name=top_bk1&collection=topapp&location=/home/ubuntu/nfs ' 500181162or

Re: Solr - Backup api throwing exception

2016-09-06 Thread Jan Høydahl
Hi Praveen. From the exception "Directory to contain snapshots doesn't exist: /home/ubuntu/top4_bk”, we can tell that you are not using a shared file system, e.g NFS, for your backup. If you read the Reference Guide docs you will see that this is a prerequisite. What happens is that the Oversee

Solr - Backup api throwing exception

2016-09-06 Thread Praveen Babu
Hi, I am unable to backup the solr collection. Please help curl ' http://localhost:8983/solr/admin/collections?action=BACKUP&name=top4_bk&collection=topapp&location=/home/ubuntu/ ' 50039org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://:8983/