Collection Disappeared Without Deletion –– Tried Everything to Recover But Cannot
Hi,
I am currently working on a 2-year long project that I am due to complete in a months time. I have been collecting sources in one collection titled "THESIS SOURCES" for the past two years. However, while I was adding a new source from a browser to this collection recently, the entire collection disappeared.
Although I believe most of the sources still exist generally in my library or in various other folders, I am not sure I will be able to remember every single one that should be in this given (very important collection) that has disappeared.
I have tried (1) Looking through every other collection to see if the collection exists within another collection somehow -- it does not (2) Looking in my "Trash" to see if it ended up there -- it does not (3) Disabling auto-sync then restoring an older synced version ("zotero.sqlite.back") from last week as suggested by other forum posts, -- but that only gave me a library with no sources/files at all, so I restored the current version with the collection missing in the meantime and re-enabled auto sync.
Please help! I am on a time crunch, and I really need to find or restore this collection with all of its files! Is there anything I can do? Thank you.
I am currently working on a 2-year long project that I am due to complete in a months time. I have been collecting sources in one collection titled "THESIS SOURCES" for the past two years. However, while I was adding a new source from a browser to this collection recently, the entire collection disappeared.
Although I believe most of the sources still exist generally in my library or in various other folders, I am not sure I will be able to remember every single one that should be in this given (very important collection) that has disappeared.
I have tried (1) Looking through every other collection to see if the collection exists within another collection somehow -- it does not (2) Looking in my "Trash" to see if it ended up there -- it does not (3) Disabling auto-sync then restoring an older synced version ("zotero.sqlite.back") from last week as suggested by other forum posts, -- but that only gave me a library with no sources/files at all, so I restored the current version with the collection missing in the meantime and re-enabled auto sync.
Please help! I am on a time crunch, and I really need to find or restore this collection with all of its files! Is there anything I can do? Thank you.
Unless zotero.sqlite.bak is much smaller than zotero.sqlite, that would be a current backup, and if you follow the instructions precisely you should see the state of your library from the date of that file. If you're having trouble, and the file is smaller than 150 MB (or is if you zip it), you can upload it to the DB Repair Tool and post the Upload ID here, and we can confirm that it has your data. (You can ignore the download links that the tool provides. This is just for us to look at the file.)
Also note that the items would indeed all be in your library root, even though you deleted the collection.
A future version of Zotero will make it possible to restore a deleted collection from the trash.
It looks like two collections in your library (which could be a collection and subcollection) were deleted a little over an hour ago.
Once, I rename an old zoter.sqlite.bak file as the main "zotero.sqlite" file, do I then have to re-enable auto-sync? I did not want to do this in case it deleted even the version without the disappeared collection, but maybe this is my problem?
But note the restore steps I linked to above. You need to make a copy of the collection before you enable syncing again (which you should definitely do), or else when you sync the collection will just be deleted again.
1) Note that the restore steps linked above include specific instructions for restoring a deleted collection that doesn't require overwriting server data. If you just synced these deletions to your computer, you can absolutely restore from a backup.
2) As I say above, a future version of Zotero will make it possible to restore a deleted collection from the trash.
I restored the old database as described in the linked instructions, then created one bogus entry and copied that to each collection. That was a little quicker than creating duplicate collections (given the amount of collections I have in that group library...); this (so I guess) updated the time stamp of the collections I wanted to have restored and syncing then "overwrote" the delete step.
Looking forward to the feature described in 2) :)
(This is assuming you didn't use Replace Online Library, which would completely replace the online library with the contents of your backup.)