Sign inSign up

martadams89/bitwarden-sync

By martadams89

•Updated 7 days ago

Backup and Restore Bitwarden Servers on a Schedule

Image
0

10K+

martadams89/bitwarden-sync repository overview

⁠Bitwarden Sync Docker Image

This Docker image is designed for syncing Bitwarden or Vaultwarden vaults between servers. It's a practical solution for moving your Bitwarden data from one server to another, providing a straightforward backup and restore process.

⁠Key Features

  • Server-to-Server Sync: Easily transfer your Bitwarden or Vaultwarden vault from one server to another.
  • Scheduled Syncs: Set up automatic synchronization with a customizable cron schedule for hassle-free, regular updates.
  • Healthcheck Integration: Optionally integrate Healthcheck.io for monitoring the health of your synchronization process.

⁠Configuration

Source Server Credentials:

  • Source Account Email
  • Source Account Password
  • Source Client ID
  • Source Client Secret
  • Source Bitwarden Server URL

Destination Server Credentials:

  • Destination Account Email
  • Destination Account Password
  • Destination Client ID
  • Destination Client Secret
  • Destination Bitwarden Server URL

Optional: Healthcheck Integration

  • Healthcheck.io URL
  • Healthcheck.io Ping Token

⁠Usage

version: "3.6"
services:
  bitwarden-sync:
    image: martadams89/bitwarden-sync:latest
    container_name: bitwarden-sync
    restart: always
    environment:
      - CRON_SCHEDULE=0 0 * * *
      - BW_TAR_PASS=mysecuretarpassword
      - [email protected]
      - BW_PASS_SOURCE=mybitwardensourcepassword
      - BW_CLIENTID_SOURCE=user.32323232-3232323-232323-3232323-32323232
      - BW_CLIENTSECRET_SOURCE=FdfdfdfdfdfdfFfdfdffdfdfd
      - BW_SERVER_SOURCE=https://vault.mydomain.com
      - [email protected]
      - BW_PASS_DEST=mybitwardendestpassword
      - BW_CLIENTID_DEST=user.1221212-121212-12121-12121
      - BW_CLIENTSECRET_DEST=Dsfdfdfdfdfdfdfdfdfgfdfdfds
      - BW_SERVER_DEST=https://vault.bitwarden.com
      # Optional Healthcheck IO Integration
      - HEALTHCHECK_URL=https://healtcheck.url.com/ping
      - HEALTHCHECK_PING=1234343r3fadgsdgs
      # Optional bind mount encrypted backups
    volumes:
      - ./config/backups:/app/backups
⁠Note: This script doesn't currently support syncing organizations or multiple users.

For more details and configuration options, check the GitHub repository⁠

Tag summary

Content type

Image

Digest

sha256:c4212ca44…

Size

204.1 MB

Last updated

15 days ago

docker pull martadams89/bitwarden-sync