1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/content/admin/github-actions/advanced-configuration-and-troubleshooting/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md
Siara 7d64ed3a11 Migrate Actions Runner Controller docs (#35498)
Co-authored-by: jc-clark <jc-clark@github.com>
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: amstead <am-stead@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Chris Patterson <chrispat@github.com>
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com>
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
2023-04-24 18:47:18 +00:00

3.3 KiB

title, shortTitle, intro, versions, type, topics, redirect_from
title shortTitle intro versions type topics redirect_from
Backing up and restoring GitHub Enterprise Server with GitHub Actions enabled Backing up and restoring To restore a backup of {% data variables.location.product_location %} when {% data variables.product.prodname_actions %} is enabled, you must configure {% data variables.product.prodname_actions %} before restoring the backup with {% data variables.product.prodname_enterprise_backup_utilities %}.
ghes
*
how_to
Actions
Backups
Enterprise
Infrastructure
/admin/github-actions/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled

About backups of {% data variables.product.product_name %} when using {% data variables.product.prodname_actions %}

You can use {% data variables.product.prodname_enterprise_backup_utilities %} to back up and restore the data and configuration for {% data variables.location.product_location %} to a new instance. For more information, see "AUTOTITLE."

However, not all the data for {% data variables.product.prodname_actions %} is included in these backups. {% data reusables.actions.enterprise-storage-ha-backups %}

Restoring a backup of {% data variables.product.product_name %} when {% data variables.product.prodname_actions %} is enabled

To restore a backup of {% data variables.location.product_location %} with {% data variables.product.prodname_actions %}, you must manually configure network settings and external storage on the destination instance before you restore your backup from {% data variables.product.prodname_enterprise_backup_utilities %}.

  1. Confirm that the source instance is offline.

  2. Manually configure network settings on the replacement {% data variables.product.prodname_ghe_server %} instance. Network settings are excluded from the backup snapshot, and are not overwritten by ghe-restore. For more information, see "AUTOTITLE."

  3. SSH into the destination instance. For more information, see "AUTOTITLE."

    $ ssh -p 122 admin@HOSTNAME
    
  4. Configure the destination instance to use the same external storage service for {% data variables.product.prodname_actions %} as the source instance by entering one of the following commands. {% indented_data_reference reusables.actions.configure-storage-provider-platform-commands spaces=3 %} {% data reusables.actions.configure-storage-provider %}

  5. To prepare to enable {% data variables.product.prodname_actions %} on the destination instance, enter the following command.

    ghe-config app.actions.enabled true
    

{% data reusables.actions.apply-configuration-and-enable %}

  1. After {% data variables.product.prodname_actions %} is configured and enabled, to restore the rest of the data from the backup, use the ghe-restore command. For more information, see "AUTOTITLE."
  2. Re-register your self-hosted runners on the destination instance. For more information, see "AUTOTITLE."