Difference between revisions of "Create a backup from GitLab"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Read: [https://docs.gitlab.com/ee/raketasks/backup_restore.html Back up and restore GitLab] | + | * Read: [https://docs.gitlab.com/ee/raketasks/backup_restore.html Back up and restore GitLab] |
Warning: GitLab does not back up any configuration files, SSL certificates, or system files. You are highly advised to read about | Warning: GitLab does not back up any configuration files, SSL certificates, or system files. You are highly advised to read about | ||
Line 8: | Line 8: | ||
/opt/gitlab/bin/[[gitlab-backup]] create | /opt/gitlab/bin/[[gitlab-backup]] create | ||
+ | /opt/gitlab/bin/[[gitlab-backup]] create STRATEGY=copy | ||
Line 23: | Line 24: | ||
Configuration files: | Configuration files: | ||
* <code>/etc/gitlab/[[gitlab-secrets.json]]</code> | * <code>/etc/gitlab/[[gitlab-secrets.json]]</code> | ||
− | * <code>/etc/gitlab/ | + | * <code>[[/etc/gitlab/gitlab.rb]]</code> |
+ | Logs: | ||
+ | * [[GitLab logs]] | ||
== See also == | == See also == | ||
+ | * {{gitlab-backup}} | ||
* {{GitLab}} | * {{GitLab}} | ||
− | + | ||
[[Category:GitLab]] | [[Category:GitLab]] |
Latest revision as of 18:46, 24 July 2022
Warning: GitLab does not back up any configuration files, SSL certificates, or system files. You are highly advised to read about storing configuration files.
/var/opt/gitlab/backups/
/opt/gitlab/bin/gitlab-backup create /opt/gitlab/bin/gitlab-backup create STRATEGY=copy
- Database
- Attachments
- Git repositories data
- CI/CD job output logs
- CI/CD job artifacts
- LFS objects
- Container Registry images
- GitLab Pages content
Configuration files:
/etc/gitlab/gitlab-secrets.json
/etc/gitlab/gitlab.rb
Logs:
See also[edit]
gitlab-backup
[create | restore ] /var/opt/gitlab/backups/
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: