Rake tasks
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 GitLab instances. |
Development | Tasks for GitLab contributors. |
Elasticsearch | 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 | 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. |
Project import/export | Prepare for project exports and imports. |
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. |
User management | Perform user management tasks. |
Webhooks administration | Maintain project Webhooks. |
X509 signatures | Update x509 commit signatures, useful if certificate store has changed. |
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc