[
https://issues.apache.org/jira/browse/SOLR-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227555#comment-15227555
]
David Smiley edited comment on SOLR-5750 at 4/6/16 1:59 AM:
------------------------------------------------------------
(I'm working moving this forward still; expect another update in a day or so)
[~hgadre] the current functionality in the patch allows one to specify a
restored collection name. In the event one is trying to restore without
downtime, I think this can and should be accomplished with collection aliases.
So if you intend on needing that, you would create the collection at the outset
with a sequence number 0. When restoring, use the next sequence number and then
switch the alias to this new one, and then delete the old one. I'll grant you
that it's less ideal in that one has to plan for this in advance and do this
little dance.
was (Author: dsmiley):
(I'm working moving this forward still; expect another update in a day or so)
[~hgadre] the current functionality in the patch allows one to specify a
restored collection name. In the event one is trying to snapshot/restore, I
think this can and should be accomplished with collection aliases. So if you
intend on using this feature, you would create the collection with a sequence
number (or say a/b) and then restore to the next sequence number and when done
then switch the alias to a new one, and then delete the old one. I'll grant
you that it's less ideal in that one has to plan for this in advance and do
this little dance.
> 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
>
>
> 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]