Turned on my computer and all my sources are gone with an error message!!!
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Let us know if you see this again.
I chose to sync and it synced everything to an old date I think and everything that got reloaded when we fixed the issue is gone. Is there anyway to recover that?
It looks like an hour and a half ago you deleted about 1500 parent and child items, and a few hours before that you deleted about a dozen collections. (The former could've been emptying the trash after deleting the collections.) I don't know what exactly you did or why — that certainly wasn't part of any troubleshooting I told you to do — but syncing would've applied those deletions to the other side.
Do you have a backup of your Zotero data directory from before you made these changes?
If not, you can try restoring from one of the last automatic backup, but that won't include any attachment files you deleted.
Either way, whatever I deleted from the online client was not the same as what was on my desktop client. I really hope there is a way to undo what I just did :(
Needless to say, this is why we so strongly recommend following our instructions carefully and not trying drastic things on your own. Nothing was wrong with your data, and there was no reason to delete your entire library.
Lastly, there is another SQLITE file that is timestamped for recently 6/17/2020 11:52 which I am guessing is the current one.
Please guide me to undo this and I will not do anything unecessary again. I am so sorry!
Folders: locate, storage, styles, translators
Files:
zotero.sqlite
zotero.sqlite.1.bak
zotero.sqlite.bak
zotero.sqlite-journal
Based on the timestamp, I am guessing that the version I need to revert to would be the zotero.sqlite.1.bak which is 6/16/2020
The instructions say to replace the (zotero.sqlite.bak) with (zotero.sqlite.1.bak) but I am unsure exactly what that means.
If you have synced your data with the Zotero servers, reverting to a previous version is as simple as reinstalling the previous version, closing Zotero, replacing “zotero.sqlite” in your Zotero data directory with “zotero.sqlite.[highest-number].bak”, and restarting Zotero. (Note that if you try to open an upgraded database in an earlier version, Zotero will display an error. Just close Zotero and replace the .sqlite file.) Zotero will then sync from the online library any changes made since you last used the older database.
2) While not the instructions you should be following anyway, what you pasted does not say to replace "zotero.sqlite.bak" with "zotero.sqlite.1.bak" as you claimed.
zotero.sqlite >>> zotero.sqlite.old
zotero.sqlite.1.bak >>> zotero.sqlite
I now want to make sure that this gets synced to the online client and want to make sure I do so correctly. Could you guide me through this please?
You can add the Attachments column to the middle pane to see which files are missing, as indicated by an empty (instead of filled) blue circle. If you don't have a backup, you'd have to redownload those and either drag them to the parent item (and then delete the broken attachment) or use the Locate option in the file-not-found dialog for the broken attachments to select the downloaded PDFs, which will copy the files back into your data directory (and then you'd want to delete the downloaded files).
Thank you again and I appreciate your fast responses and being patient with me.