Re: solr backup location 8.11.1

2022-08-05 Thread Gus Heck
If it doesn't apply the defaults that's the bug right there I think. On Fri, Aug 5, 2022 at 2:10 PM Shawn Heisey wrote: > On 8/5/22 11:56, Thomas Woodard wrote: > > Yup, I absolutely did typo when I tried to do it as a default. I'll > update > > my issue to correct that. > > It will be interesti

Re: solr backup location 8.11.1

2022-08-05 Thread Shawn Heisey
On 8/5/22 11:56, Thomas Woodard wrote: Yup, I absolutely did typo when I tried to do it as a default. I'll update my issue to correct that. It will be interesting to see whether fixing the typo makes it work.  Sometimes the code is hard to decipher, and it is always possible that it does appl

Re: solr backup location 8.11.1

2022-08-05 Thread Thomas Woodard
Yup, I absolutely did typo when I tried to do it as a default. I'll update my issue to correct that. On Fri, Aug 5, 2022 at 12:31 PM Gus Heck wrote: > Just looked at some other handler configurations, I think you may suffer > from a typo... should > > > /var/i8s/backup/solr/${i8s.environm

Re: solr backup location 8.11.1

2022-08-05 Thread Gus Heck
Just looked at some other handler configurations, I think you may suffer from a typo... should /var/i8s/backup/solr/${i8s.environment}/${ solr.core.name} have been /var/i8s/backup/solr/${i8s.environment}/${ solr.core.name} (note the s) On Fri, Aug 5, 2022 at 1:05 PM Thom

Re: solr backup location 8.11.1

2022-08-05 Thread Thomas Woodard
Thanks for the rapid replies. I've opened https://issues.apache.org/jira/browse/SOLR-16326 and will proceed with scripting a scheduled backup instead. On Fri, Aug 5, 2022 at 11:36 AM Shawn Heisey wrote: > On 8/5/22 10:06, Thomas Woodard wrote: > > That is exactly what I was afraid of. Not being

Re: solr backup location 8.11.1

2022-08-05 Thread Dave
If you have any metal, a cron doing an rsync against ec2 may work well, hell you could do that with a cheap laptop that has a large hard drive running linux that is plugged in and doesn’t sleep. Enterprise? No. Works? Certainly > On Aug 5, 2022, at 12:31 PM, Thomas Woodard wrote: > > Actuall

Re: solr backup location 8.11.1

2022-08-05 Thread Shawn Heisey
On 8/5/22 10:06, Thomas Woodard wrote: That is exactly what I was afraid of. Not being able to configure where automated backups go seems like a pretty major oversight, though. Is anyone aware of a solution other than creating a bunch of soft links? The symlink idea I had (but haven't mentioned

Re: solr backup location 8.11.1

2022-08-05 Thread Thomas Woodard
Actually, soft links won't work either, because the snapshots aren't in a subdirectory of data, and each one has a different name. Cron on ec2 is a bit of a pain, but yes, that does seem like the best solution available. On Fri, Aug 5, 2022 at 11:15 AM Dave wrote: > Can’t you just make a cron j

Re: solr backup location 8.11.1

2022-08-05 Thread Dave
Can’t you just make a cron job that runs an sh file that does a cp-rf on the data folder with a time stamp? The indexes are drop in when needed > On Aug 5, 2022, at 12:07 PM, Thomas Woodard wrote: > > That is exactly what I was afraid of. Not being able to configure where > automated backups

Re: solr backup location 8.11.1

2022-08-05 Thread Thomas Woodard
That is exactly what I was afraid of. Not being able to configure where automated backups go seems like a pretty major oversight, though. Is anyone aware of a solution other than creating a bunch of soft links? On Fri, Aug 5, 2022 at 8:52 AM Shawn Heisey wrote: > On 8/5/22 07:42, Shawn Heisey wr

Re: solr backup location 8.11.1

2022-08-05 Thread Shawn Heisey
On 8/5/22 07:42, Shawn Heisey wrote: I've confirmed that it isn't a path security issue, by verifying that all paths are allowed: 2022-08-05 12:29:03.873 INFO  (main) [   ] o.a.s.c.CoreContainer Allowing use of paths: [_ALL_] I missed this part of your email until after I had already sent my ot

Re: solr backup location 8.11.1

2022-08-05 Thread Shawn Heisey
On 8/5/22 07:00, Thomas Woodard wrote: optimize optimize 2 00:00:20 /var/i8s/backup/solr/${i8s.environment}/${ solr.core.name} The backups after optimize are happening, but they are going to the default locations, not the configured location. For

solr backup location 8.11.1

2022-08-05 Thread Thomas Woodard
I need to backup to a network file system to support recovery. I do not want the index on a network file system, so just mounting /var/solr/data isn't an option. I have attempted to set the location in the replication handler, but it is not working. I've tried all of these configurations.