Backup or synchronization of GEODI projects or just the index can be driven by different needs.
Backup of the index against possible loss: Indexing all data takes a long time. Recovering from backup in case of possible loss is necessary for a much more uninterrupted service. Since GEODI can index changing content, the difference between the backup and the current index is completed in a short time. We recommend daily backups. GEODI installation comes ready for daily backup. You just need to activate it.
If you have created an Active-Passive disaster recovery configuration, it is necessary to have a copy of the index for fast transition. The backup procedure is the same. You can find detailed information on https://decesw.atlassian.net/wiki/spaces/geoditr/pages/3952812220#Aktif-Pasif-FKM-ortam%C4%B1 page.
Index Backup
GEODI index is located under %appdata%\dece\geodi<projeadı>\GeodiIndex2.0. The files in this directory are in constant use and therefore backup should be done with the
BackupIndex
command.BackupIndex
securely backs up GEODI while it is running to the directory where you provide the index.Notes taken after the last backup and documents added by drag and drop will be lost.
Backup can be periodized with the Windows scheduled task engine.
The GeodiWS Project file and other settings should also be synchronized. How to do it is explained in https://decesw.atlassian.net/wiki/spaces/geoditr/pages/3952812220#Aktif-Pasif-FKM-ortam%C4%B1.
GEODI Commands should be available in files with DCC extension. You can call these DCC files in Batch or PowerShell. Example DCC is given below. The destination directory and WorkdSpace name must be edited appropriately. If there is more than one WorkSpace, it should be done separately for each one.
d.BackupIndex("[Destination Directory to Backup]","[WorkSpace name]")
You can create a scheduled task with https://forsenergy.com/tr-tr/taskscheduler/html/1a2d9e12-4713-40a9-9c8c-e2ad6316811b.htm or any other method you prefer.
Index Recovery
GEODI can repair a damaged index or replace it and use it. Repair can take a long time and may fail depending on the damage. If it fails, there is no option but to restart indexing. Therefore, recovery from backup (RestoreBackup) should be the primary choice.
On the last page of the GEODI Project Wizard, 3 different options are offered from the "Recovery Options" tab in the advanced settings.
Default
With the default option, when there is a corruption in the GEODI Index, a warning is received when GEODI is reopened and repair starts automatically. You can see the repair status on the Project Management page.
Search and Classification operations continue in other projects
Feeding operations are automatically suspended via GDE (GDE checks every 2 hours).
In the corrected project, the Index Correcting warning is received in the ES interface.
RestoreBackup
When this option is used, you must specify the directory you are using for backup. Backups taken with the method described above are used. If there is no content in the backed up directory or if it cannot be accessed, it continues with the Default option.
DoNothing
There is no repair or recovery from backup with DoNothing. The index must be corrected manually. Depending on the damage to the index, it is possible to continue searching and other operations, but the correction must be made. The ES interface will indicate that the index is corrupted.