LinuxCommandLibrary

gitlab-backup

Create and restore GitLab instance backups

TLDR

Create GitLab backup

$ sudo gitlab-backup create
copy
Create with specific components
$ sudo gitlab-backup create SKIP=db,uploads
copy
Restore from backup
$ sudo gitlab-backup restore BACKUP=[timestamp]
copy

SYNOPSIS

gitlab-backup command [options]

DESCRIPTION

gitlab-backup creates and restores GitLab instance backups. It backs up repositories, database, uploads, and other GitLab data into a single archive.
The tool is part of the Omnibus GitLab installation and should be run with root privileges. Backups are stored in the configured backup path.

PARAMETERS

SKIP components

Skip backup components.
BACKUP timestamp
Backup file timestamp.

SUBCOMMANDS

create

Create backup.
restore
Restore from backup.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community