Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81E6718FBD for ; Thu, 14 Jan 2016 16:00:26 +0000 (UTC) Received: (qmail 80616 invoked by uid 500); 14 Jan 2016 16:00:20 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 80563 invoked by uid 500); 14 Jan 2016 16:00:20 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 80541 invoked by uid 99); 14 Jan 2016 16:00:19 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 16:00:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 41186C17B9 for ; Thu, 14 Jan 2016 16:00:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.911 X-Spam-Level: ** X-Spam-Status: No, score=2.911 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IGbmUWwGd_5b for ; Thu, 14 Jan 2016 16:00:05 +0000 (UTC) Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E050731AD0 for ; Thu, 14 Jan 2016 16:00:04 +0000 (UTC) Received: by mail-vk0-f49.google.com with SMTP id n1so128211784vkb.3 for ; Thu, 14 Jan 2016 08:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Bh9peaIPnfaVBM3YN5dUeDU62LOcN4vj6CgtN+YDrDs=; b=TOCjHBY67Q15f+LAy31fNPOYsyOJJO7H3LV1SZGKGJ08bVLNUIngeCyw7Xll5TTLXZ 4LkQwXtRnG4CsTc/ighYfD0swqk1T/wuKfWWmP21vorS8TUjuX695wp5A7t7OeHAGai+ nCHUFVk0lojKuPF2j6zoShtNRLEqN5HhgEVcM5CTc9GZ22wGGiOLynaDatuYT0Yv95lA Kd3ct9K3BXiQh6elt8iY+JG1ix93iDVg7tp12HT16BVBsOYUyXFO3okMfoEAq/dmJYJB Ur5E6jzHlhznggq4W7cVOWMOAAUpnMaMAjr+qsIuv3kRRzYfGQqszaRO5g5lJ9mH6ybT NAYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Bh9peaIPnfaVBM3YN5dUeDU62LOcN4vj6CgtN+YDrDs=; b=GCcreIobbPxWSpe0Lsv9G4XNquTjCyXNqQ9RW5bekAA291DGxGXktgS8nDluUSlmqL D+BVMwPE068gynlFRON2YHmyoH+yBDW4Gbi8mbRYeIB0bS1ZmK7gWEQT5F10tokYZaog KU2PX8f5CF1O0xT4OyCjIyLIUXPDAV1mfBIeNLt/UhXHzmz6TEB0QupuSvsfv8uS1oXq DfnsCmr6rMSzeh+Kl6CU/lzho6vnA2w2t8k7Y00J7C2ddLESBvrYPjLz5oavP8C7taWP lgjvIupz9RluZ9HuJ7236e9CfyPbkTIaYUzziRoR0LNR6BHW33whI2yE3t7dx/2SKdIM qfZw== X-Gm-Message-State: ALoCoQlXNV8Zdu62ADfA7BpnwDw4gWBls9S9GThLbb4OldguM52UTTs230GsOE33dzAGkbK8YjHD+nIkP52cMej4SZ23aejHrg== MIME-Version: 1.0 X-Received: by 10.31.141.75 with SMTP id p72mr3903092vkd.13.1452787198518; Thu, 14 Jan 2016 07:59:58 -0800 (PST) Received: by 10.31.47.137 with HTTP; Thu, 14 Jan 2016 07:59:58 -0800 (PST) In-Reply-To: References: Date: Thu, 14 Jan 2016 10:59:58 -0500 Message-ID: Subject: Re: Monitor backup progress when location parameter is used. From: Jack Krupansky To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a11426560e6eae305294d60c8 --001a11426560e6eae305294d60c8 Content-Type: text/plain; charset=UTF-8 I think the doc is wrong or at least misleading: https://cwiki.apache.org/confluence/display/solr/Making+and+Restoring+Backups+of+SolrCores "The backup operation can be monitored to see if it has completed by sending the details command to the /replication handler..." >From reading the code, it looks like the snapshot details are only stored and returned after the snapshot completes, either successfully or fails, but there is nothing set or reported if a snapshot is in progress. So, if you don't see a "backup" section in the response, that means the snapshot is in progress. I think it's worth a Jira - either to improve the doc or improve the code to report backup as "inProgress... StartedAt...". You can also look at the log... "Creating backup snapshot" indicates the backup has started and "Done creating backup snapshot" indicates success or "Exception while creating snapshot" indicates failure. If only that first message appeals, it means the backup is still in progress. -- Jack Krupansky On Thu, Jan 14, 2016 at 9:23 AM, Gian Maria Ricci - aka Alkampfer < alkampfer@nablasoft.com> wrote: > If I start a backup operation using the location parameter > > > > *http://localhost:8983/solr/mycore/replication?command=backup&name=mycore& > location=z:\temp\backupmycore* > > > > How can I monitor when the backup operation is finished? Issuing a > standard *details* operation > > > > *http://localhost:8983/solr/ mycore > /replication?command=details* > > > > does not gives me useful information, because there are no information on > backup on returning data. > > > > > > > > > > > > 0 > > 1 > > > > > > 57.62 GB > > name="indexPath">X:\NoSql\Solr\solr-5.3.1\server\solr\mycore\data\index/ > > > > > > 1452534703494 > > 1509 > > > > _2cw.fdt > > _2cw.fdx > > _2cw.fnm > > _2cw.nvd > > _2cw.nvm > > _2cw.si > > _2cw_Lucene50_0.doc > > _2cw_Lucene50_0.dvd > > _2cw_Lucene50_0.dvm > > _2cw_Lucene50_0.pos > > _2cw_Lucene50_0.tim > > _2cw_Lucene50_0.tip > > segments_15x > > > > > > > > true > > false > > 1452534703494 > > 1509 > > > > name="confFiles">schema.xml,stopwords.txt,elevate.xml > > > > optimize > > > > true > > > > > > > > > > -- > Gian Maria Ricci > Cell: +39 320 0136949 > > [image: > https://ci5.googleusercontent.com/proxy/5oNMOYAeFXZ_LDKanNfoLRHC37mAZkVVhkPN7QxMdA0K5JW2m0bm8azJe7oWZMNt8fKHNX1bzrUTd-kIyE40CmwT2Mlf8OI=s0-d-e1-ft#http://www.codewrecks.com/files/signature/mvp.png] > [image: > https://ci3.googleusercontent.com/proxy/f-unQbmk6NtkHFspO5Y6x4jlIf_xrmGLUT3fU9y_7VUHSFUjLs7aUIMdZQYTh3eWIA0sBnvNX3WGXCU59chKXLuAHi2ArWdAcBclKA=s0-d-e1-ft#http://www.codewrecks.com/files/signature/linkedin.jpg] > [image: > https://ci3.googleusercontent.com/proxy/gjapMzu3KEakBQUstx_-cN7gHJ_GpcIZNEPjCzOYMrPl-r1DViPE378qNAQyEWbXMTj6mcduIAGaApe9qHG1KN_hyFxQAIkdNSVT=s0-d-e1-ft#http://www.codewrecks.com/files/signature/twitter.jpg] > [image: > https://ci5.googleusercontent.com/proxy/iuDOD2sdaxRDvTwS8MO7-CcXchpNJX96uaWuvagoVLcjpAPsJi88XeOonE4vHT6udVimo7yL9ZtdrYueEfH7jXnudmi_Vvw=s0-d-e1-ft#http://www.codewrecks.com/files/signature/rss.jpg] > [image: > https://ci6.googleusercontent.com/proxy/EBJjfkBzcsSlAzlyR88y86YXcwaKfn3x7ydAObL1vtjJYclQr_l5TvrFx4PQ5qLNYW3yp7Ig66DJ-0tPJCDbDmYAFcamPQehwg=s0-d-e1-ft#http://www.codewrecks.com/files/signature/skype.jpg] > > > --001a11426560e6eae305294d60c8--