lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: How to view number of backups available
Date Sat, 02 Aug 2014 04:48:58 GMT
No, there is no such API. It will be a good improvement though. Mind
creating a Jira issue?


On Sat, Aug 2, 2014 at 8:35 AM, Ramana OpenSource <
ramanaopensource@gmail.com> wrote:

> Hi All,
>
> I am using Replication backup command to create snapshot of my index.
>
> http://localhost:8983/solr/replication?command=backup&numberToKeep=2
>
> At any point, If I would like to know how many number of back ups
> available, do we have any API that supports this ?
>
> The close one i see is
> http://localhost:8983/solr/replication?command=details
>
> But the above URL gives overview of snapshots available. It doesn't say how
> many number of snapshots available.
>
> <lst name="backup">
> <str name="startTime">Sat Aug 02 08:33:37 IST 2014</str>
> <int name="fileCount">24</int>
> <str name="status">success</str>
> <str name="snapshotCompletedAt">Sat Aug 02 08:33:37 IST 2014</str>
> <null name="snapshotName"/>
> </lst>
>
> Please suggest.
>



-- 
Regards,
Shalin Shekhar Mangar.

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