On 5 Jul 2021, at 19:30, email@example.com wrote:
I'm hoping you can advise me. The sqlite database has become corrupted due to a disk problem. It was not on the same drive as the raw files so they are all in tact.
Is the database completely gone? There may be ways to recover at least partial data from it.
Was there a specific reason to split the data? How did you do the split?
I'm assuming there is a way in which I can restore the files back but also this may be rather involved.
Is this possible? We will have pushed local packages to local indexes over about a week or two and I'd like to recover those.
The files are stored per user/index + the hash and the regular filename, so you can rather easily get to them. Most metadata should also be recoverable by re-uploading them to a new installation. Some metadata might be lost though.
You should go through the directory structure to get a feel for the layout and see if you find what you need. If you have further questions, don't hesitate to ask.
Regards, Florian Schulze