[
https://issues.apache.org/jira/browse/SOLR-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260789#comment-15260789
]
Hrishikesh Gadre commented on SOLR-5750:
----------------------------------------
[~dsmiley] [~shalinmangar] I am refactoring the the backup/restore
implementation in the Overseer primarily to make it extensible. Although we can
do that as part of a separate JIRA, it would be nice if we can get it done as
part of this patch itself. I should be able to complete this in next day or two.
Also I filed [SOLR-9038|https://issues.apache.org/jira/browse/SOLR-9038] to
provide a lightweight alternative to the "full" backup solution implemented by
this JIRA. Both these JIRAs need following functionality
- Backing up collection metadata
- Restore the collection (both index data and collection metadata).
Since the APIs defined in this patch use the name "snapshot", I wonder how
should we reconcile these two features? I could think of following options,
- provide a way to override the behavior (e.g. as an API parameter OR some
other global configuration)
- rename the APIs here to indicate that its a "full" backup (e.g.
CREATEBACKUP/DELETEBACKUP). This will be consistent with the current core level
operations (BACKUP/RESTORE).
Please let me know your thoughts on this...
> Backup/Restore API for SolrCloud
> --------------------------------
>
> Key: SOLR-5750
> URL: https://issues.apache.org/jira/browse/SOLR-5750
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Varun Thacker
> Fix For: 5.2, master
>
> Attachments: SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch,
> SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch
>
>
> We should have an easy way to do backups and restores in SolrCloud. The
> ReplicationHandler supports a backup command which can create snapshots of
> the index but that is too little.
> The command should be able to backup:
> # Snapshots of all indexes or indexes from the leader or the shards
> # Config set
> # Cluster state
> # Cluster properties
> # Aliases
> # Overseer work queue?
> A restore should be able to completely restore the cloud i.e. no manual steps
> required other than bringing nodes back up or setting up a new cloud cluster.
> SOLR-5340 will be a part of this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]