Skip to content

Commit d20cf09

Browse files
tonytrghubot
authored andcommitted
add msg in the logs for skipping snapshots (#417)
1 parent c9a416d commit d20cf09

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)