# \#backup

**URL:** https://forum.gitlab.com/tag/backup/93.md

[Latest](https://forum.gitlab.com/latest.md) · [Categories](https://forum.gitlab.com/categories.md) · [Tags](https://forum.gitlab.com/tags.md)

---

## [Security recommendations for GCS backup credentials – GitLab Self-Managed](https://forum.gitlab.com/t/security-recommendations-for-gcs-backup-credentials-gitlab-self-managed/135955)

<div class="topic-metadata">

**Author:** [@lbrizuela](https://forum.gitlab.com/u/lbrizuela)\
**Replies:** 0\
**Last updated:** [November 5, 2026, 8:05pm UTC](https://forum.gitlab.com/t/security-recommendations-for-gcs-backup-credentials-gitlab-self-managed/135955 "2026-11-05T20:05:40Z")

</div>

Hello GitLab Team, We are using GitLab Self-Managed (Free tier) with automated backups stored in Google Cloud Storage. Currently, authentication relies on a service account JSON key stored locally on the GitLab server,…

---

## [\[Show & Tell\] Open-sourced my self-hosted GitLab auto-updater (backups, version stops, healthcheck-aware rollback)](https://forum.gitlab.com/t/show-tell-open-sourced-my-self-hosted-gitlab-auto-updater-backups-version-stops-healthcheck-aware-rollback/134073)

<div class="topic-metadata">

**Author:** [@moe-s98](https://forum.gitlab.com/u/moe-s98)\
**Replies:** 0\
**Last updated:** [June 2, 2026, 12:07am UTC](https://forum.gitlab.com/t/show-tell-open-sourced-my-self-hosted-gitlab-auto-updater-backups-version-stops-healthcheck-aware-rollback/134073 "2026-06-02T00:07:20Z")

</div>

After the GitLab 19.0 upgrade saga I posted last week, I cleaned up and open-sourced the Python tool that drives our weekly GitLab CE upgrade cron. v0.1 is now on GitHub: :link: GitHub - moe-s98/gitlab-docker-auto-updat…

---

## [Can't restore 18.7.1](https://forum.gitlab.com/t/cant-restore-18-7-1/132444)

<div class="topic-metadata">

**Author:** [@xxedgexx](https://forum.gitlab.com/u/xxedgexx)\
**Replies:** 17\
**Last updated:** [April 14, 2026, 5:14pm UTC](https://forum.gitlab.com/t/cant-restore-18-7-1/132444 "2026-04-14T17:14:37Z")

</div>

I’m trying to restore a 18.7.1 backup and it’s failing Backup::Error: Restore operation failed: gtar: .: Cannot unlink: Invalid argument gtar: Exiting with failure status due to previous errors /opt/gitlab/embedded/se…

---

## [GitLab S3 backups upload issue](https://forum.gitlab.com/t/gitlab-s3-backups-upload-issue/132030)

<div class="topic-metadata">

**Author:** [@jlozano](https://forum.gitlab.com/u/jlozano)\
**Replies:** 7\
**Last updated:** [December 22, 2025, 5:05pm UTC](https://forum.gitlab.com/t/gitlab-s3-backups-upload-issue/132030 "2025-12-22T17:05:37Z")

</div>

By reviewing the backups settings of my GitLab community edition 18.2.X (omnibus instance) installed in a EC2 on AWS. The backups files are accumulating uncontrollably fully the storage of the server. By running a manual…

---

## [Gitlab backup and restore without LFS to migrate to new server](https://forum.gitlab.com/t/gitlab-backup-and-restore-without-lfs-to-migrate-to-new-server/131819)

<div class="topic-metadata">

**Author:** [@Moshe](https://forum.gitlab.com/u/Moshe)\
**Replies:** 0\
**Last updated:** [December 7, 2025, 3:06pm UTC](https://forum.gitlab.com/t/gitlab-backup-and-restore-without-lfs-to-migrate-to-new-server/131819 "2025-12-07T15:06:13Z")

</div>

I am using the backup/restore method to migrate my self-managed gitlab instance to a new server (RHEL7 to RHEL8). My question is: My LFS location points to a network directory. I run my backup with SKIP=lfs. Can I restor…

---

## [Repository source backups and recovery on gitlab.com SaaS premium](https://forum.gitlab.com/t/repository-source-backups-and-recovery-on-gitlab-com-saas-premium/130948)

<div class="topic-metadata">

**Author:** [@rob251](https://forum.gitlab.com/u/rob251)\
**Replies:** 1\
**Last updated:** [October 14, 2025, 2:48pm UTC](https://forum.gitlab.com/t/repository-source-backups-and-recovery-on-gitlab-com-saas-premium/130948 "2025-10-14T14:48:10Z")

</div>

Problem to solve Accidental deletion of branches or repositories from a Gitlab, and (accidental) force pushes deleting part of the history, or pushing an entirely different repository, is always a risk (I have already se…

---

## [Bug in Gitlab Restore since 17.11](https://forum.gitlab.com/t/bug-in-gitlab-restore-since-17-11/125377)

<div class="topic-metadata">

**Author:** [@maxime](https://forum.gitlab.com/u/maxime)\
**Replies:** 10\
**Last updated:** [September 30, 2025, 1:44pm UTC](https://forum.gitlab.com/t/bug-in-gitlab-restore-since-17-11/125377 "2025-09-30T13:44:28Z")

</div>

Hi all, I have a self-managed Gitlab instance which recently updated to v17.11. This instance is synced daily on a secondary geolocation for disaster recovery purposes, using the native gitlab-backup tool. My problem :…

---

## [Backups running slow in podman container gitlab-ee:18.2.4-ee.0; messages on host from permissive SEClinux Oralce Linux](https://forum.gitlab.com/t/backups-running-slow-in-podman-container-gitlab-ee-18-2-4-ee-0-messages-on-host-from-permissive-seclinux-oralce-linux/130238)

<div class="topic-metadata">

**Author:** [@SnoopyWestmoreland](https://forum.gitlab.com/u/SnoopyWestmoreland)\
**Replies:** 0\
**Last updated:** [September 8, 2025, 3:49pm UTC](https://forum.gitlab.com/t/backups-running-slow-in-podman-container-gitlab-ee-18-2-4-ee-0-messages-on-host-from-permissive-seclinux-oralce-linux/130238 "2025-09-08T15:49:30Z")

</div>

My backups in docker Gitlab 18.2.4-ee starting taking an extra hour or two recently, and I’m not sure why. My scripted backup begins at 4:05 AM and today ended after 8:30AM. Usually, they’re done before 7AM. The backu…

---

## [Backup file is too big after update](https://forum.gitlab.com/t/backup-file-is-too-big-after-update/130197)

<div class="topic-metadata">

**Author:** [@yucikala](https://forum.gitlab.com/u/yucikala)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 7:42am UTC](https://forum.gitlab.com/t/backup-file-is-too-big-after-update/130197 "2025-09-04T07:42:30Z")

</div>

I have a self hosted gitlab with every day automatic backup. After last update to version 18.3.1 is backup file size 56GB. At version 18.3.0 it was 28GB. I’m sure, that my project increase wasnt double at one day… In …

---

## [How to skip artifacts backup with Gitlab Helm Chart](https://forum.gitlab.com/t/how-to-skip-artifacts-backup-with-gitlab-helm-chart/68429)

<div class="topic-metadata">

**Author:** [@mkn](https://forum.gitlab.com/u/mkn)\
**Replies:** 1\
**Last updated:** [August 26, 2025, 10:56am UTC](https://forum.gitlab.com/t/how-to-skip-artifacts-backup-with-gitlab-helm-chart/68429 "2025-08-26T10:56:14Z")

</div>

We are storing Gitlab artifacts on S3 and therefore we do not them in the backup. However, in the Helm Chart I do not see a option to skip artifacts. I have also tried to add the env variable SKIP=artifacts to gitlab-too…

---

## [GitLab Export API to S3 returning 403](https://forum.gitlab.com/t/gitlab-export-api-to-s3-returning-403/121493)

<div class="topic-metadata">

**Author:** [@giyoder](https://forum.gitlab.com/u/giyoder)\
**Replies:** 1\
**Last updated:** [August 12, 2025, 7:02pm UTC](https://forum.gitlab.com/t/gitlab-export-api-to-s3-returning-403/121493 "2025-08-12T19:02:23Z")

</div>

Same question as here: How to export a gitlab project to S3? … but no answer. I’m attempting to use the GitLab Import/Export API to backup gitlab.com projects to an AWS S3 bucket, as outlined here: Project import and ex…

---

## [Configuring gitaly for server-side repository backups to S3 compatible storage](https://forum.gitlab.com/t/configuring-gitaly-for-server-side-repository-backups-to-s3-compatible-storage/128836)

<div class="topic-metadata">

**Author:** [@grove](https://forum.gitlab.com/u/grove)\
**Replies:** 6\
**Last updated:** [August 12, 2025, 11:45am UTC](https://forum.gitlab.com/t/configuring-gitaly-for-server-side-repository-backups-to-s3-compatible-storage/128836 "2025-08-12T11:45:16Z")

</div>

We want to (try to) use the server-side repository backups, but are having some problems. I have put gitaly\['env'\] = { 'AWS\_ACCESS\_KEY\_ID' =\> 'QR792JIYAS6VFEVFVNIZ', 'AWS\_SECRET\_ACCESS\_KEY' =\> '\<not-gonna-tell-you-…

---

## [Restore error. Not restoring repositories](https://forum.gitlab.com/t/restore-error-not-restoring-repositories/128519)

<div class="topic-metadata">

**Author:** [@mark.catalyst](https://forum.gitlab.com/u/mark.catalyst)\
**Replies:** 3\
**Last updated:** [July 23, 2025, 1:14pm UTC](https://forum.gitlab.com/t/restore-error-not-restoring-repositories/128519 "2025-07-23T13:14:03Z")

</div>

During a restore the DB restores fine, but no repositories get restored. The logs show the below errors for every repo {"command.name":"restore","error":"manager: doesn't exist: manifest: find: read manifest: sink: new …

---

## [Restoring backup failed](https://forum.gitlab.com/t/restoring-backup-failed/126401)

<div class="topic-metadata">

**Author:** [@gpo2307](https://forum.gitlab.com/u/gpo2307)\
**Replies:** 0\
**Last updated:** [May 28, 2025, 11:59am UTC](https://forum.gitlab.com/t/restoring-backup-failed/126401 "2025-05-28T11:59:23Z")

</div>

Hi everyone, I’m trying to migrate Gitlab from a server to another one. While restoring the backup on the new server, i get several errors like this one and the restore process fails. Do you have an idea ? 48424369\_2…

---

## [Restoring GitLab backup on new server failure](https://forum.gitlab.com/t/restoring-gitlab-backup-on-new-server-failure/125554)

<div class="topic-metadata">

**Author:** [@sherlockholly](https://forum.gitlab.com/u/sherlockholly)\
**Replies:** 0\
**Last updated:** [May 8, 2025, 4:06pm UTC](https://forum.gitlab.com/t/restoring-gitlab-backup-on-new-server-failure/125554 "2025-05-08T16:06:52Z")

</div>

I am currently working on migrating our self-managed GitLab instance to a new server, but restoring the backup on the new server is failing due to a database column rename that I guess never happened on our existing serv…

---

## [Gitlab-ce 17.10.4-ce.0 database problems restoring backup in a fresh install](https://forum.gitlab.com/t/gitlab-ce-17-10-4-ce-0-database-problems-restoring-backup-in-a-fresh-install/124542)

<div class="topic-metadata">

**Author:** [@tzerolo](https://forum.gitlab.com/u/tzerolo)\
**Replies:** 5\
**Last updated:** [April 22, 2025, 1:57pm UTC](https://forum.gitlab.com/t/gitlab-ce-17-10-4-ce-0-database-problems-restoring-backup-in-a-fresh-install/124542 "2025-04-22T13:57:00Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve Hi, we have a g…

---

## [Backup restore does not restore db](https://forum.gitlab.com/t/backup-restore-does-not-restore-db/123243)

<div class="topic-metadata">

**Author:** [@mtruneck](https://forum.gitlab.com/u/mtruneck)\
**Replies:** 0\
**Last updated:** [March 22, 2025, 8:54am UTC](https://forum.gitlab.com/t/backup-restore-does-not-restore-db/123243 "2025-03-22T08:54:26Z")

</div>

Problem to solve Restoring backup does not restore the db, even though it is included in the backup archive. It seems it doesn’t even attempt to restore it. I would expect to see the backup restore is actually restoring…

---

## [Gitlab Backup Skipping Repositories](https://forum.gitlab.com/t/gitlab-backup-skipping-repositories/122758)

<div class="topic-metadata">

**Author:** [@rockislife](https://forum.gitlab.com/u/rockislife)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 7:15am UTC](https://forum.gitlab.com/t/gitlab-backup-skipping-repositories/122758 "2025-03-14T07:15:02Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve So I might be du…

---

## [Gitlab Backup restoration issues](https://forum.gitlab.com/t/gitlab-backup-restoration-issues/120670)

<div class="topic-metadata">

**Author:** [@rockislife](https://forum.gitlab.com/u/rockislife)\
**Replies:** 0\
**Last updated:** [February 1, 2025, 3:40am UTC](https://forum.gitlab.com/t/gitlab-backup-restoration-issues/120670 "2025-02-01T03:40:31Z")

</div>

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data. Problem to solve Describe your qu…

---

## ['gitlab-backup create' runs without error but creates no backup](https://forum.gitlab.com/t/gitlab-backup-create-runs-without-error-but-creates-no-backup/120273)

<div class="topic-metadata">

**Author:** [@nike](https://forum.gitlab.com/u/nike)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 10:43am UTC](https://forum.gitlab.com/t/gitlab-backup-create-runs-without-error-but-creates-no-backup/120273 "2025-01-24T10:43:47Z")

</div>

Hello everybody, When I attempt to create a backup of my GitLab running in a Docker container using sudo docker exec -t gitlab-gitlab-1 gitlab-backup create, i get the following output: 2025-01-23 12:00:28 UTC -- Dumpi…

---

## [Backup Error](https://forum.gitlab.com/t/backup-error/119457)

<div class="topic-metadata">

**Author:** [@simonleunghk](https://forum.gitlab.com/u/simonleunghk)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 10:40am UTC](https://forum.gitlab.com/t/backup-error/119457 "2025-01-09T10:40:16Z")

</div>

I want to migrate Gitlab from the old server(Gitlab 8.10.1 & CenOS 6.8) to the new one referring to Migrate to a new server | GitLab. I have tried performing backup on the old server by running command sudo gitlab-rake g…

---

## [Keeping a backup of gitlab.com](https://forum.gitlab.com/t/keeping-a-backup-of-gitlab-com/119340)

<div class="topic-metadata">

**Author:** [@gentle-git](https://forum.gitlab.com/u/gentle-git)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 2:41pm UTC](https://forum.gitlab.com/t/keeping-a-backup-of-gitlab-com/119340 "2025-01-07T14:41:52Z")

</div>

Problem to solve Describe my question in as much detail as possible: What are you seeing, and how does that differ from what you expect to see? I currently use GitLab.com for my source code management (SCM) and CI/CD …

---

## [GitLab Upgrade Path Resources](https://forum.gitlab.com/t/gitlab-upgrade-path-resources/101999)

<div class="topic-metadata">

**Author:** [@dnsmichi](https://forum.gitlab.com/u/dnsmichi)\
**Replies:** 0\
**Last updated:** [March 26, 2024, 4:51pm UTC](https://forum.gitlab.com/t/gitlab-upgrade-path-resources/101999 "2024-03-26T16:51:43Z")

</div>

Upgrade Path Current upgrade path in the documentation Optional: If you are upgrading from an older major version not listed in the docs: Select the upper right corner version field, and chose older versions to get…

---

## [gitlab can't backup with toolbox/minio - cloud sclw - self-managed](https://forum.gitlab.com/t/gitlab-cant-backup-with-toolbox-minio-cloud-sclw-self-managed/117452)

<div class="topic-metadata">

**Author:** [@Raxorder](https://forum.gitlab.com/u/Raxorder)\
**Replies:** 0\
**Last updated:** [November 25, 2024, 12:59pm UTC](https://forum.gitlab.com/t/gitlab-cant-backup-with-toolbox-minio-cloud-sclw-self-managed/117452 "2024-11-25T12:59:38Z")

</div>

Hello, I hope everyone is fine. Here’s my problem. Problem to solve GitLab’s backup-utility fails to connect to MinIO and find the default buckets for data backup. When executing the backup-utility command, I receive …

---

## [How to do a complete backup of gitlab.com to a 'local' filesystem?](https://forum.gitlab.com/t/how-to-do-a-complete-backup-of-gitlab-com-to-a-local-filesystem/115795)

<div class="topic-metadata">

**Author:** [@Burt62](https://forum.gitlab.com/u/Burt62)\
**Replies:** 4\
**Last updated:** [November 25, 2024, 11:23am UTC](https://forum.gitlab.com/t/how-to-do-a-complete-backup-of-gitlab-com-to-a-local-filesystem/115795 "2024-11-25T11:23:48Z")

</div>

Problem to solve We are moving from a legacy CE gitlab server to gitlab-com and want a complete backup of all data in gitlab-com to a ‘local’ (target for the backups maybe buckets as well) storage, because gitlab-com is …

---

## [Error when backup Gitlab self host](https://forum.gitlab.com/t/error-when-backup-gitlab-self-host/52526)

<div class="topic-metadata">

**Author:** [@adt0383](https://forum.gitlab.com/u/adt0383)\
**Replies:** 5\
**Last updated:** [October 25, 2024, 5:22pm UTC](https://forum.gitlab.com/t/error-when-backup-gitlab-self-host/52526 "2024-10-25T17:22:01Z")

</div>

Hi all, I have problem when backup my gitlab server, the error is: 2021-05-04 01:00:19 +0700 – Dumping database … Dumping PostgreSQL database gitlabhq\_production … pg\_dump: error: Dumping the contents of table “raw\_u…

---

## [Help! Unable to restore Gitlab backup](https://forum.gitlab.com/t/help-unable-to-restore-gitlab-backup/115373)

<div class="topic-metadata">

**Author:** [@sjacek](https://forum.gitlab.com/u/sjacek)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 5:13am UTC](https://forum.gitlab.com/t/help-unable-to-restore-gitlab-backup/115373 "2024-10-16T05:13:48Z")

</div>

Problem to solve My disk crashed, I thought I was lucky I had a backup. I installed a clean Linux and gitlab, then proceeded to restore from the backup. It appears that the script first deleted all the contents of the …

---

## [Migrate data from dead Gitlab-CE instance using only local files, backup corrupted!](https://forum.gitlab.com/t/migrate-data-from-dead-gitlab-ce-instance-using-only-local-files-backup-corrupted/80323)

<div class="topic-metadata">

**Author:** [@kahshmick](https://forum.gitlab.com/u/kahshmick)\
**Replies:** 3\
**Last updated:** [September 27, 2024, 7:08am UTC](https://forum.gitlab.com/t/migrate-data-from-dead-gitlab-ce-instance-using-only-local-files-backup-corrupted/80323 "2024-09-27T07:08:31Z")

</div>

TLDR: My GitLab server (gitlab-ce, 15.6.2, Ubuntu) is dead and our only backup is corrupted, but I do have all the local files that made up the server. Is there any way I can use these to restore my repos, pipelines, use…

---

## [Incremental backups looks like a full](https://forum.gitlab.com/t/incremental-backups-looks-like-a-full/112161)

<div class="topic-metadata">

**Author:** [@jrgarner3](https://forum.gitlab.com/u/jrgarner3)\
**Replies:** 0\
**Last updated:** [September 19, 2024, 5:58pm UTC](https://forum.gitlab.com/t/incremental-backups-looks-like-a-full/112161 "2024-09-19T17:58:26Z")

</div>

Problem to solve I have a self-managed gitlab instance that is currently generating a daily backup of roughly around 400GB. I am hoping to leverage the backup and recovery process to migrate the instance to a different l…

---

## [How to test backup file?](https://forum.gitlab.com/t/how-to-test-backup-file/107579)

<div class="topic-metadata">

**Author:** [@olesole](https://forum.gitlab.com/u/olesole)\
**Replies:** 0\
**Last updated:** [July 14, 2024, 7:22am UTC](https://forum.gitlab.com/t/how-to-test-backup-file/107579 "2024-07-14T07:22:03Z")

</div>

How can I key the backup file that was created with ‘sudo gitlab-backup create’? I have observed that for some errors it creates a backup file, but this file is incomplete and cannot be used for recovery. For example, i…

[Next page](https://forum.gitlab.com/tag/backup/93.md?match_all_tags=true&page=1&tags%5B%5D=backup)
