Good day, dear colleagues.
Please explain the following situation: the Orthanc folder with the SQlite database (2.5 TB) was downloaded from the problematic server in advance, but unfortunately, without the index file (index and index-wal). Due to a disk failure, access to the files was stopped.
Is it possible to restore indexing so that old information can be retrieved?
Hi @Rostislav
If you have lost your SQL DB, you’ll have to re-ingest all DICOM files from your backup.
You’ll have to start a new Orthanc with a new empty Storage folder and import all files from your backup with e.g: this python script.
Best,
Alain
Unfortunately, there are no SQL backups. I stupidly copied just the Orthanc folder. Everything was stored only in the Orthanc folder.
As I understand it, I can say goodbye to the database or is there hope if I use your proposed script and download the 2.5 TB research folder?
A new SQL DB will be populated once you import all the 2.5 TB of DICOM files.
That is, it does not care about the index files that I wrote about in the first post. And the script scans the folder and sends it to the new server? As it turned out, about 2.1 TB of data was correctly downloaded from 2.5 TB. I assume that the research will be partially displayed on the new server somewhere?