@@ -47,7 +47,9 @@ This method will take longer to import than the other methods and will depend on
...
@@ -47,7 +47,9 @@ This method will take longer to import than the other methods and will depend on
### Importing via a Rake task
### Importing via a Rake task
[`import.rake`](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/tasks/gitlab/import_export/import.rake) was introduced for importing large GitLab project exports.
> The [Rake task](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/tasks/gitlab/import_export/import.rake) was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20724) in GitLab 12.6, replacing a GitLab.com Ruby script.
This script was introduced in GitLab 12.6 for importing large GitLab project exports.
As part of this script we also disable direct and background upload to avoid situations where a huge archive is being uploaded to GCS (while being inside a transaction, which can cause idle transaction timeouts).
As part of this script we also disable direct and background upload to avoid situations where a huge archive is being uploaded to GCS (while being inside a transaction, which can cause idle transaction timeouts).
...
@@ -63,9 +65,53 @@ Parameters:
...
@@ -63,9 +65,53 @@ Parameters:
| `archive_path` | string | yes | Path to the exported project tarball you want to import |
| `archive_path` | string | yes | Path to the exported project tarball you want to import |