File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ cleanup () {
121
121
122
122
# Cleanup SSH multiplexing
123
123
ghe-ssh --clean
124
+
125
+ bm_end " $( basename $0 ) "
124
126
}
125
127
126
128
# Setup exit traps
216
218
echo " $GHE_SNAPSHOT_TIMESTAMP $$ " > ../in-progress
217
219
echo " $GHE_SNAPSHOT_TIMESTAMP $$ " > " ${GHE_DATA_DIR} /in-progress-backup"
218
220
221
+ bm_start " $( basename $0 ) "
219
222
START_TIME=$( date +%s)
220
223
log_info " Starting backup of $GHE_HOSTNAME with backup-utils v$BACKUP_UTILS_VERSION in snapshot $GHE_SNAPSHOT_TIMESTAMP "
221
224
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ cleanup () {
138
138
if ! rm -f " ${GHE_DATA_DIR} /in-progress-restore" ; then
139
139
log_error " Failed to remove in-progress file" 1>&3
140
140
fi
141
+
142
+ bm_end " $( basename $0 ) "
141
143
}
142
144
143
145
# This function's type definition is being passed to a remote host via `ghe-ssh` but is not used locally.
@@ -322,6 +324,7 @@ export PROGRESS=0 # Used to track progress of restore
322
324
echo " $PROGRESS " > /tmp/backup-utils-progress/progress
323
325
324
326
# Log restore start message locally and in /var/log/syslog on remote instance
327
+ bm_start " $( basename $0 ) "
325
328
START_TIME=$( date +%s)
326
329
log_info " Starting restore of $GHE_HOSTNAME with backup-utils v$BACKUP_UTILS_VERSION from snapshot $GHE_RESTORE_SNAPSHOT "
327
330
You can’t perform that action at this time.
0 commit comments