zzz_evobackup: improve the documentation

This commit is contained in:
Jérémy Lecour 2024-04-30 09:54:14 +02:00 committed by Jérémy Lecour
parent 939ced46c2
commit 8a6db11ca7
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -274,13 +274,14 @@ local_tasks() {
### # shellcheck disable=SC2174 ### # shellcheck disable=SC2174
### mkdir -p -m 700 "${dump_dir}" "${errors_dir}" ### mkdir -p -m 700 "${dump_dir}" "${errors_dir}"
### ###
### # Log the start of the command ### # Log the start of the function
### log "LOCAL_TASKS - ${FUNCNAME[0]}: start ${dump_file}" ### log "LOCAL_TASKS - ${FUNCNAME[0]}: start ${dump_file}"
### ###
### # Execute your dump command ### # Prepare the dump command (errors go to the error file and the data to the dump file)
### # Send errors to the error file and the data to the dump file
### dump_cmd="my-dump-command 2> ${error_file} > ${dump_file}" ### dump_cmd="my-dump-command 2> ${error_file} > ${dump_file}"
### log "LOCAL_TASKS - ${FUNCNAME[0]}: ${dump_cmd}" ### log "LOCAL_TASKS - ${FUNCNAME[0]}: ${dump_cmd}"
###
### # Execute the dump command
### ${dump_cmd} ### ${dump_cmd}
### ###
### # Check result and deal with potential errors ### # Check result and deal with potential errors
@ -293,7 +294,7 @@ local_tasks() {
### rm -f "${error_file}" ### rm -f "${error_file}"
### fi ### fi
### ###
### # Log the end of the command ### # Log the end of the function
### log "LOCAL_TASKS - ${FUNCNAME[0]}: stop ${dump_file}" ### log "LOCAL_TASKS - ${FUNCNAME[0]}: stop ${dump_file}"
### } ### }