Skip to content

Commit aaa2206

Browse files
authored
Merge pull request #422 from github/enterprise-3.8-backport-417-add-error-msg-for-snapshots
Backport 417 for 3.8: add msg in the logs for skipping snapshots
2 parents 52a1375 + 84b2e45 commit aaa2206

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/ghe-backup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ if [ -z "$failures" ]; then
290290
ln -s "$GHE_SNAPSHOT_TIMESTAMP" "../current"
291291

292292
ghe-prune-snapshots
293+
else
294+
log_info "Skipping pruning snapshots, since some backups failed..."
293295
fi
294296

295297
log_info "Completed backup of $GHE_HOSTNAME in snapshot $GHE_SNAPSHOT_TIMESTAMP at $(date +"%H:%M:%S")"

0 commit comments

Comments
 (0)