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"