sudo gitlab-backup create SKIP=repositories

Category: GitLab

sudo gitlab-backup create SKIP=repositories

Back up everything except git repositories

Skips the git repository data while keeping the database, uploads, and other components. Restoring this backup alone does not bring back project code. Pair it with a separate repository backup strategy such as Gitaly snapshots.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.