Hi Michael,

As you mentioned, the community originally planned to remove support
for creating new "snapshot-based" backups in 9.0.  But, luckily for
your case: it fell off my radar and was never actually removed.  So
you should still be able to create snapshot backups using the
incremental=false flag (i.e.
/solr/admin/collections?action=BACKUP&incremental=false), even in Solr
9.0.

Officially, the functionality is deprecated, so it shouldn't be relied
on going forward.  But it is still technically there if you want to
use it.

Best,

Jason

On Wed, Jul 6, 2022 at 3:56 PM DAVID MARTIN NIETO <[email protected]> wrote:
>
> Hi,
>
> I have no tested to backup on cloud solr and restore on a standalone solr but 
> I believe it can works to.
>
> We use that:
>
> https://solr.apache.org/guide/7_3/collections-api.html#backup
> https://solr.apache.org/guide/7_3/collections-api.html#restore
>
> With a custom script that make a backup for the collections we want it, and 
> after we can restore on demand.
>
> One thing if you have multiple solr instances the backup and restore must be 
> in a NFS filesystem, shared by all the instances servers.
> Test it and tell us! Luck with it!
>
> Kind regards.
>
> ________________________________
> David Martín Nieto
> E-mail: [email protected] | Web: www.viewnext.com
> ________________________________
> [https://mail.google.com/mail/u/0?ui=2&ik=72317294cd&attid=0.0.2&permmsgid=msg-f:1662155651369049897&th=171129c229429f29&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_o0Ds8_P8d7W-csq2mmc6mBGQy9hSjXsGEv15RXUutalCYzg3HQB3CByE2swcJkH3yRaLwrXkr1G81F9FpfqcPlbpRoZcainmsJjviLoypusuKOxCnOw97zuo&disp=emb]
>
>
> ________________________________
> De: michael dürr <[email protected]>
> Enviado: miércoles, 6 de julio de 2022 15:32
> Para: [email protected] <[email protected]>
> Asunto: Howto restore backup from solr cloud to solr standalone after 
> upgrading to 9.0
>
> Hi,
>
> we have a production environment that runs solr in cloud mode and we have
> a testing environment that runs solr in standalone mode. From time to time
> we use a database dump of our production environment and import it to the
> testing environment. Since it would take too long to build the solr indices
> on the testing system afterwards, we do the same with the production
> indices, i.e:
> As we don't have any sharding, we simply create a snapshot backup from the
> production environment, copy it to the testing environment, and restore
> that index from the snapshot as a solr core.
>
> Afaik solr 9.0 no longer supports the old snapshot backup
> (incremental=false)
>
> What is the best way to keep that workflow going after upgrading to 9.0?
>
> Thanks!
> Michael

Reply via email to