sudo gitlab-ctl backup-etc

Category: GitLab

sudo gitlab-ctl backup-etc

Back up the GitLab configuration files

Archives /etc/gitlab, the directory holding gitlab.rb, secrets, and TLS material, into a timestamped tarball. Restoring a server needs both this config backup and the data backup from gitlab-backup. Store the tarball somewhere off the server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.