Skip to content
Snippets Groups Projects
Commit 7f47fbf0 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

show a warning if the sequence id was not fetched

parent 201dbe39
No related branches found
No related tags found
1 merge request!104show a warning if the sequence id was not fetched
......@@ -21,6 +21,7 @@
# 2022-04-14 v1.6 backup security infos (no restore yet)
# 2022-04-21 v1.7 restore security infos
# 2022-10-07 ah v1.8 unescape regex with space to prevent "grep: warning: stray \ before white space"
# 2023-06-06 ah v1.9 show a warning if the sequence id was not fetched
# ================================================================================
if [ -z "$BACKUP_TARGETDIR" ]; then
......@@ -218,7 +219,11 @@ function _doBackupOfSingleInstance(){
)
else
echo
if [ -z "$sSequenceCurrent" ]; then
echo "WARNING: unable to fetch current sequence ID - maybe the dump will fail."
else
echo
fi
echo "update_seq --+-- current [${sSequenceCurrent}]"
echo " +-- backup [${sSequenceLast}]"
echo -n "Need to backup ... "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment