Zotero can not find data from restored backup
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.
"What does "the one I found externally" mean?"
I did a full searches of directory "C:" on "4dzha82f.default", "4dzha82f" and "zotero.sqlite". A couple of copies (backups and files copied from network stoarage) were found.
"What does "the one shown by 'preferences'" mean?"
Within the Zotero panel": gear (actions) -> "Preferences" -> "Advanced" -> "Files and Folders" (tab) -> "Data Directory Location" (section) -> Use profile directory" -> "Show Data Directory" (button).
The same for "Custom".
These show the actual data folder I had set up. But Zotero does not use it. The introduction (Zotero Quick Start Guide) is the only entry.
BTW: Data base integrity was checked under Preferences and passed.
Copying "Storage" will take several hours, as it did last time. Please let me know if the above procedure is correct, and what I should do if the Use Profile is checked. Apparently I must click the "profile"s text to get to the default directory, not the button.
The result is different if I click the text than it is if I click the button.
Please enjoy your evening. You have been a great help. I would never have discovered "how-to" without your expertise.
I'll let you know how it turns out.
However, it is not the fault of the procedure you suggested. The root cause is that the Zotero panel differs from the content of the Zotero directory. It is, however, the same directory. By deleting "storage" from the Panel, I also deleted it from what I thought was a backup. I have other backups, however.
The fault, I suspect, lies in Microsoft's "virtual" machine. I also suspect that it does not clean up its dreck when it is uninstalled.
Please let me know if you want to see the play-by-play.
Is there any chance that the default opening entry is interfering?
If I seem confused, your perception is correct. Zotero has been removed, so I'm going from notes.
Sorry for the delay; I'm removing wallpaper.
With Win 7 Professional, Firefox 29.0.1, Zotero 4.0.20.2
1) Open Zotero (Done)
2) Go to Preferences -> Sync. Uncheck "Sync automatically" (Done)
3) Go to Preferences -> Advanced -> Files and Folders (Done)
4) Click Show Data Directory (this will open up a new file explorer window) (Done. Use Profile Directory selected. The directory now shows a populated set of entries: Locate, Styles, Translators, Zotero.sqlite, Zotero.sqlite.bak, Zotero.sqlite.1.bak. At this time, “Storage” is missing because the Storage folder was deleted in Step 7. The Zotero.sqlite file was copied in Step 8.) The location of the directory was captured from the directory header; select header, copy absolute address, paste to notepad.
5) Click OK to close the Preferences window (Done)
6) Close Zotero/Firefox (leave the file explorer window open) (Done)
7) Delete "zotero.sqlite" file and "storage" folder in the file explorer window that opened in step 4. (Done)
8) Copy the backed up zotero.sqlite file. (don't copy the storage folder at this time). (Done)
9) Open Zotero and verify that your database is restored. You will not be able to access any of the file attachments at this point. (Opened Zotero within reopened Firefox. The 984 KB zotero.sqlite is not evident in the panel. The original “welcome” message is the only thing in the Library. The database was not restored from Zotero's standpoint.)
10) Close Zotero (Done)
11) Copy your backed up "storage" folder to the window that opened up in step 4. Overwrite if it exists. (Done. Unfortunately, I used the wrong source for backup and lost this version of storage. I have backups.)
12) Open Zotero and verify that you can open file attachments. (Not verified; zotero is not using the storage and database.
13) Go to Preferences -> Sync and check "Sync automatically" if you want your database to automatically sync. Press OK to close the preferences window. Not required.
I'll start copying the corresponding "storage" this evening. Per prior discussion, it takes a while.