### Snippet from backup_functions.sh #set -x # shellcheck disable=SC2072 if [[ -n "${DO_PARALLEL_CHECKPOINTS:-}" && "$DO_PARALLEL_CHECKPOINTS" != "0" && "$P4D_VERSION" > "2022.2" ]]; then DoParallelCheckpoints=1 if [[ "$DO_PARALLEL_CHECKPOINTS" =~ ^[0-9]+$ ]]; then if [[ "$DO_PARALLEL_CHECKPOINTS" == 1 ]]; then Threads=4 else # Strip any leading zeros from the DO_PARALLEL_CHECKPOINTS value. Threads=$(echo $DO_PARALLEL_CHECKPOINTS|bc) fi else Threads=4 fi else DoParallelCheckpoints=0 fi #set +x