Skip to content

Commit 7a3d1d9

Browse files
committed
More consistent remote log messages
1 parent 13af952 commit 7a3d1d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/ghe-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ ghe_remote_version_required
6868
echo "$GHE_REMOTE_VERSION" > version
6969

7070
# Log backup start message in /var/log/syslog on remote instance
71-
ghe_remote_logger "Starting backup from $(hostname) in snapshot $GHE_SNAPSHOT_TIMESTAMP"
71+
ghe_remote_logger "Starting backup from $(hostname) in snapshot $GHE_SNAPSHOT_TIMESTAMP ..."
7272

7373
# Determine whether to use the rsync or tarball backup strategy based on the
7474
# remote appliance version. The tarball strategy must be used with GitHub

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ trap "" EXIT
237237
update_restore_status "complete"
238238

239239
# Log restore complete message in /var/log/syslog on remote instance
240-
ghe_remote_logger "Completed restore from $(hostname) / snapshot $GHE_SNAPSHOT_TIMESTAMP ..."
240+
ghe_remote_logger "Completed restore from $(hostname) / snapshot ${GHE_SNAPSHOT_TIMESTAMP}."
241241

242242
echo "Restoring SSH host keys ..."
243243
ghe-ssh "$GHE_HOSTNAME" -- 'ghe-import-ssh-host-keys' < "$GHE_RESTORE_SNAPSHOT_PATH/ssh-host-keys.tar" 1>&3

0 commit comments

Comments
 (0)