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

check archive file, not only seq file

parent 246cde40
Branches
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
# delete DB before create request
# 2022-01-20 v1.3 fixes with shellcheck
# 2022-03-17 v1.4 WIP: add lines with prefix __DB__
# 2022-04-07 v1.5 check archive file, not only seq file
# ================================================================================
if [ -z "$BACKUP_TARGETDIR" ]; then
......@@ -195,7 +196,7 @@ function _doBackupOfSingleInstance(){
# echo
# echo "update_seq --+-- current [${sSequenceCurrent}]"
# echo " +-- backup [${sSequenceLast}]"
if [ "${sSequenceCurrent}" = "${sSequenceLast}" ]; then
if [ "${sSequenceCurrent}" = "${sSequenceLast}" ] && [ -f "$ARCHIVFILE" ]; then
echo SKIP: still on sequence "${sSequenceLast}"
else
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment