Skip to content

Commit

Permalink
fix for kvdumpautorestore to exit as it will be done at splunk start
Browse files Browse the repository at this point in the history
  • Loading branch information
araman-m committed Feb 12, 2024
1 parent 8cf8553 commit cbc7684
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions splunkconf-backup/bin/splunkconf-restorebackup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ exec > /tmp/splunkconf-restore-debug.log 2>&1
# 20232120 more serialize at start with purge followed by init backup
# 20231221 add support for controlling debug level via external config setting or tag
# 20240212 fix typo in restore support for non kvdump (for autorestore)
# 20230212 fix for kvdumpautorestore to exit as it will be done at splunk start

VERSION="20240212a"
VERSION="20240212b"

###### BEGIN default parameters
# dont change here, use the configuration file to override them
Expand Down Expand Up @@ -281,7 +282,7 @@ case $MODE in
exit 1
fi
;;
"kvdumprestore") debug_log "argument valid , we are in kvdump restore mode" ;;
"kvdumprestore") debug_log "argument valid , we are in kvdump restore mode but launch remotely so we just stop for now, real restore will be initiated at next splunk start" ;exit 0;
*) fail_log "argument $MODE is NOT a valid value, please fix"; exit 1;;
esac

Expand Down

0 comments on commit cbc7684

Please sign in to comment.