Add borg answers for automation

This commit is contained in:
GRMrGecko 2022-12-29 12:56:30 -06:00
parent 84f24980c7
commit eab8054538
2 changed files with 10 additions and 0 deletions

View File

@ -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"

View File

@ -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.