Runner for backing up Bitwarden Vaults
1.1K
This is a script for backing up your Bitwarden Vault in an encrypted archive. It supports:
bw list commands to be able to map the attachments back into a restore. (Not supported by BW native export)Content of .env.docker
## Backup
# The Password to the encryption of the backup, this should be very long.
BWBU_PASSPHRASE=
# Bitwarden master password, needed for unlock and export
BWBU_BW_MASTERPASSWORD=
# Bitwarden API Key Client Id
BWBU_BW_CLIENTID=
# Bitwarden API Key Client Secret
BWBU_BW_CLIENTSECRET=
# Optional
# Backup Personal vault, default: true
BWBU_INCLUDE_PERSONAL=true
# Backup Organizational vault(s), default: true
BWBU_INCLUDE_ORG=true
# Backup file attachments, default: true
BWBU_INCLUDE_FILES=true
## Unpack
# Path to the backed up archive, Remember the mappings in docker!
# Should probably be like: /backup/bw-backup-[DATE].tar.gz.7z
BWBU_SOURCE_FILE=
docker run --rm --env-file .env.docker -v /tmp/backup:/backup johnlindahl/bitwarden-backup
docker run --rm --env-file .env.docker -v /tmp/bwbu/backup:/backup -v /tmp/bwbu/unpack:/unpack johnlindahl/bitwarden-backup unpack
Content type
Image
Digest
sha256:f2d79b8ce…
Size
71.8 MB
Last updated
over 3 years ago
docker pull johnlindahl/bitwarden-backup