-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Index backup
PostPosted: Wed Dec 14, 2011 4:27 am 
Newbie

Joined: Sat Dec 10, 2011 5:57 pm
Posts: 11
Hi.
We have a database (Derby) and a Lucene index. We want to perform backups without stopping the database (i.e. live backup).

When I want to perform the backup of the database I simple call Derby's internal backup function which do it safely for me. But how to backup the index if I want to copy the FS index to a zip file? I used to copy the index directory manually but this does not not work if there is some indexing in progress at the same time. And of course the database backup and index backup should be performed within one transaction.

Thank you


Top
 Profile  
 
 Post subject: Re: Index backup
PostPosted: Fri Dec 16, 2011 6:13 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

afaik there is no good way of doing this. It relates to this jira issue - HSEARCH-816. Once it is possible to configure the IndexDeletionPolicy, a SnapshotDeletionPolicy could be used to create a backup. See also http://stackoverflow.com/questions/5897 ... dex-backup

I created an issue for that - HSEARCH-1006

--Hardy


Top
 Profile  
 
 Post subject: Re: Index backup
PostPosted: Fri Dec 16, 2011 11:09 am 
Newbie

Joined: Sat Dec 10, 2011 5:57 pm
Posts: 11
Thanks for your answer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.