Skip to content

Commit 95daff2

Browse files
committed
add pruning variable
1 parent ea92db7 commit 95daff2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

backup.config-example

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ 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 pruned after each
13-
# successful ghe-backup run. This option should be tuned based on the frequency
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
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. Pruning enablement defaults to 'yes'
1717
GHE_NUM_SNAPSHOTS=10
18+
#GHE_PRUNING_ENABLED=no
1819

1920
# The hostname of the GitHub appliance to restore. If you've set up a separate
2021
# GitHub appliance to act as a standby for recovery, specify its IP or hostname
@@ -97,4 +98,4 @@ GHE_NUM_SNAPSHOTS=10
9798
#EXTERNAL_DATABASE_RESTORE_SCRIPT="/bin/false"
9899

99100
# If set to 'yes', Pages data will be included in backup and restore. Defaults to 'yes'
100-
#GHE_BACKUP_PAGES=no
101+
#GHE_BACKUP_PAGES=no

0 commit comments

Comments
 (0)