Can I get a dump of items and passwords from the CLI?
I want to get a dump of items and passwords using the CLI so I can automate a backup dump.
I have found that op get items
does not contain passwords. If I pick out a uuid and run op get uuid
I can see the password there.
Is this the only way to get the passwords or is there a command which will allow me to do this in a single call?
1Password Version: CLI 0.5.4
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Have you looked at this script for a backup dump? https://gist.github.com/wincent/d18d2586c748330c8c08452c67a7370c
0 -
Thanks!
0 -
Hi, this script works nicely but requires me to enter my password interactively. Is there any way to enter it from a file or variable? I want to run the script from a cron.
0 -
I've answered the question about the file in another thread of yours :)
Again, I strongly urge you not to leave the contents of this script unencrypted on disk as it's a large risk.
0