Configuring backups from a replica node
For high availability, you can designate a replica node as your backup server. To minimize latency, GitHub recommends picking a replica node in the same region or datacenter as your primary node.
Important
Backups from cache replica nodes or active geo replica nodes are not supported.
To configure your backup server, run the following commands, replacing HOSTNAME with the hostname of the node:
ghe-config cluster.HOSTNAME.backup-server true
ghe-config-apply
You can now run ghe-backup directly on your replica node.
Warning
Due to the latency between primary and replica nodes, you may lose data when backing up from a replica node.