Feature Request: CLI Export
The 1Password Desktop application offers an Export option right on the top level menu. There are multiple questions on the forums here and elsewhere asking about export/backup of vaults via the CLI. Would it be possible to add a full export command to the CLI?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Comments
-
Thank you for your suggestion.
I've just opened an internal ticket for adding the Export functionality in the CLI as well.
I'll make sure to keep this thread updated with any developments on this issue.
Best,
Horia0 -
+1 for this feature. It seems fundamental for automated backups without a brittle iterate-through-items script.
In case it's useful for the internal ticket, this has been requested before:
https://1password.community/discussion/108310/any-way-to-export-data-from-cli-tool
https://1password.community/discussion/110844/export-all-entries-of-1password-via-command-line0 -
If you're comfortable doing this programmatically via Python, I think it would be easy to do with my project,
pyonepassword
.I've added a GitHub issue:
https://github.com/zcutlip/pyonepassword/issues/470 -
Thanks for the feedback!
0 -
Is there any update here on official support for backups?
0 -
Hi @lonevvolf:
Nothing to share just yet. Please keep an eye out for future updates.
Jack
ref: dev/b5/op#2450
0 -
I know this is an old thread, but I've recently added a utility script to
pyonepassword
that dumps all items. I needed it to diagnose some issues, but I added it to the project in case it's useful for anyone, either directly or as an example.It dumps items in a directory structure organized by Vault ID, and the items are named
<item ID>.json
.You can find it here:
https://github.com/zcutlip/pyonepassword/blob/main/scripts/dump_all.pycheers,
Zach0