Commit 4e2edde3 authored by Ben Bodenmiller's avatar Ben Bodenmiller

Improve GitLab backup & restore tips

parent 6b591ca2
...@@ -70,7 +70,7 @@ Backups do not include: ...@@ -70,7 +70,7 @@ Backups do not include:
- [Mattermost data](https://docs.mattermost.com/administration/config-settings.html#file-storage) - [Mattermost data](https://docs.mattermost.com/administration/config-settings.html#file-storage)
WARNING: WARNING:
GitLab does not back up any configuration files (`/etc/gitlab`), SSL certificates, or system GitLab does not back up any configuration files (`/etc/gitlab`), TLS keys and certificates, or system
files. You are highly advised to read about [storing configuration files](#storing-configuration-files). files. You are highly advised to read about [storing configuration files](#storing-configuration-files).
WARNING: WARNING:
...@@ -190,8 +190,9 @@ on a Kubernetes cluster, you must follow the ...@@ -190,8 +190,9 @@ on a Kubernetes cluster, you must follow the
[Back up the secrets](https://docs.gitlab.com/charts/backup-restore/backup.html#backup-the-secrets) [Back up the secrets](https://docs.gitlab.com/charts/backup-restore/backup.html#backup-the-secrets)
instructions. instructions.
You may also want to back up any TLS keys and certificates (`/etc/gitlab/ssl`), and your You may also want to back up any TLS keys and certificates (`/etc/gitlab/ssl`, `/etc/gitlab/trusted-certs`), and your
[SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079). [SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079)
to avoid man-in-the-middle attack warnings if you have to perform a full machine restore.
If you use Omnibus GitLab, review additional information to If you use Omnibus GitLab, review additional information to
[backup your configuration](https://docs.gitlab.com/omnibus/settings/backups.html). [backup your configuration](https://docs.gitlab.com/omnibus/settings/backups.html).
...@@ -903,7 +904,9 @@ If you fail to restore this encryption key file along with the application data ...@@ -903,7 +904,9 @@ If you fail to restore this encryption key file along with the application data
backup, users with two-factor authentication enabled and GitLab Runner backup, users with two-factor authentication enabled and GitLab Runner
loses access to your GitLab server. loses access to your GitLab server.
You may also want to restore any TLS keys, certificates (`/etc/gitlab/ssl`), or You may also want to restore your previous `/etc/gitlab/gitlab.rb` (for Omnibus packages)
or `/home/git/gitlab/config/gitlab.yml` (for installations from source) and
any TLS keys, certificates (`/etc/gitlab/ssl`, `/etc/gitlab/trusted-certs`), or
[SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079). [SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079).
Starting with GitLab 12.9, if an untarred backup (like the ones made with Starting with GitLab 12.9, if an untarred backup (like the ones made with
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment