6.1 KiB
6.1 KiB
stage | group | info | comments |
---|---|---|---|
none | unassigned | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments | false |
Rake tasks (CORE ONLY)
GitLab provides Rake tasks for common administration and operational processes.
GitLab Rake tasks are performed using:
gitlab-rake <raketask>
for Omnibus GitLab installations.bundle exec rake <raketask>
for source installations.
Available Rake tasks
The following are available Rake tasks:
Tasks | Description |
---|---|
Back up and restore | Back up, restore, and migrate GitLab instances between servers. |
Clean up | Clean up unneeded items from GitLab instances. |
Development | Tasks for GitLab contributors. |
Doctor tasks | Checks for data integrity issues. |
Elasticsearch (STARTER ONLY) | Maintain Elasticsearch in a GitLab instance. |
Enable namespaces | Enable usernames and namespaces for user projects. |
General maintenance | General maintenance and self-check tasks. |
Geo maintenance (PREMIUM ONLY) | Geo-related maintenance. |
GitHub import | Retrieve and import repositories from GitHub. |
Import repositories | Import bare repositories into your GitLab instance. |
Import large project exports | Import large GitLab project exports. |
Integrity checks | Check the integrity of repositories, files, and LDAP. |
LDAP maintenance | LDAP-related tasks. |
List repositories | List of all GitLab-managed Git repositories on disk. |
Migrate Snippets to Git | Migrate GitLab Snippets to Git repositories and show migration status |
Praefect Rake tasks | Praefect-related tasks. |
Project import/export | Prepare for project exports and imports. |
Sample Prometheus data | Generate sample Prometheus data. |
SPDX license list import (PREMIUM ONLY) | Import a local copy of the SPDX license list for matching License Compliance policies. |
Repository storage | List and migrate existing projects and attachments from legacy storage to hashed storage. |
Uploads migrate | Migrate uploads between storage local and object storage. |
Uploads sanitize | Remove EXIF data from images uploaded to earlier versions of GitLab. |
Usage data | Generate and troubleshoot Usage Ping. |
User management | Perform user management tasks. |
Webhooks administration | Maintain project Webhooks. |
X.509 signatures | Update X.509 commit signatures, useful if certificate store has changed. |