Trouble restoring from automatic backup
dstillman
Zotero Team
This discussion was created from comments split from: Undo - Delete collection.
Upgrade Storage
https://www.zotero.org/support/zotero_data#restoring_from_the_last_automatic_backup
1. I read the directions. I disabled auto-sync and proceeded. I checked the timestamps, made copies of .bak files, and renamed the original .old and the sqlite (that exists as my restore copy)., I then re-opened Zotero and nothing changed. I was renaming files within the file directory while Zotero was closed. However, no changes.
Is it possible that I can try this again, or do you suspect it is possible they'd been overwritten?
Once you have an empty database, you can close Zotero again, delete the empty zotero.sqlite (which will be either 1 MB or 5 MB), and try swapping in the bak files to see what they contain. But whether they have the data you need depends on when you exactly made the change in question and whether it was before or after the timestamps of those files. Those files are just copies of your database from that time. There's nothing here that can possibly not work. If you don't see the right data, it didn't exist in your library when the backup was made.
Note, also, that if this is just about a deleted collection (which I gather from another thread of yours), the items in the collections are likely just in your library root and not deleted, so it may be easier to just recreate the collection.
A future version of Zotero will make it possible to restore a collection from the trash.