Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.19 KB

File metadata and controls

29 lines (22 loc) · 1.19 KB
title Backup in clustering mode
shortTitle Backup in clustering
intro Enable backup from a node in cluster.
versions
ghes
> 3.19
contentType how-tos
category
Back up and upgrade your instance
redirect_from
/admin/backing-up-and-restoring-your-instance/backup-service-for-github-enterprise-server/backup-in-clustering-mode

Configuring backups from a cluster node

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.

  1. 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
  1. After ghe-config-apply is executed, the backup-server role will be set on this cluster node. You can now run ghe-backup directly on this node, or use the management console to schedule backups.