Difference between revisions of "Create a backup from GitLab"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
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: