| title | Backup in clustering mode | ||
|---|---|---|---|
| shortTitle | Backup in clustering | ||
| intro | Enable backup from a node in cluster. | ||
| versions |
|
||
| contentType | how-tos | ||
| category |
|
For clustering, you can designate a node as your backup server. To minimize latency, {% data variables.product.github %} recommends picking a data node (for example, a mysql-server node or a git-server node) instead of a frontend node.
Important
Only one node can be specified as a backup-server node.
- To configure your backup server, run the following commands to set up a backup disk on one of the cluster nodes of your choice. See AUTOTITLE.
ghe-storage-init-backup /dev/YOUR_DEVICE_NAME
ghe-config-apply- After
ghe-config-applyis executed, thebackup-serverrole will be set on this cluster node. You can now runghe-backupdirectly on this node, or use the management console to schedule backups.