Sign inSign up

zicstardust/bitwarden-backup

By zicstardust

•Updated 3 days ago

Automatic bitwarden backup

Image
0

7.2K

zicstardust/bitwarden-backup repository overview

⁠Bitwarden automatic backup container

GitHub⁠

⁠Container

⁠Tags
TagDescription
latest⁠Bitwarden CLI Node version
⁠Registries
RegistryFull image nameDescription
docker.io⁠docker.io/zicstardust/bitwarden-backupDocker Hub
ghcr.io⁠ghcr.io/zicstardust/bitwarden-backupGitHub
⁠Supported Architectures
ArchitectureAvailablePlataform
amd64✅linux/amd64
arm64✅linux/arm64/v8

⁠Usage

⁠Compose
services:
  bitwarden-backup:
    container_name: bitwarden-backup
    image: docker.io/zicstardust/bitwarden-backup:latest
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
      INTERVAL: 1d
      BW_CLIENTID: ${BW_CLIENTID}
      BW_CLIENTSECRET: ${BW_CLIENTSECRET}
      BW_PASSWORD: ${BW_PASSWORD}
      ENCRYPTION_KEY: ${ENCRYPTION_KEY}
    volumes:
      - <path to data>:/data/

⁠Environment variables

variablesFunctionDefaultExemple/Info
TZSet Timezone
PUIDSet User ID1000
PGIDSet Group ID1000
INTERVALinterval between executions<1d1d - 1 day
10m - 10 minutes
1w - 1 week
65s - 65 seconds
BW_CLIENTIDSet User Client ID
BW_CLIENTSECRETSet User Client Secret
BW_PASSWORDSet User Master Password
ENCRYPTION_KEYSet password for file encryption
ORGANIZATION_IDSBackup organization vault
array separated by ,
BACKUP_ORGANIZATION_ONLYSet true to skip individual vault backup
KEEP_LASTNumber of backups to keep
If value is 0, keep all
0
BACKUP_FORMATBackup formatencrypted_jsonValue: encrypted_json, json, csv, zip,
NOTE: Only encrypted_json is encrypted and requires ENCRYPTION_KEY
NOTE: zip includes your attachments
NOTE: zip not supported for organization
⁠For Self-hosted only
variablesFunctionRequired
BW_SERVER_BASEOn-premises hosted installation URLRequired
BW_SERVER_WEB_VAULTCustom web vault URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_APICustom API URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_IDENTITYCustom identity URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_ICONSCustom icons service URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_NOTIFICATIONSCustom notifications URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_EVENTSCustom events URL that differs from the BW_SERVER_BASEOptional
BW_SERVER_KEY_CONNECTORURL for your Key Connector serverOptional

Tag summary

Content type

Image

Digest

sha256:df1055069…

Size

100.7 MB

Last updated

3 days ago

docker pull zicstardust/bitwarden-backup