Commit ca60eb2a authored by Ben Prescott @bprescott_↙ ☺'s avatar Ben Prescott @bprescott_↙ ☺ Committed by Mike Jang

Link to project import rake task and the API for project import status

parent ab5cf3d9
...@@ -7,6 +7,16 @@ GitLab provides Rake tasks relating to project import and export. For more infor ...@@ -7,6 +7,16 @@ GitLab provides Rake tasks relating to project import and export. For more infor
- [Project import/export documentation](../../user/project/settings/import_export.md). - [Project import/export documentation](../../user/project/settings/import_export.md).
- [Project import/export API](../../api/project_import_export.md). - [Project import/export API](../../api/project_import_export.md).
- [Developer documentation: project import/export](../../development/import_export.md)
## Project import status
You can query an import through the [Project import/export API](../../api/project_import_export.md#import-status).
As described in the API documentation, the query may return an import error or exceptions.
## Import large projects
If you have a larger project, consider using a Rake task, as described in our [developer documentation](../../development/import_project.md#importing-via-a-rake-task).
## Import/export tasks ## Import/export tasks
......
...@@ -162,6 +162,22 @@ NOTE: **Note:** ...@@ -162,6 +162,22 @@ NOTE: **Note:**
The maximum import file size can be set by the Administrator, default is 50MB. The maximum import file size can be set by the Administrator, default is 50MB.
As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](../../../api/settings.md#change-application-settings) or the [Admin UI](../../admin_area/settings/account_and_limit_settings.md). As an administrator, you can modify the maximum import file size. To do so, use the `max_import_size` option in the [Application settings API](../../../api/settings.md#change-application-settings) or the [Admin UI](../../admin_area/settings/account_and_limit_settings.md).
### Project import status
The status of an import [can be queried via the API](../../../api/project_import_export.md#import-status).
If the import fails, the API returns the error message, and if it completes, the API will return any
issues which were encountered.
### Project import with a Rake task. **(CORE ONLY)**
Projects can be imported to a self-managed GitLab instance using a Rake task.
The Rake task is often more effective at importing large project exports that don't complete
when imported using the web interface.
Further details in the [developer documentation](../../../development/import_project.md#importing-via-a-rake-task).
## Rate limits ## Rate limits
To help avoid abuse, users are rate limited to: To help avoid abuse, users are rate limited to:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment