提交 5fedd7d1 编写于 作者: S Sean McGivern

Mention that gitlab.rb needs to be kept

上级 732ad2f6
...@@ -11,13 +11,13 @@ You can only restore a backup to exactly the same version of GitLab that you cre ...@@ -11,13 +11,13 @@ You can only restore a backup to exactly the same version of GitLab that you cre
on, for example 7.2.1. The best way to migrate your repositories from one server to on, for example 7.2.1. The best way to migrate your repositories from one server to
another is through backup restore. another is through backup restore.
You need to keep a separate copy of `/etc/gitlab/gitlab-secrets.json` (for You need to keep separate copies of `/etc/gitlab/gitlab-secrets.json` and
omnibus packages) or `/home/git/gitlab/config/secrets.yml` (for installations `/etc/gitlab/gitlab.rb` (for omnibus packages) or
from source). This file contains the database encryption keys used for `/home/git/gitlab/config/secrets.yml` (for installations from source). This file
two-factor authentication and project import credentials, among other things. If contains the database encryption keys used for two-factor authentication and
you restore a GitLab backup without restoring the database encryption key, users project import credentials, among other things. If you restore a GitLab backup
who have two-factor authentication enabled will lose access to your GitLab without restoring the database encryption key, users who have two-factor
server. authentication enabled will lose access to your GitLab server.
``` ```
# use this command if you've installed GitLab with the Omnibus package # use this command if you've installed GitLab with the Omnibus package
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册