Full restore from server forgets to get attachments from ZFS and even uploads some stuff

Having uploaded all my attachments to ZFS, I proceeded to get them downloaded on another client. To do so I went to the Sync preferences, Reset tab, and I first did a "Reset File Sync History" and then a "Restore from Zotero Server". After the restart I got the message that my library was cleared and I was now going to download it anew. That went okay for all of the metadata, but after that I found none of the attachments had been downloaded.

When I hit sync again to get the attachments, it started downloading files, but also uploading some 1000 files. Which files? I don't know, since I didn't have logging enabled. But after doing these resets, surely it should simply have downloaded all attachments, and it shouldn't have uploaded anything?

I happen to know that there was stuff locally that hadn't been beamed up (web snapshots that is, the metadata had been synced before), so perhaps that was it. But I expected that to be gone due to the fullscale reset. Now I'm not sure whether this local client has messed up my ZFS data and what will happen next time I sync my original client again.
  • "Restore from Zotero Server" only clears the database file and pulls down metadata—it doesn't touch the 'storage' folder.

    So if you had existing files that matched synced items, it would compare the local files to the remote ones. And if you had existing files that matched synced items and the files didn't exist on the server, it would upload those. (The alternative would be items with missing files.)
  • Okay on second thought this makes sense. It's just that I was expecting "Restore from Zotero Server" do do a full-on restore of metadata and files.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.