Releases: github/backup-utils
Releases 路 github/backup-utils
GitHub Enterprise Server Backup Utilities v3.12.1
Bug Fixes
- When restoring an instance using the
ghe-restorecommand from GitHub Enterprise Server Backup Utilities, restoration of files in/user/data/storagefailed with axrealloc: cannot allocate (...) byteserror.
Backups and Disaster Recovery
ghe-backuporghe-restorecommands could fail to delete progress files created by older versions of GitHub Enterprise Server Backup Utilities.- Administrators running
ghe-backupwill no longer see "Verifying Routes" messages. Route verification has been found to be unnecessary and has been disabled by default. Administrators who prefer to see these messages can enable route verification by settingGHE_ROUTE_VERIFICATIONto "true" in their backup-utils configuration file. - To prevent problems associated with incomplete backups, the
ghe-restoreprocess will exit with an error if the snapshot being restored is incomplete.
GitHub Enterprise Server Backup Utilities v3.11.2
Bug Fixes
- When restoring an instance using the
ghe-restorecommand from GitHub Enterprise Server Backup Utilities, restoration of files in/user/data/storagefailed with axrealloc: cannot allocate (...) byteserror.
Backups and Disaster Recovery
- Administrators running
ghe-backupwill no longer see "Verifying Routes" messages. Route verification has been found to be unnecessary and has been disabled by default. Administrators who prefer to see these messages can enable route verification by settingGHE_ROUTE_VERIFICATIONto "true" in their backup-utils configuration file. - To prevent problems associated with incomplete backups, the
ghe-restoreprocess will exit with an error if the snapshot being restored is incomplete.
GitHub Enterprise Server Backup Utilities v3.10.4
Bug Fixes
- When restoring an instance using the
ghe-restorecommand from GitHub Enterprise Server Backup Utilities, restoration of files in/user/data/storagefailed with axrealloc: cannot allocate (...) byteserror.
Backups and Disaster Recovery
- Administrators running
ghe-backupwill no longer see "Verifying Routes" messages. Route verification has been found to be unnecessary and has been disabled by default. Administrators who prefer to see these messages can enable route verification by settingGHE_ROUTE_VERIFICATIONto "true" in their backup-utils configuration file. - To prevent problems associated with incomplete backups, the
ghe-restoreprocess will exit with an error if the snapshot being restored is incomplete.
GitHub Enterprise Server Backup Utilities v3.9.6
Bug Fixes
- When restoring an instance using the
ghe-restorecommand from GitHub Enterprise Server Backup Utilities, restoration of files in/user/data/storagefailed with axrealloc: cannot allocate (...) byteserror.
Backups and Disaster Recovery
- Administrators running
ghe-backupwill no longer see "Verifying Routes" messages. Route verification has been found to be unnecessary and has been disabled by default. Administrators who prefer to see these messages can enable route verification by settingGHE_ROUTE_VERIFICATIONto "true" in their backup-utils configuration file. - To prevent problems associated with incomplete backups, the
ghe-restoreprocess will exit with an error if the snapshot being restored is incomplete.
GitHub Enterprise Server Backup Utilities v3.12.0
Changes
- When using GitHub Enterprise Server 3.9.10 or newer, 3.10.8 or newer, or 3.11.5 or newer, with a high availability (HA) configuration,
you can backup the MySQL database from a HA replica by settingghe-config mysql.backup.replica <replica-hostname>聽on your primary node.
We recommend that聽replica-hostnameresides in the same region as the backup host in order to reduce latency. [Updated 2024-03-01] - When using GitHub Enterprise Server 3.9.10 or newer, or 3.11.5 or newer, with a cluster configuration,
backup-utils will backup the MySQL database from one of the MySQL replica nodes instead of the primary node. ghe-backupwill provide a clear error message if an offline node in a cluster configuration is detected by聽ghe-cluster-host-check.
GitHub Enterprise Server Backup Utilities v3.11.1
Bug Fixes
- On an instance with multiple nodes, backups failed silently if a node was offline or unavailable.
- When restoring a backup using the
ghe-restorecommand, the restore operation could fail due to the root disk filling completely. [Updated 2024-02-29]
Changes
- When using GitHub Enterprise Server 3.9.10 or newer, 3.10.8 or newer, or 3.11.1 or newer, with a high availability (HA) configuration, you can backup the MySQL database from a HA replica by setting
ghe-config mysql.backup.replica <replica-hostname>聽on your primary node. We recommend that聽replica-hostnameresides in the same region as the backup host in order to reduce latency. [Updated 2024-03-01] - When using GitHub Enterprise Server 3.9.10 or newer, or 3.11.1 or newer, with a cluster configuration, backup-utils will backup MySQL from one of the MySQL replica nodes instead of the primary node.
Backups and Disaster Recovery
ghe-backuporghe-restorecommands could fail to delete progress files created by older versions of GitHub Enterprise Server Backup Utilities.
GitHub Enterprise Server Backup Utilities v3.10.3
Bug Fixes
- On an instance with multiple nodes, backups failed silently if a node was offline or unavailable.
- When restoring a backup using the
ghe-restorecommand, the restore operation could fail due to the root disk filling completely. [Updated 2024-02-29]
Changes
- When using GitHub Enterprise Server 3.9.10 or newer, or 3.10.8 or newer, with a high availability (HA) configuration, you can backup the MySQL database from a HA replica by setting
ghe-config mysql.backup.replica <replica-hostname>聽on your primary node. We recommend that聽replica-hostnameresides in the same region as the backup host in order to reduce latency. [Updated 2024-03-01] - When using GitHub Enterprise Server 3.9.10 or newer with a cluster configuration, backup-utils will backup MySQL from one of the MySQL replica nodes instead of the primary node.
Backups and Disaster Recovery
- In the Incremental MySQL Backups and Restores documentation, the variable for the number of incremental backups was incorrectly given as
GHE_INCREMENTAL_BACKUP_MAX. This has been corrected toGHE_INCREMENTAL_MAX_BACKUPS. ghe-backuporghe-restorecommands could fail to delete progress files created by older versions of GitHub Enterprise Server Backup Utilities.- For better compatibility across Linux distributions, the host operating system version displayed in output is obtained from /etc/os-release.
GitHub Enterprise Server Backup Utilities v3.9.5
Bug Fixes
- On an instance with multiple nodes, backups failed silently if a node was offline or unavailable.
- On an instance with Actions enabled, incorrect backup and restore settings prevented the storage container name from being restored. This made the logs from that container inaccessible, and caused Actions to create a new storage container in a different location.
- When restoring a backup using the
ghe-restorecommand, the restore operation could fail due to the root disk filling completely. [Updated 2024-02-29]
Changes
- When using GitHub Enterprise Server 3.9.10 or newer with a high availability (HA) configuration, you can backup the MySQL database from a HA replica by setting
ghe-config mysql.backup.replica <replica-hostname>聽on your primary node. We recommend that聽replica-hostnameresides in the same region as the backup host in order to reduce latency. - When using GitHub Enterprise Server 3.9.10 or newer with a cluster configuration, backup-utils will backup MySQL from one of the MySQL replica nodes instead of the primary node.
Backups and Disaster Recovery
ghe-backuporghe-restorecommands could fail to delete progress files created by older versions of GitHub Enterprise Server Backup Utilities.- For better compatibility across Linux distributions, the host operating system version displayed in output is obtained from /etc/os-release.
GitHub Enterprise Server Backup Utilities v3.8.5
Bug Fixes
- On an instance with multiple nodes, backups failed silently if a node was offline or unavailable.
- On an instance with Actions enabled, incorrect backup and restore settings prevented the storage container name from being restored. This made the logs from that container inaccessible, and caused Actions to create a new storage container in a different location.
Backups and Disaster Recovery
- During backups using a version of Backup Utilities 3.8, the log displayed the following warning:
management console argon2 secret not set. - For better compatibility across Linux distributions, the host operating system version displayed in output is obtained from /etc/os-release.
GitHub Enterprise Server Backup Utilities v3.11.0
Bug Fixes
ghe-backup-myqlandghe-restore-mysqlwill now exit 1 on errors.- On an instance with Actions enabled, incorrect backup and restore settings prevented the storage container name from being restored. This made the logs from that container inaccessible, and caused Actions to create a new storage container in a different location.
- When backups are run for HA instances in both primary and replica nodes a
.sync-in-progressfile will be created. This will disableNetworkMaintenancejobs from running and queueing up when backups are running from the primary node.
Changes
- Estimated transfer sizes will be calculated on appropriate nodes for clustered environments.
- Added support for finding the
parallelcommand from themoreutilstool suite on more Linux distributions, including Arch Linux and Alpine Linux. ghe-restoreavoids unnecessaryrsyncoperations when restoring to non-clustered environments.ghe-backupandghe-restoreoutput their total runtimersynccompression is now disabled by default. The-zflag has been removed from theghe-rsynccommand in multiple files to improve transfer speed and reduce CPU usage. To enablersynccompression globally, addGHE_RSYNC_COMPRESSION_ENABLED=yesto thebackup.configfile.- Updates the Host OS version output to use
/etc/os-releasefor better compatibility with other Linux distributions.
Backups and Disaster Recovery
- When a NFS mount is detected for snapshots on backup hosts, backup logs will show a warning to notify the user that such a setup may incur performance issues as highlighted in storage requirements documentation.

