Re: Pause and resume indexing on SolR 4 for backups

2012-12-21 Thread Andy D';Arcy Jewell
ously be a must sooner or later. -- Andy D'Arcy Jewell SysMicro Limited Linux Support T: 0844 9918804 M: 07961605631 E: andy.jew...@sysmicro.co.uk W: www.sysmicro.co.uk

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Andy D';Arcy Jewell
maybe just solr) 2. Remove all files under /var/lib/solr/data/index/ 3. Move/copy files from /tmp/snapshot.20121220155853703/ to /var/lib/solr/data/index/ 4. Restart Tomcat (or just solr) Thanks everyone who's pitched in on this! Once I've got this working, I'll document it. -An

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Andy D';Arcy Jewell
ill leaves open the question of how to *pause* SolR or prevent commits during the backup (otherwise we have a potential race condition). -Andy -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jew...@sysmicro.co.uk W: www.sysmicro.co.uk

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Andy D';Arcy Jewell
ed to a web-app, which accepts uploads and will be available 24/7, with a global audience, so "pausing" it may be rather difficult (tho I may put this to the developer - it may for instance be possible if he has a small number of choke points for input into SolR). Thanks. -- And

Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Andy D';Arcy Jewell
t, the web app will have to gracefully handle unavailability of SolR, probably by displaying a "down for maintenance" message, but this should preferably be only a very short amount of time. Can anyone comment on my proposed solutions above, or provide any additional ones? Thanks for a

Re: Backing up SolR 4.0

2012-12-04 Thread Andy D';Arcy Jewell
it updates (sortof copy-on-write style)? So we are relying on the principle that as long as you have at least one remaining reference to the data, it's not deleted... Thanks once again! -Andy -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jew...@sysmicro.co.uk W: www.sysmicro.co.uk

Re: Backing up SolR 4.0

2012-12-03 Thread Andy D';Arcy Jewell
ge against the down-time which would be required to regenerate the indexes from scratch? Regards, -Andy -- Andy D'Arcy Jewell SysMicro Limited Linux Support E: andy.jew...@sysmicro.co.uk W: www.sysmicro.co.uk

Backing up SolR 4.0

2012-12-03 Thread Andy D';Arcy Jewell
but I'm not sure if that will cut it. I gather merely rsyncing the data files won't do... Can anyone give me a pointer to that "easy-to-find" document I have so far failed to find? Or failing that, maybe some sound advice on how to proceed? Regards, -Andy -- Andy D&#