I use zotero with the better bibtex extension. But when I finalize a document, I use jabref and its 'make a new library from .aux file' tool which can then create a .bib file with only the references used in the document. Much easier to archive than my full zotero library with thousands of entries. Also makes it easier to fine tune any edits to the .bib references for that specific document and template.