Added more date information
This commit is contained in:
parent
3dd22f69c1
commit
d327a1bf64
2 changed files with 4 additions and 5 deletions
|
@ -405,7 +405,7 @@ while [ "$i" -lt "$no_shares" ]; do
|
||||||
minutes=$(echo $seconds / 60 | bc)
|
minutes=$(echo $seconds / 60 | bc)
|
||||||
seconds=$(echo "$seconds - ($minutes * 60)" | bc)
|
seconds=$(echo "$seconds - ($minutes * 60)" | bc)
|
||||||
|
|
||||||
echo "Backup lasted: ${hours}:$minutes:$seconds (h:m:s)"
|
echo "Backup lasted: ${hours}:${minutes}:${seconds} (h:m:s)"
|
||||||
|
|
||||||
) | add_name
|
) | add_name
|
||||||
done
|
done
|
||||||
|
@ -414,7 +414,7 @@ done
|
||||||
# Be a good parent and wait for our children, if they are running wild parallel
|
# Be a good parent and wait for our children, if they are running wild parallel
|
||||||
#
|
#
|
||||||
if [ "$PARALLEL" ]; then
|
if [ "$PARALLEL" ]; then
|
||||||
echo "Waiting for child jobs to complete..."
|
echo "$(date) Waiting for child jobs to complete..."
|
||||||
wait
|
wait
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -422,9 +422,9 @@ fi
|
||||||
# Look for post-exec command (general)
|
# Look for post-exec command (general)
|
||||||
#
|
#
|
||||||
if [ -x "$CPOSTEXEC" ]; then
|
if [ -x "$CPOSTEXEC" ]; then
|
||||||
echo "Executing $CPOSTEXEC ..."
|
echo "$(date) Executing $CPOSTEXEC ..."
|
||||||
"$CPOSTEXEC"
|
"$CPOSTEXEC"
|
||||||
echo "Finished ${CPOSTEXEC}."
|
echo "$(date) Finished ${CPOSTEXEC}."
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "$CPOSTEXEC failed."
|
echo "$CPOSTEXEC failed."
|
||||||
|
|
|
@ -36,7 +36,6 @@ All other backups are still secure.
|
||||||
Incompatibilities
|
Incompatibilities
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
||||||
Versions < 0.4 and 0.4
|
Versions < 0.4 and 0.4
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue