Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
backup-utils/docs/backup.config-example at master · github/backup-utils · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
github
backup-utils
Repository navigation
Code
Pull requests
1
(1)
Only collaborators can create PRs
Actions
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
backup-utils
/
docs
/
backup.config-example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
159 lines (128 loc) · 6.22 KB
master
Breadcrumbs
backup-utils
/
docs
/
backup.config-example
Copy path
Top
File metadata and controls
Code
Blame
159 lines (128 loc) · 6.22 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# GitHub Enterprise Server backup configuration file
# The hostname of the GitHub Enterprise Server appliance to back up. The host
# must be reachable via SSH from the backup host.
GHE_HOSTNAME="github.example.com"
# Path to where backup data is stored. By default this is the "data"
# directory next to this file but can be set to an absolute path
# elsewhere for backing up to a separate partition / mount point.
GHE_DATA_DIR="data"
# The number of backup snapshots to retain. Old snapshots are pruned after each
# successful ghe-backup run. This option should be tuned based on the frequency
# of scheduled backup runs. If backups are scheduled hourly, snapshots will be
# available for the past N hours; if backups are scheduled daily, snapshots will
# be available for the past N days ...
GHE_NUM_SNAPSHOTS=10
# Pruning snapshots can be scheduled outside of the backup process.
# If set to 'yes', snapshots will not be pruned by ghe-backup.
# Instead, ghe-prune-snapshots will need to be invoked separately via cron
#GHE_PRUNING_SCHEDULED=yes
# If GHE_ROUTE_VERIFICATION is set to true then ghe-repository-backup and
# ghe-storage-backup will issue a warning if the repositories and objects in
# the backup do not match the pre-backup inventory of routes.
#GHE_ROUTE_VERIFICATION=false
# If GHE_MANAGE_CONSOLE_PW_RESTORE is set to false then management-console password
# will not be restored from backed-up snapshot data, it is restored by default
#GHE_MANAGE_CONSOLE_PW_RESTORE=true
# If GHE_SKIP_CHECKS is set to true (or if --skip-checks is used with ghe-backup) then ghe-host-check
# disk space validation and software version checks on the backup-host will be disabled.
#GHE_SKIP_CHECKS=false
# Cluster filesystem to check if it's writable as part of ghe-host-check
# By default it is /data/user/tmp but can be updated if needed
#GHE_FILE_SYSTEM_WRITE_CHECK="/data/user/tmp"
# The hostname of the GitHub appliance to restore. If you've set up a separate
# GitHub appliance to act as a standby for recovery, specify its IP or hostname
# here. The host to restore to may also be specified directly when running
# ghe-restore so use of this variable isn't strictly required.
#
#GHE_RESTORE_HOST="github-standby.example.com"
# If set to 'yes', ghe-restore will omit the restore of audit logs.
#
#GHE_RESTORE_SKIP_AUDIT_LOGS=no
# If set to 'yes', backup and restore of Elasticsearch indices will be skipped
#
#GHE_SKIP_SEARCH_INDICES=no
# When verbose output is enabled with `-v`, it's written to stdout by default. If
# you'd prefer it to be written to a separate file, set this option.
#
#GHE_VERBOSE_LOG="/var/log/backup-verbose.log"
# Any extra options passed to the SSH command.
# In a single instance environment, nothing is required by default.
# In a clustering environment, "-i abs-path-to-ssh-private-key" is required.
#
#GHE_EXTRA_SSH_OPTS=""
#
# All backup processes are ran with the lowest priority for scheduling by default.
# To change throttling behaviour/allow higher priority for backup processes, set higher values for following variables.
# default value for GHENICE=nice -n 19
# default value for GHE_IONICE=ionice -c 3
#GHE_NICE=""
#GHE_IONICE=""
# Any extra options passed to the rsync command. Nothing required by default.
#
#GHE_EXTRA_RSYNC_OPTS=""
# If set to 'yes', rsync will be set to use compression during backups and restores transfers. Defaults to 'no'.
#
#GHE_RSYNC_COMPRESSION_ENABLED=yes
# If enabled and set to 'no', rsync warning message during backups will be suppressed.
#RSYNC_WARNING=no
# If set to 'yes', logging output will be colorized.
#
#OUTPUT_COLOR=no
# If set to 'no', GHE_DATA_DIR will not be created automatically
# and restore/backup will exit 8
#
#GHE_CREATE_DATA_DIR=yes
# If set to 'yes', git fsck will run on the repositories
# and print some additional info.
#
# WARNING: do not enable this, only useful for debugging/development
#GHE_BACKUP_FSCK=no
# Cadence of MSSQL backups
# <full>,<differential>,<transactionlog> all in minutes
# e.g.
# - Full backup every week (10080 minutes)
# - Differential backup every day (1440 minutes)
# - Transactionlog backup every 15 minutes
#
#GHE_MSSQL_BACKUP_CADENCE=10080,1440,15
# If set to 'yes', ghe-backup jobs will run in parallel. Defaults to 'no'.
#
#GHE_PARALLEL_ENABLED=yes
# Sets the maximum number of jobs to run in parallel. Defaults to the number
# of available processing units on the machine.
#
#GHE_PARALLEL_MAX_JOBS=2
# Sets the maximum number of rsync jobs to run in parallel. Defaults to the
# configured GHE_PARALLEL_MAX_JOBS, or the number of available processing
# units on the machine.
#
# GHE_PARALLEL_RSYNC_MAX_JOBS=3
# When jobs are running in parallel wait as needed to avoid starting new jobs
# when the system's load average is not below the specified percentage. Defaults to
# unrestricted.
#
#GHE_PARALLEL_MAX_LOAD=50
# When running an external mysql database, run this script to trigger a MySQL backup
# rather than attempting to backup via backup-utils directly.
#EXTERNAL_DATABASE_BACKUP_SCRIPT="/bin/false"
# When running an external mysql database, run this script to trigger a MySQL restore
# rather than attempting to backup via backup-utils directly.
#EXTERNAL_DATABASE_RESTORE_SCRIPT="/bin/false"
# If set to 'yes', Pages data will be included in backup and restore. Defaults to 'yes'
#GHE_BACKUP_PAGES=no
# Elasticsearch backup strategy. Valid values: 'rsync' or 'snapshot'
# 'rsync' uses the traditional on-disk rsync method (default for backward compatibility)
# 'snapshot' uses native Elasticsearch snapshots stored in customer-managed cloud storage
#
# Requirements for snapshot strategy:
# - Configure the repository via ghe-config (for example, app.elasticsearch.backup.*)
# and apply it with ghe-config-apply on the appliance
# - Repository name format: search_index_snapshots-{version} (e.g., search_index_snapshots-3.19.1)
# - Supported storage types: S3 (repository-s3), Azure (repository-azure), Google Cloud Storage (repository-gcs)
# - Backup-utils stores only snapshot metadata locally; snapshot contents remain in the configured repository
#
#GHE_ES_BACKUP_STRATEGY=snapshot
# Snapshot naming prefix
#GHE_ES_SNAPSHOT_NAME_PREFIX=snapshot
# Elasticsearch snapshots always include cluster global state (templates, pipelines, data streams).
# This setting is not configurable.
You can’t perform that action at this time.