[ https://issues.apache.org/jira/browse/SOLR-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272576#comment-15272576 ]
Hrishikesh Gadre commented on SOLR-9055: ---------------------------------------- Yes that's why I thought to define a separate interface (although there is some redundancy wrt Directory interface). So I am thinking to define a new section i n the solr.xml to configure the backup directories. e.g. <backup-locations> <backup-location name="hdfs" type="solr.HdfsRepository"> <base_location>/solr-backups</base_location> ... (Other params) </backup-location> ... </backup-locations> During the backup/restore operation, user can specify "name" of the location. In case this parameter is absent, we will use the local file-system implementation for backwards compatibility. Thoughts? > Make collection backup/restore extensible > ----------------------------------------- > > Key: SOLR-9055 > URL: https://issues.apache.org/jira/browse/SOLR-9055 > Project: Solr > Issue Type: Task > Reporter: Hrishikesh Gadre > Assignee: Mark Miller > Attachments: SOLR-9055.patch, SOLR-9055.patch > > > SOLR-5750 implemented backup/restore API for Solr. This JIRA is to track the > code cleanup/refactoring. Specifically following improvements should be made, > - Add Solr/Lucene version to check the compatibility between the backup > version and the version of Solr on which it is being restored. > - Add a backup implementation version to check the compatibility between the > "restore" implementation and backup format. > - Introduce a Strategy interface to define how the Solr index data is backed > up (e.g. using file copy approach). > - Introduce a Repository interface to define the file-system used to store > the backup data. (currently works only with local file system but can be > extended). This should be enhanced to introduce support for "registering" > repositories (e.g. HDFS, S3 etc.) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org