lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Potter <>
Subject Re: Need hook to know when replication backup is actually completed.
Date Fri, 12 Apr 2013 19:04:28 GMT
Update to this ... did some code scanning and it looks like the backup
status is available via the details command, e.g.

<lst name="backup">
  <str name="startTime">Fri Apr 12 17:53:17 UTC 2013</str>
  <int name="fileCount">120</int>
  <str name="status">success</str>
  <str name="snapshotCompletedAt">Fri Apr 12 17:58:22 UTC 2013</str>

So with a little polling of the details command from my backup script and
I'm good to go. If anyone knows of a more direct way, let me know otherwise
I'm moving ahead with this approach.


On Fri, Apr 12, 2013 at 9:31 AM, Timothy Potter <>wrote:

> Hi,
> I'd like to use the backup command to create a backup of each shard
> leader's index periodically. This is for disaster recovery in case our data
> center goes offline.
> We use SolrCloud leader/replica for day-to-day fault-tolerance and it
> works great.
> The backup command (
> http://master_host:port/solr/replication?command=backup) works just fine
> but it returns immediately while the actual backup creation runs in the
> background on the shard leader.
> Is there any way to know when the actual backup is complete? I need that
> hook to then move the backup to another storage device outside of our data
> center, e.g. S3.
> What are others doing for this type of backup process?
> Thanks in advance.
> Tim

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message