Hello, Koen.
What about switching "query" alias to restored collection, and then nuking
the old one?

On Fri, Oct 4, 2019 at 10:52 PM Koen De Groote <koen.degro...@limecraft.com>
wrote:

> Greetings.
>
> Solr 7.6, cloud.
>
> From what I've researched, backup and restore is pretty straightforward.
> BACKUP and RESTORE are collection commands and the backup is to be put on a
> shared filesystem.
>
> So far so good.
>
> I'm a bit concerned about the RESTORE action. A RESTORE command will create
> a new collection, meaning either I need to pick a new name or delete the
> old one first.
>
> And if I pick a new name, that would still mean restarting all clients that
> have to connect to it.
>
> The documentation speaks or using ALIAS, but I don't see how that works.
>
> I can only create an alias for an existing collection, so I'd first have to
> restore the backup to a different name, verify it is correct, delete the
> old collection and then give it an alias that is the name of the old
> collection?
>
> Or how is this supposed to work?
>
> Because honestly, deleting the existing collection first is rather scary
> and sounds like downtime for a restore is unavoidable.
>
> So, how to properly restore?
>
> Kind regards,
> Koen De Groote
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to