Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
3 years ago1PW CLI full backup of all items from all valuts
Hi, I'm about to implement an automated backup and audit solution for our business vaults. The basic objective for 1PW CLI is to list all items in all vaults and export the whole content of them in J...
Former Member
3 years agoHi @BSi, thanks for reaching out and sorry for the delay here.
You should be able to export files attached to items using https://developer.1password.com/docs/cli/secrets-reference-syntax/. For example, op read op://Test/Item/file.pdf -o ~/Downloads/ will download the PDF file named file under Item item on the Test vault to your downloads folder.
For bulk exporting of all items, you'll need to write a script to work through all the items, get the file names one-by-one and run op read for each file.
Could you get it a try and let us know how it works for your needs?