Create Encrypted Backups of Your Bitwarden Vault with Attachments
Create Encrypted Backups of Your Bitwarden Vault with Attachments
This project creates encrypted backups for Bitwarden vaults including attachments. It pulls your vault items from Bitwarden CLI and download all the attachments associated with those items to a temporary backup folder. Then, portwarden zip that folder, encrypt it with a passphrase, and delete the temporary folder.
It addresses this issue in the community forum https://community.bitwarden.com/t/encrypted-export/235, but hopefully Bitwarden will come up with official solutions soon.
We now support restoring the backup to an empty account, including attachments.
Note that you may lose your data if you try the restore feature and I am not responsible. Use the free software at your own discretion. Since we don't handle restoration conflicts, make sure to back up with your main account and restore to a spare/alternative account.
Go to https://github.com/bitwarden/cli/releases to download the latest version of Bitwarden CLI and place the executable bw/bw.exe in your PATH. Then, go to https://github.com/vwxyzjn/portwarden/releases/ to download the latest release of portwarden. Now just follow these steps :
…| Portwarden | Official Bitwarden Backup | |
|---|---|---|
| Backend | golang | C# |
| Backup Format | :heavy_check_mark: AES-Encrypted .portwarden format |
Unencrypted CSV file |
| Backup With Attachments | :heavy_check_mark: | Not supported (see this feature request) |
| Restore Attachments | :heavy_check_mark: Supported | Not supported |
Clone this repo. Make sure you have Docker installed, ports 8000, 8081, 5000 unused, Golang installed, dep installed. In addition, create an environment varialble Salt of length 30 for encryption salt. Then run
…Notice the docker-compose.yaml file defines the services running and it's mounting your current directory as volumes and map it to the container's working directory. This means you can develop/make changes in your local machine, and run it in the container. It also maps certain containers' ports into your host so that you can call the endpoints.
PRs are welcome. For ideas, you could probably add a progress bar to the CLI.
No open issues yet, or sync has not completed.