Recovering old documents after a reinstallation

Hi! I closed a related topic because it was solved, but now it doesn’t accept new replies, so, to also maintain order, I’m starting this new topic. Hopefully it will help others on the same situation.

I reinstalled DocSpace after a failed upgrade. It’s now working perfectly fine, but I didn’t manage to make it show the old documents that I had stored there.

I did several backups before the incident, so I have copies of them, although it would be nice to have some way to re-link them, so they show in my server as before.

My attempt so far was to import the old secret strings from the old local.json to the new one, but that didn’t seem to work.

Both the Data directory and the PostgreSQL database are still in the disk.

Hi @beckermatic,

Quick thing first: DocSpace’s supported restore works on a .tar.gz archive made via Settings → Backup, restored through Settings → Restore → Local file (docs). It won’t re-link a fresh install to the old Data folder + PostgreSQL DB, and copying secret strings from the old local.json won’t connect them either.

So — among your backups, do you have an actual .tar.gz from the Backup tool, or only the leftover Data directory and PostgreSQL database?