After restoring an export, I can't keep parts of it
Hello everyone.
Today I messed up and needed to restore a collection from an export I fortunately had done earlier. I imported my export which is my entire library. Then I moved the collection I had destroyed to my root (I had selected to create new collections on import). Then I deleted the imported collection(s) with "delete collection and items". Afterwards, my moved collection was empty but everything else was fine. How is that? I thought when I delete something with "delete collection and items", only items that are not used anywhere else are deleted. How are items in a collection that is on a higher level in the library deleted, too? I don't want to waste space by keeping my entire library twice (except for the one folder I destroyed which of course exists only once).
I would like some advice, I must have misunderstood something here. Thanks :)
Today I messed up and needed to restore a collection from an export I fortunately had done earlier. I imported my export which is my entire library. Then I moved the collection I had destroyed to my root (I had selected to create new collections on import). Then I deleted the imported collection(s) with "delete collection and items". Afterwards, my moved collection was empty but everything else was fine. How is that? I thought when I delete something with "delete collection and items", only items that are not used anywhere else are deleted. How are items in a collection that is on a higher level in the library deleted, too? I don't want to waste space by keeping my entire library twice (except for the one folder I destroyed which of course exists only once).
I would like some advice, I must have misunderstood something here. Thanks :)
If you restore those items from the trash, they'll be placed back in any remaining collections they were in.
Note, though, that an export isn't a backup, and you'll have broken links to any existing citations in word processor documents by using that. A proper backup would be a copy of your Zotero data directory. If the original problem is something you just did, you may be able to restore from the automatic backups Zotero makes in that folder.
If Zotero does not care in which collection an item was first added and just deletes it from all the collections if it is deleted together with one collection it is in, how is that possible? If it does not keep items in other collections, all my items should have been gone. If it does keep items in other collections, none of my items should have been gone.
Also, do I understand correctly that there is no way to delete a collection and all the items that are only in this collection without also deleting all the items that are in other collections, too?
Thanks for the hint to automatic backups. I did not know about those.