summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-07-10 11:34:21 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-10 11:34:21 +0200
commit0c7212394c2ba2265fe715a69c31d1b84adc7f9e (patch)
tree78f6cbd4cef4ed9de9142f2a17dc7c51b1470c62 /doc
parent0261c8f1672d75ec5aaf3108476e655cdd93ad3b (diff)
downloadgitlab-ci-0c7212394c2ba2265fe715a69c31d1b84adc7f9e.tar.gz
Use config/secrets.yml to store session secret and database encryption secret
Diffstat (limited to 'doc')
-rw-r--r--doc/raketasks/backup_restore.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index 3da3f26..c31545c 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -123,11 +123,14 @@ with the name of your bucket:
## Storing configuration files
-Please be informed that a backup does not store your configuration files.
+Please be informed that a backup does not store your configuration and secret files.
If you use an Omnibus package please see the [instructions in the readme to backup your configuration](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#backup-and-restore-omnibus-gitlab-configuration).
If you have a cookbook installation there should be a copy of your configuration in Chef.
-If you have an installation from source, please consider backing up your `application.yml` file, any SSL keys and certificates, and your [SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079).
-
+If you have an installation from source:
+1. please backup `config/secrets.yml` file that contains key to encrypt variables in database,
+1. please consider backing up your `application.yml` file,
+1. any SSL keys and certificates,
+1. and your [SSH host keys](https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079).
## Restore a previously created backup