Files
configpolicy/roles/burp-client/files/scripts/bw0.pyrocufflink.blue/backup-pre.sh
Dustin C. Hatch 6e57abfe2e bitwarden_rs: Configure BURP client
This commit configures *bw0.pyrocufflink.blue* as a BURP client, so that
the Bitwarden data can be backed up.  A pre-backup script is used to
take a consistent snapshot of the SQLite database before copying it to
the BURP server.
2019-09-19 19:27:30 -05:00

5 lines
145 B
Bash

#!/bin/sh
sqlite3 /var/lib/docker/volumes/bw-data/_data/db.sqlite3 \
".backup '/var/lib/docker/volumes/bw-data/_data/db-backup.sqlite3.gz'"