index problem sqlite

Good evening, I have patient data and I need to recover their index, which is 24GB and the database is 6TB. How can I see the studies, since the index is corrupted? what is the best solution to view or migrate to mysql please
Thank you

Locking this thread, as it is a duplicate of:
https://groups.google.com/g/orthanc-users/c/E7vd3zHv6aA/m/Iye7bF0uBQAJ