Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
lonevvolf
4 years agoNew Contributor
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
8 Replies
- Jack_P_1P
1Password Team
- zcutlipDedicated Contributor
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,
Zach - lonevvolfNew Contributor
Is there any update here on official support for backups?
- andi_t_1P
1Password Team
Thanks for the feedback!
- zcutlipDedicated Contributor
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/47 - jbyersNew Contributor
+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-line - Former Member
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,
Horia