Skip to content

Commit db1aa63

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 939ea43 + 2616612 commit db1aa63

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

37.8 KB
Loading
41.4 KB
Loading

content/admin/github-actions/advanced-configuration-and-troubleshooting/backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,35 @@ This is an overview of the steps required to restore {% data variables.product.p
2121

2222
1. Confirm that the original appliance is offline.
2323
1. Manually configure network settings on the replacement {% data variables.product.prodname_ghe_server %} appliance. Network settings are excluded from the backup snapshot, and are not overwritten by `ghe-restore`.
24-
1. Configure the replacement appliance to use the same {% data variables.product.prodname_actions %} external storage configuration as the original appliance.
24+
1. To configure the replacement appliance to use the same {% data variables.product.prodname_actions %} external storage configuration as the original appliance, from the new appliance, set the required parameters with `ghe-config` command.
25+
26+
- Azure Blob Storage
27+
```shell
28+
ghe-config secrets.actions.storage.blob-provider "azure"
29+
ghe-config secrets.actions.storage.azure.connection-string "_Connection_String_"
30+
```
31+
- Amazon S3
32+
```shell
33+
ghe-config secrets.actions.storage.blob-provider "s3"
34+
ghe-config secrets.actions.storage.s3.bucket-name "_S3_Bucket_Name"
35+
ghe-config secrets.actions.storage.s3.service-url "_S3_Service_URL_"
36+
ghe-config secrets.actions.storage.s3.access-key-id "_S3_Access_Key_ID_"
37+
ghe-config secrets.actions.storage.s3.access-secret "_S3_Access_Secret_"
38+
```
39+
- Optionally, to enable S3 force path style, enter the following command:
40+
```shell
41+
ghe-config secrets.actions.storage.s3.force-path-style true
42+
```
43+
44+
2545
1. Enable {% data variables.product.prodname_actions %} on the replacement appliance. This will connect the replacement appliance to the same external storage for {% data variables.product.prodname_actions %}.
26-
1. After {% data variables.product.prodname_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](/admin/configuration/configuring-backups-on-your-appliance#restoring-a-backup)."
46+
47+
```shell
48+
ghe-config app.actions.enabled true
49+
ghe-config-apply
50+
```
51+
52+
1. After {% data variables.product.prodname_actions %} is configured and enabled, use the `ghe-restore` command to restore the rest of the data from the backup. For more information, see "[Restoring a backup](/admin/configuration/configuring-backups-on-your-appliance#restoring-a-backup)."
2753
1. Re-register your self-hosted runners on the replacement appliance. For more information, see [Adding self-hosted runners](/actions/hosting-your-own-runners/adding-self-hosted-runners).
2854

2955
For more information on backing up and restoring {% data variables.product.prodname_ghe_server %}, see "[Configuring backups on your appliance](/admin/configuration/configuring-backups-on-your-appliance)."

data/reusables/secret-scanning/partner-secret-list-private-repo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Atlassian | Atlassian JSON Web Token | atlassian_jwt
2424
{%- ifversion fpt or ghec or ghes > 3.1 or ghae %}
2525
Atlassian | Bitbucket Server Personal Access Token | bitbucket_server_personal_access_token{% endif %}
2626
{%- ifversion fpt or ghec or ghes > 3.3 %}
27+
Azure | Azure Active Directory Application Secret | azure_active_directory_application_secret{% endif %}
28+
{%- ifversion fpt or ghec or ghes > 3.3 %}
2729
Azure | Azure Cache for Redis Access Key | azure_cache_for_redis_access_key{% endif %}
2830
Azure | Azure DevOps Personal Access Token | azure_devops_personal_access_token
2931
Azure | Azure SAS Token | azure_sas_token

0 commit comments

Comments
 (0)