Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

portwarden

> DevOps
Open source

Create Encrypted Backups of Your Bitwarden Vault with Attachments

633 stars0 likes1 views
WebsiteGitHub

About

Create Encrypted Backups of Your Bitwarden Vault with Attachments

PortWarden

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.

3/28/20 Update

We now support restoring the backup to an empty account, including attachments.

Disclaimer

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.

Usage Of Portwarden CLI

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 :

…

Demo Backup

Demo Decrypt

Demo restore

Portwarden Compared with Official Bitwarden Backup (As of 12/5/2018)

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

Contribution & Development

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gobitwardendockerencryptionk8s

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理