Skip to content

Commit a64763b

Browse files
committed
add more descr
1 parent fbfb368 commit a64763b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

backup.config-example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ GHE_HOSTNAME="github.example.com"
99
# elsewhere for backing up to a separate partition / mount point.
1010
GHE_DATA_DIR="data"
1111

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
1414
# of scheduled backup runs. If backups are scheduled hourly, snapshots will be
1515
# 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 ...
1717
GHE_NUM_SNAPSHOTS=10
1818

1919
# Pruning snapshots can be scheduled outside of the backup process. If set to 'yes'

bin/ghe-backup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ if [ -z "$failures" ]; then
294294

295295
if [[ $GHE_PRUNING_SCHEDULED != "yes" ]]; then
296296
ghe-prune-snapshots
297+
else
298+
echo "Expired and incomplete snapshots to be pruned separately"
297299
fi
298300
fi
299301

0 commit comments

Comments
 (0)