Backing up and restoring GitHub Enterprise Server with GitHub Actions enabled

GitHub Actions data on your external storage provider is not included in regular Servidor de GitHub Enterprise backups, and must be backed up separately.

GitHub Actions uses external storage to store workflow artifacts and logs. This data is stored on your external provider, such as Azure blob storage, Amazon S3, or MinIO. As a result, Servidor de GitHub Enterprise backups and Servidor de GitHub Enterprise high availability configurations do not provide protection for the data stored on this external storage, and instead rely on the data protection and replication provided by the external storage provider, such as Azure or AWS.

If you use Utilidades de respaldo del servidor de GitHub Enterprise to back up tu instancia de servidor de GitHub Enterprise, it's important to note that GitHub Actions data stored on your external storage provider is not included in the backup.

This is an overview of the steps required to restore tu instancia de servidor de GitHub Enterprise with GitHub Actions to a new appliance:

  1. Confirm that the original appliance is offline.
  2. Manually configure network settings on the replacement Servidor de GitHub Enterprise appliance. Network settings are excluded from the backup snapshot, and are not overwritten by ghe-restore.
  3. Configure the replacement appliance to use the same GitHub Actions external storage configuration as the original appliance.
  4. Enable GitHub Actions on the replacement appliance. This will connect the replacement appliance to the same external storage for GitHub Actions.
  5. After GitHub Actions is configured with the external storage provider, use the ghe-restore command to restore the rest of the data from the backup. For more information, see "Restoring a backup."
  6. Re-register your self-hosted runners on the replacement appliance. For more information, see Adding self-hosted runners.

For more information on backing up and restoring Servidor de GitHub Enterprise, see "Configuring backups on your appliance."

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.