Skip to content

Repo sync #39516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docs for local storage migrations option (#56145)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 24, 2025
commit 7b7bbafe13865e5bcf6a49d1712a381ad6a582d3
Original file line number Diff line number Diff line change
Expand Up @@ -69,27 +69,25 @@ To migrate your repositories from {% data variables.product.prodname_ghe_server

## Step 3: Set up blob storage

Because many {% data variables.product.prodname_ghe_server %} instances sit behind firewalls, for {% data variables.product.prodname_ghe_server %} versions 3.8 or higher, we use blob storage as an intermediate location to store your data that {% data variables.product.prodname_dotcom %} can access.

You must first set up blob storage with a supported cloud provider, then configure your settings in the {% data variables.enterprise.management_console %} of {% data variables.location.product_location_enterprise %}.
{% data reusables.enterprise-migration-tool.blob-storage-intro %}

> [!NOTE]
> You only need to configure blob storage if you use {% data variables.product.prodname_ghe_server %} versions 3.8 or higher. If you use {% data variables.product.prodname_ghe_server %} versions 3.7 or lower, skip to [Step 4: Set up a migration source in {% data variables.product.prodname_ghe_cloud %}](#step-4-set-up-a-migration-source-in-github-enterprise-cloud).
>
> Blob storage is required to migrate repositories with large Git source or metadata. If you use {% data variables.product.prodname_ghe_server %} versions 3.7 or lower, you will not be able to perform migrations where your Git source or metadata exports exceed 2GB. To perform these migrations, update to {% data variables.product.prodname_ghe_server %} versions 3.8 or higher.

### Setting up blob storage with a supported cloud provider

{% data reusables.enterprise-migration-tool.supported-blob-storage-providers %}

#### Setting up an AWS S3 storage bucket
### Setting up an AWS S3 storage bucket

{% data reusables.enterprise-migration-tool.set-up-aws-bucket %}

#### Setting up an Azure Blob Storage account
### Setting up an Azure Blob Storage account

{% data reusables.enterprise-migration-tool.set-up-azure-storage-account %}

### Using local storage (GHES 3.16+)

{% data reusables.enterprise-migration-tool.local-storage-steps %}

### Configuring blob storage in the {% data variables.enterprise.management_console %} of {% data variables.location.product_location_enterprise %}

{% data reusables.enterprise-migration-tool.blob-storage-management-console %}
Expand Down Expand Up @@ -330,25 +328,23 @@ For {% data variables.product.pat_generic %} requirements, see [AUTOTITLE](/migr

## Step 4: Set up blob storage

Because many {% data variables.product.prodname_ghe_server %} instances sit behind firewalls, we use blob storage as an intermediate location to store your data that {% data variables.product.prodname_dotcom %} can access.
{% data reusables.enterprise-migration-tool.blob-storage-intro %}

First, you must set up blob storage with a supported cloud provider. Then, you must configure your credentials for the storage provider in the {% data variables.enterprise.management_console %} or {% data variables.product.prodname_cli %}.

### Setting up blob storage with a supported cloud provider

{% data reusables.enterprise-migration-tool.supported-blob-storage-providers %}

#### Setting up an AWS S3 storage bucket
### Setting up an AWS S3 storage bucket

{% data reusables.enterprise-migration-tool.set-up-aws-bucket %}

#### Setting up an Azure Blob Storage storage account
### Setting up an Azure Blob Storage storage account

{% data reusables.enterprise-migration-tool.set-up-azure-storage-account %}

### Using local storage (GHES 3.16+)

{% data reusables.enterprise-migration-tool.local-storage-steps %}

### Configuring your blob storage credentials

After you set up blob storage with a supported cloud provider, you must configure your credentials for the storage provider in {% data variables.product.prodname_dotcom %}:
If you set up blob storage with a **cloud provider** (as opposed to local storage), you must configure your credentials for the storage provider in {% data variables.product.prodname_dotcom %}:

* If you use {% data variables.product.prodname_ghe_server %} 3.8 or higher, configure your credentials in the {% data variables.enterprise.management_console %}.
* If you use {% data variables.product.prodname_ghe_server %} 3.7 or lower, configure the credentials in the {% data variables.product.prodname_cli %}.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
You must store your repository data in a place that {% data variables.product.prodname_dotcom %} can access. If your {% data variables.product.prodname_ghe_server %} instance is behind a firewall, you may need to set up blob storage with an external cloud service.

First, you must set up blob storage with a supported provider. Then, if you're using a cloud provider, you must configure your credentials for the storage provider in the {% data variables.enterprise.management_console %} or {% data variables.product.prodname_cli %}.

{% data reusables.enterprise-migration-tool.supported-blob-storage-providers %}
* Local storage on the GHES instance (GHES **3.16** and later)
11 changes: 11 additions & 0 deletions data/reusables/enterprise-migration-tool/local-storage-steps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
When you run a migration with local storage, archive data is written to the disk on {% data variables.location.product_location_enterprise %}, without the need for a cloud storage provider. {% data variables.product.prodname_importer_proper_name %} will automatically retrieve the stored archive from {% data variables.product.prodname_ghe_server %}, unless you have blocked egress traffic from {% data variables.product.prodname_ghe_server %}.

1. From an administrative account on {% data variables.product.prodname_ghe_server %}, in the upper-right corner of any page, click {% octicon "rocket" aria-label="Site admin" %}.
{% data reusables.enterprise_site_admin_settings.management-console %}
1. Sign in to the {% data variables.enterprise.management_console %}.
1. In the left sidebar, click **Migrations**.
1. Click **Enable {% data variables.product.company_short %} Migrations**.
1. Under "Migrations Storage", click **Local Storage**.
1. Click **Save settings**.

When you perform the migration, monitor your disk space on {% data variables.product.prodname_ghe_server %}. Migration archives are automatically deleted after 7 days. To free up space, you can delete an archive using the [AUTOTITLE](/rest/migrations/orgs#delete-an-organization-migration-archive).
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy