Difference between revisions of "Create a backup from GitLab"

From wikieduonline
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/[[gitlab.rb]]</code>
+
* <code>[[/etc/gitlab/gitlab.rb]]</code>
  
 +
Logs:
 +
* [[GitLab logs]]
  
 
== See also ==
 
== See also ==
 +
* {{gitlab-backup}}
 
* {{GitLab}}
 
* {{GitLab}}
* {{Backups}}
+
 
  
  
 
[[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:

Logs:

See also[edit]

Advertising: