If your document storage unfortunately is damaged, for example, hard disk error, or you need to migrate the data to another DocCare instance, you may need to backup the data and restore the backup archive.
First, shut down DocCare if it is running.
Second, install a 'clean' DocCare instance for restoring the data.
The 'clean' means:
Or, you can just create a new DocCare instance and copy the modified configuration files from old DocCare instance to the new one.
Thus, you can quickly build a 'clean' DocCare instance.
After you have done all of the above works, you can execute the following command,
On Windows platform, execute:
${BURGEONSOFT_HOME}\bin\restore.bat <absolute_path_of_the_backup_archive>
For example:
On Unix/Linux platform, execute:
{BURGEONSOFT_HOME}/bin/doccare.sh restore <absolute_path_of_the_backup_archive>
For example:
DocCare will re-build the document index during the migration.
If the size of the backup archive is very large, the migration may cost a long time. Currently, DocCare does not know when the migration will complete. If you see ‘Closed Resource Index’ from console output, then it means the migration is completed. You can press Ctrl+C to exit the migration.
After migration is done, you can start DocCare as normal.
Relate topics: