gitlab-rake gitlab:backup:create
The backup will be placed in:
/var/opt/gitlab/backups
To restore the backup, one can use these commands:
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
gitlab-rake gitlab:backup:restore BACKUP=<timestamp>
gitlab-ctl start
gitlab-rake gitlab:check SANITIZE=true
No comments:
Post a Comment