You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by michael dürr <du...@gmail.com> on 2022/07/06 13:32:19 UTC
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
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by michael dürr <du...@gmail.com>.
Sounds good :-)
Thanks!
On Mon, Jul 25, 2022 at 4:13 PM Jason Gerlowski <ge...@gmail.com>
wrote:
> Good question: I guess my plan would be to keep it around for the
> remainder of the 9.x line, and then remove it for 10.0.
>
> Best,
>
> Jason
>
> On Tue, Jul 19, 2022 at 2:33 AM michael dürr <du...@gmail.com> wrote:
> >
> > Hi Jason,
> >
> > OK - that's good for me :-) Thanks!
> > So when do you plan to remove the support then? With version 9.1? Or
> rather
> > 10.x?
> >
> > Michael
> >
> > On Thu, Jul 14, 2022 at 5:39 PM Jason Gerlowski <ge...@gmail.com>
> > wrote:
> >
> > > Haha, a "happy accident" for sure! I never relish trimming
> > > functionality; it's necessary to keep the project even remotely
> > > maintainable, but it stinks knowing some "edge" usecases (like cloud
> > > -> standalone backups) might get bitten. So I'm glad my mistake
> > > worked out to Michael's benefit here haha.
> > >
> > > Best,
> > >
> > > Jason
> > >
> > > On Thu, Jul 14, 2022 at 9:02 AM David Hastings
> > > <ha...@gmail.com> wrote:
> > > >
> > > > "But, luckily for
> > > > your case: it fell off my radar and was never actually removed."
> > > >
> > > >
> > > > if this isn't the definition of my favorite part of open source
> > > software, i
> > > > don't know what is :)
> > > >
> > > > On Thu, Jul 14, 2022 at 8:41 AM Jason Gerlowski <
> gerlowskija@gmail.com>
> > > > wrote:
> > > >
> > > > > 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 <
> > > dmartinn@viewnext.com>
> > > > > 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> > > > > > Enviado: miércoles, 6 de julio de 2022 15:32
> > > > > > Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> > > > > > 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
> > > > >
> > >
> >
> >
> > --
> > Dr. Michael Dürr
> > Am Schilf 3
> > 87549 Rettenberg
> > Tel.: 0152 3189 8834
>
--
Dr. Michael Dürr
Am Schilf 3
87549 Rettenberg
Tel.: 0152 3189 8834
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by Jason Gerlowski <ge...@gmail.com>.
Good question: I guess my plan would be to keep it around for the
remainder of the 9.x line, and then remove it for 10.0.
Best,
Jason
On Tue, Jul 19, 2022 at 2:33 AM michael dürr <du...@gmail.com> wrote:
>
> Hi Jason,
>
> OK - that's good for me :-) Thanks!
> So when do you plan to remove the support then? With version 9.1? Or rather
> 10.x?
>
> Michael
>
> On Thu, Jul 14, 2022 at 5:39 PM Jason Gerlowski <ge...@gmail.com>
> wrote:
>
> > Haha, a "happy accident" for sure! I never relish trimming
> > functionality; it's necessary to keep the project even remotely
> > maintainable, but it stinks knowing some "edge" usecases (like cloud
> > -> standalone backups) might get bitten. So I'm glad my mistake
> > worked out to Michael's benefit here haha.
> >
> > Best,
> >
> > Jason
> >
> > On Thu, Jul 14, 2022 at 9:02 AM David Hastings
> > <ha...@gmail.com> wrote:
> > >
> > > "But, luckily for
> > > your case: it fell off my radar and was never actually removed."
> > >
> > >
> > > if this isn't the definition of my favorite part of open source
> > software, i
> > > don't know what is :)
> > >
> > > On Thu, Jul 14, 2022 at 8:41 AM Jason Gerlowski <ge...@gmail.com>
> > > wrote:
> > >
> > > > 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 <
> > dmartinn@viewnext.com>
> > > > 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> > > > > Enviado: miércoles, 6 de julio de 2022 15:32
> > > > > Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> > > > > 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
> > > >
> >
>
>
> --
> Dr. Michael Dürr
> Am Schilf 3
> 87549 Rettenberg
> Tel.: 0152 3189 8834
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by michael dürr <du...@gmail.com>.
Hi Jason,
OK - that's good for me :-) Thanks!
So when do you plan to remove the support then? With version 9.1? Or rather
10.x?
Michael
On Thu, Jul 14, 2022 at 5:39 PM Jason Gerlowski <ge...@gmail.com>
wrote:
> Haha, a "happy accident" for sure! I never relish trimming
> functionality; it's necessary to keep the project even remotely
> maintainable, but it stinks knowing some "edge" usecases (like cloud
> -> standalone backups) might get bitten. So I'm glad my mistake
> worked out to Michael's benefit here haha.
>
> Best,
>
> Jason
>
> On Thu, Jul 14, 2022 at 9:02 AM David Hastings
> <ha...@gmail.com> wrote:
> >
> > "But, luckily for
> > your case: it fell off my radar and was never actually removed."
> >
> >
> > if this isn't the definition of my favorite part of open source
> software, i
> > don't know what is :)
> >
> > On Thu, Jul 14, 2022 at 8:41 AM Jason Gerlowski <ge...@gmail.com>
> > wrote:
> >
> > > 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 <
> dmartinn@viewnext.com>
> > > 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> > > > Enviado: miércoles, 6 de julio de 2022 15:32
> > > > Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> > > > 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
> > >
>
--
Dr. Michael Dürr
Am Schilf 3
87549 Rettenberg
Tel.: 0152 3189 8834
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by Jason Gerlowski <ge...@gmail.com>.
Haha, a "happy accident" for sure! I never relish trimming
functionality; it's necessary to keep the project even remotely
maintainable, but it stinks knowing some "edge" usecases (like cloud
-> standalone backups) might get bitten. So I'm glad my mistake
worked out to Michael's benefit here haha.
Best,
Jason
On Thu, Jul 14, 2022 at 9:02 AM David Hastings
<ha...@gmail.com> wrote:
>
> "But, luckily for
> your case: it fell off my radar and was never actually removed."
>
>
> if this isn't the definition of my favorite part of open source software, i
> don't know what is :)
>
> On Thu, Jul 14, 2022 at 8:41 AM Jason Gerlowski <ge...@gmail.com>
> wrote:
>
> > 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 <dm...@viewnext.com>
> > 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> > > Enviado: miércoles, 6 de julio de 2022 15:32
> > > Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> > > 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
> >
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by David Hastings <ha...@gmail.com>.
"But, luckily for
your case: it fell off my radar and was never actually removed."
if this isn't the definition of my favorite part of open source software, i
don't know what is :)
On Thu, Jul 14, 2022 at 8:41 AM Jason Gerlowski <ge...@gmail.com>
wrote:
> 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 <dm...@viewnext.com>
> 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> > Enviado: miércoles, 6 de julio de 2022 15:32
> > Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> > 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
>
Re: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by Jason Gerlowski <ge...@gmail.com>.
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 <dm...@viewnext.com> 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: dmartinn@viewnext.com | 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 <du...@gmail.com>
> Enviado: miércoles, 6 de julio de 2022 15:32
> Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
> 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
RE: Howto restore backup from solr cloud to solr standalone after upgrading to 9.0
Posted by DAVID MARTIN NIETO <dm...@viewnext.com>.
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: dmartinn@viewnext.com | 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 <du...@gmail.com>
Enviado: miércoles, 6 de julio de 2022 15:32
Para: solr-user@lucene.apache.org <so...@lucene.apache.org>
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