solved: How can i restore my local library after accidantal sync with empty online library
I have discovered an old legacy account and wanted to sync my local library of a newer account to also be online.
but when I changed the local sync profile to the new one, I apparently misunderstood the warning text believing the old (online) account library would be deleted. instead, it deleted my entire local library. After the process took suspiciously long I panicked and killed the Zotero process to find that all my local files were gone. No squlite.bak anywhere, the zotero.squlite 1 MB, empty. the storage just contains some recent pdfs and .zotero-ft-cache of a couple of kb, no .bak s here either.
I looked in the trash - nothing. No "previous versions".
i don't have a backup and am panicking right now.
is there any other place to look for the deleted files?
but when I changed the local sync profile to the new one, I apparently misunderstood the warning text believing the old (online) account library would be deleted. instead, it deleted my entire local library. After the process took suspiciously long I panicked and killed the Zotero process to find that all my local files were gone. No squlite.bak anywhere, the zotero.squlite 1 MB, empty. the storage just contains some recent pdfs and .zotero-ft-cache of a couple of kb, no .bak s here either.
I looked in the trash - nothing. No "previous versions".
i don't have a backup and am panicking right now.
is there any other place to look for the deleted files?
Assuming one of those is the case, you can restore by either switching back to the previous account or restoring from the backup.
If not, I'm afraid there's nothing to be done.
with the software "diskinternals uneraser" (40€)
i scanned the whole disk for ".sqlite" file signatures and it actually found and restored a couple of .sqlite files, one having an appropriate size.
with this file, it was possible to simply do what has been described elsewhere: rename and use it as "zotero.sqlite"
Lost all the locally stored pdfs but its not the end of the world