Skip to content

Commit ea92db7

Browse files
committed
remove ghe-prune-snapshots call
1 parent cfaa9a7 commit ea92db7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bin/ghe-backup

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,13 @@ if [ "$GHE_BACKUP_FSCK" = "yes" ]; then
284284
fi
285285

286286
# If everything was successful, mark the snapshot as complete, update the
287-
# current symlink to point to the new snapshot and prune expired and failed
288-
# snapshots.
287+
# current symlink to point to the new snapshot
288+
# Expired and failed snapshots to be pruned separately
289289
if [ -z "$failures" ]; then
290290
rm "incomplete"
291291

292292
rm -f "../current"
293293
ln -s "$GHE_SNAPSHOT_TIMESTAMP" "../current"
294-
295-
ghe-prune-snapshots
296294
fi
297295

298296
END_TIME=$(date +%s)

0 commit comments

Comments
 (0)