Configuring backups from a cluster node
For clustering, you can designate a node as your backup server. To minimize latency, GitHub recommends picking a data node (for example, a mysql-server node or a git-server node) instead of a frontend node.
Importante
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 Configuring the backup service.
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.