cancel
Showing results for 
Search instead for 
Did you mean: 

backup-lucene-indexes mirror of lucene-indexes ?

zomurn
Champ in-the-making
Champ in-the-making
Hello,

I was wondering if the folder alf_data/backup-lucene-indexes is a mirror of the folder alf_data/lucene-indexes
Because, I reindexed all so alf_data/lucene-indexes is healthy, and alf_data/backup-lucene-indexes contains some errors I know.
Will the backup process will OVERWRITE all alf_data/backup-lucene-indexes with folder alf_data/lucene-indexes ?

Thanks you
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
The alf_data/backup-lucene-indexes folder is recreated automatically every night by copying alf_data/lucene-indexes directory in its entirety.  The only reason it exists is to support hot backup - Lucene does not cope well with concurrent access to its persisted files, so to support hot backup Alfresco (safely) duplicates alf_data/lucene-indexes, then the backup process must backup only the copy.

If you're performing cold backups exclusively, you need only backup alf_data/lucene-indexes - in fact you could shut off creation of alf_data/backup-lucene-indexes altogether, as that folder is irrelevant in that case.

The wiki page [1] has detailed information on the requirements for both cold and hot backup of Alfresco.

Cheers,
Peter

[1] http://wiki.alfresco.com/wiki/Backup_and_Restore

zomurn
Champ in-the-making
Champ in-the-making
Thanks you very much for your reply, it was exactly what I expected  Smiley Happy