commands.sh

gitlab-backup

all

Manage backups for a GitLab Omnibus installation. See also: `gitlab-ctl`, `gitlab-runner`.

More info →

Examples (4)

Create a full backup (default strategy)

Create a full backup using the copy strategy

sudo gitlab-backup create STRATEGY=copy

Restore a backup by specifying its ID

sudo gitlab-backup restore BACKUP=backup_id

Restore a backup while skipping specific components

sudo gitlab-backup restore BACKUP=backup_id SKIP=db,uploads,...
made by @shridhargupta | data from tldr-pages