You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Shawn Heisey <ap...@elyograg.org> on 2023/07/14 18:09:50 UTC

backup API usage

I am trying to find my away around the Collections API for backup and 
restore.

I thought I would be able to use the LISTBACKUP action to get the list 
of backups ... but it doesn't look like that will be possible.  To use 
the LISTBACKUP action, I have to know the backup name and pass it to the 
API call.  This is problematic because I won't have the backup name when 
the program starts ... I need my program to get a list of backup names 
in the repo so that it can figure out which backups it should delete.

Please assume that the machine running the backup/restore program will 
NOT have access to the shared storage mounted on all the Solr servers. 
I want this to ONLY require HTTP access to Solr.

Right now the backup/restore program is written as a python script.  The 
customer wants it rewritten in Java, which I am working on.

The Solr servers are running version 9.1.1.

Thanks,
Shawn