use env file
This commit is contained in:
parent
d2e65f403b
commit
e65d6900da
|
|
@ -1,7 +1,8 @@
|
|||
#! /bin/bash
|
||||
SOURCE_DIR=/home/marc/docker-homelab/vaultwarden/bw-data
|
||||
BACKUP_DIR=/home/ssh-backups/bitwarden
|
||||
BACKUP_USER=ssh-backups
|
||||
|
||||
# Read environment variables
|
||||
source "${HOME}/.backup-bitwarden-env"
|
||||
|
||||
DATETIME=$(date '+%Y-%m-%d_%H%M')
|
||||
BACKUP_NAME="bw-backup-${DATETIME}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue