lvm_self_backup: Fix snapshot folder
This commit is contained in:
parent
9a39dadbb2
commit
dae41f9c7c
2 changed files with 2 additions and 2 deletions
|
@ -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 }} \
|
||||
|
|
|
@ -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 }} \
|
||||
|
|
Loading…
Add table
Reference in a new issue