We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37901d5 commit 592d8a1Copy full SHA for 592d8a1
bin/ghe-backup
@@ -139,6 +139,8 @@ fi
139
140
echo "$GHE_SNAPSHOT_TIMESTAMP $$" > ../in-progress
141
142
+START_TIME=$(date +%s)
143
+echo 'Start time:' $START_TIME
144
echo "Starting backup of $GHE_HOSTNAME with backup-utils v$BACKUP_UTILS_VERSION in snapshot $GHE_SNAPSHOT_TIMESTAMP"
145
146
# Perform a host connection check and establish the remote appliance version.
@@ -270,5 +272,9 @@ fi
270
272
echo "Checking for leaked ssh keys ..."
271
273
ghe-detect-leaked-ssh-keys -s "$GHE_SNAPSHOT_DIR" || true
274
275
+END_TIME=$(date +%s)
276
+echo 'End time:' $END_TIME
277
+echo 'Runtime:' $(($END_TIME - $START_TIME)) 'seconds'
278
+
279
# Make sure we exit zero after the conditional
280
true
0 commit comments