From a4fed829447388a9d272f30f57c1a0ccc1d88025 Mon Sep 17 00:00:00 2001 From: Amine LOUHICHI <32558537+aminelch@users.noreply.github.com> Date: Sat, 6 Dec 2025 15:28:36 +0100 Subject: [PATCH] gitlab-backup: add page (#19746) Co-authored-by: Wiktor Perskawiec Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/gitlab-backup.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/gitlab-backup.md diff --git a/pages/common/gitlab-backup.md b/pages/common/gitlab-backup.md new file mode 100644 index 0000000000..5c5654dc79 --- /dev/null +++ b/pages/common/gitlab-backup.md @@ -0,0 +1,21 @@ +# gitlab-backup + +> Manage backups for a GitLab Omnibus installation. +> See also: `gitlab-ctl`, `gitlab-runner`. +> More information: . + +- Create a full backup (default strategy): + +`sudo gitlab-backup create` + +- 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,...}}`