From 98b54d30fe4b4835c66fa1013ba9755be4c2c23a Mon Sep 17 00:00:00 2001 From: ge Date: Tue, 7 Jun 2022 23:39:45 +0300 Subject: [PATCH] feat: Minor chnages --- .gitignore | 1 + src/boring-backup | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e9d2b4c..f6f5435 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.txt build/ tests/helpers/* +src/backups/ plan.sh diff --git a/src/boring-backup b/src/boring-backup index 8283a72..e9475e1 100755 --- a/src/boring-backup +++ b/src/boring-backup @@ -184,11 +184,21 @@ for script in "${__args[@]}"; do # Increase counter ((__iter++)) || true + # Unset on_error function to prevent misuse + unset on_error + # Unset user defined variables unset compression + #unset name_prefix + unset name_date_fmt + #unset s3_access_key + #unset s3_secret_key + #unset s3_access_token + #unset s3_endpoint + #unset s3_region + #unset s3cmd_config unset tar_options unset tar_exclude - unset name_date_fmt done log "Backup FINISHED"