Bcbbr: A couple of simple bash scripts to backup and restore a Bitwarden vault, including attachments

Hi,

in case they could be useful to anyone, I decided to share a couple of scripts I programmed for myself to backup and restore a bitwarden vault using bitwarden cli.

I do not pretend them to be anything more that exactly that: a couple of simple bash scripts to help automate the backup of a bitwarden vault (which anyone should do periodically).

The automation of a vault restore might be not as interesting (it’s not something you will normally do periodically). Perhaps the attachments restore could be, if one has more than a dozen attachments.

Feel free to use them, or adapt them to your needs. But, as always, do it at your own risk.

Thanks.

4 Likes