File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ GHE_HOSTNAME="github.example.com"
9
9
# elsewhere for backing up to a separate partition / mount point.
10
10
GHE_DATA_DIR="data"
11
11
12
- # The number of backup snapshots to retain. Old snapshots are to be pruned separately
13
- # after successful backups . This option should be tuned based on the frequency
12
+ # The number of backup snapshots to retain. Old snapshots are pruned after each
13
+ # successful ghe-backup run . This option should be tuned based on the frequency
14
14
# of scheduled backup runs. If backups are scheduled hourly, snapshots will be
15
15
# available for the past N hours; if backups are scheduled daily, snapshots will
16
- # be available for the past N days ...
16
+ # be available for the past N days ...
17
17
GHE_NUM_SNAPSHOTS=10
18
18
19
19
# Pruning snapshots can be scheduled outside of the backup process. If set to 'yes'
Original file line number Diff line number Diff line change @@ -294,6 +294,8 @@ if [ -z "$failures" ]; then
294
294
295
295
if [[ $GHE_PRUNING_SCHEDULED != " yes" ]]; then
296
296
ghe-prune-snapshots
297
+ else
298
+ echo " Expired and incomplete snapshots to be pruned separately"
297
299
fi
298
300
fi
299
301
You can’t perform that action at this time.
0 commit comments