Skip to content

pschmitt/bw-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bw-backup

Usage

podman run -it --rm \
  -v /tmp/data:/data \
  -e BW_CLIENTID=user.xxxx \
  -e BW_CLIENTSECRET=xxxx \
  -e BW_PASSWORD=xxxx \
  -e ENCRYPTION_PASSPHRASE=mySecret1234 \
  -e KEEP=10 \
  -e CRON="0 23 * * *" \
  ghcr.io/pschmitt/bw-backup:latest

ENCRIPTION_PASSPHRASE is optional. If set the backups will be encrypted with the given passphrase.

KEEP is optional. If set the script will keep the last KEEP backups.

CRON is optional. If set the script will run the backup script periodically.

How do I decrypt my backup?

gpg --batch --yes --passphrase "mySecret1234" --decrypt \
  --output decrypted.tar.gz \
  data/bw-export-xxx.tar.gz.gpg

There's also a wrapper script for that: decrypt.sh

About

Brain-dead simple bitwarden backups (including attachments!)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages