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
-**[How does backup utilities differ from a High Availability replica?](#how-does-backup-utilities-differ-from-a-high-availability-replica)**
17
-
-**[Support](#support)**
5
+
**Note**: the [GitHub Enterprise version requirements](docs/requirements.md#github-enterprise-version-requirements) have
6
+
changed starting with Backup Utilities v2.13.0, released on 27 March 2018.
18
7
19
8
### Features
20
9
21
-
The backup utilities implement a number of advanced capabilities for backup
10
+
Backup Utilities implement a number of advanced capabilities for backup
22
11
hosts, built on top of the backup and restore features already included in
23
12
GitHub Enterprise.
24
13
@@ -37,260 +26,25 @@ GitHub Enterprise.
37
26
- Runs under most Linux/Unix environments.
38
27
- MIT licensed, open source software maintained by GitHub, Inc.
39
28
40
-
### Requirements
41
-
42
-
The backup utilities should be run on a host dedicated to long-term permanent
43
-
storage and must have network connectivity with the GitHub Enterprise appliance.
44
-
45
-
##### Backup host requirements
46
-
47
-
Backup host software requirements are modest: Linux or other modern Unix
48
-
operating system with [bash][13], [git][14], [OpenSSH][15] 5.6 or newer, and [rsync][4] v2.6.4 or newer.
49
-
50
-
The backup host must be able to establish network connections outbound to the
51
-
GitHub appliance over SSH. TCP port 122 is used to backup GitHub Enterprise 2.0
52
-
or newer instances, and TCP port 22 is used for older versions (11.10.34X).
53
-
54
-
##### Storage requirements
55
-
56
-
Storage requirements vary based on current Git repository disk usage and growth
57
-
patterns of the GitHub appliance. We recommend allocating at least 5x the amount
58
-
of storage allocated to the primary GitHub appliance for historical snapshots
59
-
and growth over time.
60
-
61
-
The backup utilities use [hard links][12] to store data efficiently, so the backup
62
-
snapshots must be written to a filesystem with support for hard links.
63
-
64
-
Using a [case sensitive][16] file system is strongly recommended to avoid conflicts.
65
-
66
-
##### GitHub Enterprise version requirements
67
-
68
-
The backup utilities are fully supported under GitHub Enterprise 2.0 or
69
-
greater.
70
-
71
-
The previous release series (11.10.34x) is also supported but must meet minimum
72
-
version requirements. For online and incremental backup support, the GitHub
73
-
Enterprise instance must be running version 11.10.342 or above.
74
-
75
-
Earlier versions are supported, but online and incremental backups are not
76
-
supported. We strongly recommend upgrading to the latest release if you're
77
-
running a version prior to 11.10.342. Visit [enterprise.github.com][5] to
78
-
download the most recent GitHub Enterprise version.
79
-
80
-
Note: You can restore a snapshot that's at most two feature releases behind the restore target's version of GitHub Enterprise. For example, to restore a snapshot of GitHub Enterprise 2.4, the target GitHub Enterprise appliance must be running GitHub Enterprise 2.5.x or 2.6.x. You can't restore a snapshot from 2.4 to 2.7, because that's three releases ahead.
81
-
82
-
83
-
### Getting started
84
-
85
-
1.[Download the latest release version][release] and extract the repository using `tar`:
Backup snapshots are stored in rotating increment directories named after the
229
-
date and time the snapshot was taken. Each snapshot directory contains a full
230
-
backup snapshot of all relevant data stores. Repository, Search, and Pages data
231
-
is stored efficiently via hard links.
232
-
233
-
*Please note* Symlinks must be maintained when archiving backup snapshots.
234
-
Dereferencing or excluding symlinks, or storing the snapshot contents on a
235
-
filesystem which does not support symlinks will result in operational
236
-
problems when the data is restored.
237
-
238
-
The following example shows a snapshot file hierarchy for hourly frequency.
239
-
There are five snapshot directories, with the `current` symlink pointing to the
240
-
most recent successful snapshot:
241
-
242
-
./data
243
-
|- 20140724T010000
244
-
|- 20140725T010000
245
-
|- 20140726T010000
246
-
|- 20140727T010000
247
-
|- 20140728T010000
248
-
|- authorized-keys.json
249
-
|- elasticsearch/
250
-
|- enterprise.ghl
251
-
|- mysql.sql.gz
252
-
|- pages/
253
-
|- redis.rdb
254
-
|- repositories/
255
-
|- settings.json
256
-
|- ssh-host-keys.tar
257
-
|- strategy
258
-
|- version
259
-
|- current -> 20140728T010000
260
-
261
-
Note: the `GHE_DATA_DIR` variable set in `backup.config` can be used to change
262
-
the disk location where snapshots are written.
263
-
264
-
### How does backup utilities differ from a High Availability replica?
265
-
It is recommended that both backup utilities and an [High Availability replica](https://help.github.com/enterprise/admin/guides/installation/high-availability-cluster-configuration/) are used as part of a GitHub Enterprise deployment but they serve different roles.
266
-
267
-
##### The purpose of the High Availability replica
268
-
The High Availability replica is a fully redundant secondary GitHub Enterprise instance, kept in sync with the primary instance via replication of all major datastores. This active/passive cluster configuration is designed to minimize service disruption in the event of hardware failure or major network outage affecting the primary instance. Because some forms of data corruption or loss may be replicated immediately from primary to replica, it is not a replacement for the backup utilities as part of your disaster recovery plan.
269
-
270
-
##### The purpose of the backup utilities
271
-
Backup utilities are a disaster recovery tool. This tool takes date-stamped snapshots of all major datastores. These snapshots are used to restore an instance to a prior state or set up a new instance without having another always-on GitHub Enterprise instance (like the High Availability replica).
0 commit comments