From ff11fd0cc0832027b24ef3379bef878f3a51df47 Mon Sep 17 00:00:00 2001 From: Alex Coleman Date: Mon, 7 Oct 2024 16:35:21 +0100 Subject: [PATCH] GH-160: Use bitwarden on demand for cold backup --- docs/database.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/docs/database.md b/docs/database.md index 3033827..5bbad82 100644 --- a/docs/database.md +++ b/docs/database.md @@ -24,13 +24,7 @@ To download the latest database backup for storing offline: -1. Unlock your Bitwarden vault for the encryption passphrase: - - ```bash - bw unlock - ``` - -1. Download the backup: +1. Download the backup (you will be prompted to input your BitWarden master password): ```bash ./cold-backup.sh $ENVIRONMENT @@ -42,13 +36,7 @@ This will create an encrypted compressed PostgreSQL custom-format archive `schem To restore a backup to a local or proxied database: -1. Unlock your Bitwarden vault for the encryption passphrase: - - ```bash - bw unlock - ``` - -1. Decrypt the archive: +1. Decrypt the archive (you will be prompted to input your BitWarden master password): ```bash bw get password "UYCS Database Backup Passphrase" \