feat: Minor chnages

This commit is contained in:
ge 2022-06-07 23:39:45 +03:00
parent 9eb7f31130
commit 98b54d30fe
2 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
*.txt *.txt
build/ build/
tests/helpers/* tests/helpers/*
src/backups/
plan.sh plan.sh

View File

@ -184,11 +184,21 @@ for script in "${__args[@]}"; do
# Increase counter # Increase counter
((__iter++)) || true ((__iter++)) || true
# Unset on_error function to prevent misuse
unset on_error
# Unset user defined variables # Unset user defined variables
unset compression 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_options
unset tar_exclude unset tar_exclude
unset name_date_fmt
done done
log "Backup FINISHED" log "Backup FINISHED"