lvm_self_backup: Fix snapshot folder

This commit is contained in:
saibotk 2024-02-07 23:31:02 +01:00
parent 9a39dadbb2
commit dae41f9c7c
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ docker run --name="duplicity-backup-lvm" \
--rm \
-v "$HOME/.cache/duplicity/:/archive" \
-v "/root/.gnupg/:/root/.gnupg/" \
-v "/backup_snapshots/:/backup/:ro" \
-v "/lvm_self_backup_snapshots/:/backup/:ro" \
-e "PASSPHRASE={{ lvm_self_backup_gpg.passphrase }}" \
--hostname {{ ansible_fqdn }} \
{{ lvm_self_backup_duplicity_image }}:{{ lvm_self_backup_duplicity_image_version }} \

View file

@ -29,7 +29,7 @@ function backup () {(
--rm \
-v "$HOME/.cache/duplicity/:/archive" \
-v "/root/.gnupg/:/root/.gnupg/" \
-v "/backup_snapshots/:/backup/:ro" \
-v "/lvm_self_backup_snapshots/:/backup/:ro" \
-e "PASSPHRASE={{ lvm_self_backup_gpg.passphrase }}" \
--hostname {{ ansible_fqdn }} \
{{ lvm_self_backup_duplicity_image }}:{{ lvm_self_backup_duplicity_image_version }} \