Add borg answers for automation
This commit is contained in:
parent
84f24980c7
commit
eab8054538
@ -11,6 +11,11 @@ export BORG_REPO='/media/Storage/Backup/kvm'
|
|||||||
# If you have a passphrase for your repository,
|
# If you have a passphrase for your repository,
|
||||||
# set it here or you can use bash to retrieve it.
|
# set it here or you can use bash to retrieve it.
|
||||||
# export BORG_PASSPHRASE=''
|
# export BORG_PASSPHRASE=''
|
||||||
|
# Set answers for automation.
|
||||||
|
export BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes
|
||||||
|
export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
||||||
|
export BORG_CHECK_I_KNOW_WHAT_I_AM_DOING=NO
|
||||||
|
export BORG_DELETE_I_KNOW_WHAT_I_AM_DOING=NO
|
||||||
# Set to empty string to disable pruning.
|
# Set to empty string to disable pruning.
|
||||||
PRUNE_OPTIONS="--keep-daily 7 --keep-weekly 4 --keep-monthly 6"
|
PRUNE_OPTIONS="--keep-daily 7 --keep-weekly 4 --keep-monthly 6"
|
||||||
|
|
||||||
|
@ -12,6 +12,11 @@ export BORG_REPO='/media/Storage/Backup/kvm'
|
|||||||
# If you have a passphrase for your repository,
|
# If you have a passphrase for your repository,
|
||||||
# set it here or you can use bash to retrieve it.
|
# set it here or you can use bash to retrieve it.
|
||||||
# export BORG_PASSPHRASE=''
|
# export BORG_PASSPHRASE=''
|
||||||
|
# Set answers for automation.
|
||||||
|
export BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes
|
||||||
|
export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
||||||
|
export BORG_CHECK_I_KNOW_WHAT_I_AM_DOING=NO
|
||||||
|
export BORG_DELETE_I_KNOW_WHAT_I_AM_DOING=NO
|
||||||
|
|
||||||
for IMAGE in $IMAGES; do
|
for IMAGE in $IMAGES; do
|
||||||
# Export volume to borg backup.
|
# Export volume to borg backup.
|
||||||
|
Loading…
Reference in New Issue
Block a user