Skip to content

Commit b6beab9

Browse files
committed
troubleshooting
1 parent 9329a33 commit b6beab9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ log_warn "Warning: storing backup-utils version remotely failed."
388388
# Stop cron and timerd, as scheduled jobs may disrupt the restore process.
389389
log_info "Stopping cron and github-timerd ..."
390390
if $CLUSTER; then
391-
bm_start "stop_cron_github_timerd"
391+
bm_start "stop_cron"
392392
if ! ghe-ssh "$GHE_HOSTNAME" -- "ghe-cluster-each -- sudo service cron stop"; then
393393
log_warn "Failed to stop cron on one or more nodes" 1>&3
394394
fi

share/github-backup-utils/bm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ bm_end() {
4949
local tend tstart total
5050
tend=$(date +%s)
5151
tstart=$(eval "echo \$$(bm_desc_to_varname "$@")_start")
52+
echo "tend: $tend"
53+
echo "tstart: $tstart"
5254
total=$(($tend - $tstart))
5355

5456
echo "$1 took ${total}s" >> $BM_FILE_PATH

0 commit comments

Comments
 (0)