File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,8 @@ if is_external_database_snapshot && ! $instance_configured && ! $FORCE; then
195
195
fi
196
196
197
197
# Log restore start message locally and in /var/log/syslog on remote instance
198
+ START_TIME=$( date +%s)
199
+ echo ' Start time:' $START_TIME
198
200
echo " Starting restore of $GHE_HOSTNAME with backup-utils v$BACKUP_UTILS_VERSION from snapshot $GHE_RESTORE_SNAPSHOT "
199
201
ghe_remote_logger " Starting restore from $( hostname) with backup-utils v$BACKUP_UTILS_VERSION / snapshot $GHE_RESTORE_SNAPSHOT ..."
200
202
@@ -448,8 +450,13 @@ else
448
450
ghe-ssh " $GHE_HOSTNAME " -- /bin/sh 1>&3
449
451
fi
450
452
453
+ END_TIME=$( date +%s)
454
+ echo ' End time:' $END_TIME
455
+ echo ' Runtime:' $(( $END_TIME - $START_TIME )) ' seconds'
456
+
451
457
echo " Restore of $GHE_HOSTNAME from snapshot $GHE_RESTORE_SNAPSHOT finished."
452
458
453
459
if ! $instance_configured ; then
454
460
echo " To complete the restore process, please visit https://$hostname /setup/settings to review and save the appliance configuration."
455
461
fi
462
+
You can’t perform that action at this time.
0 commit comments