diff options
author | Patricio Cano <patricio@gitlab.com> | 2015-10-01 16:32:15 +0000 |
---|---|---|
committer | Patricio Cano <patricio@gitlab.com> | 2015-10-01 16:32:15 +0000 |
commit | b48072d4fc36e7e4b4eaa0db8e6bacc59e8cc2d4 (patch) | |
tree | 74afe087f283bd3617f13e5be40e9e0a0234a53b /doc | |
parent | 3e9772843c9c21bb6fa1a391e6212daf28aee402 (diff) | |
parent | 126dd008e110dce5dfe7d1d076bc57f33250ee7b (diff) | |
download | gitlab-ce-b48072d4fc36e7e4b4eaa0db8e6bacc59e8cc2d4.tar.gz |
Merge branch 'upgrade-version' into 'master'
Link to rake tasks
I believe there should be a link to rake tasks from backup restore, to give the user more options. That is why I added the link in the documentation.
Because of tweet https://twitter.com/gordonjb/status/641252693701476352
See merge request !1928
Diffstat (limited to 'doc')
-rw-r--r-- | doc/raketasks/backup_restore.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index b212964436f..db3f6bb40bd 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -7,7 +7,9 @@ A backup creates an archive file that contains the database, all repositories and all attachments. This archive will be saved in backup_path (see `config/gitlab.yml`). The filename will be `[TIMESTAMP]_gitlab_backup.tar`. This timestamp can be used to restore an specific backup. -You can only restore a backup to exactly the same version of GitLab that you created it on, for example 7.2.1. The best way to migrate your repositories from one server to another is through backup restore. +You can only restore a backup to exactly the same version of GitLab that you created it +on, for example 7.2.1. The best way to migrate your repositories from one server to +another is through backup restore. You need to keep a separate copy of `/etc/gitlab/gitlab-secrets.json` (for omnibus packages) or `/home/git/gitlab/.secret` (for installations @@ -371,7 +373,11 @@ For more information see similar questions on postgresql issue tracker[here](htt ## Note This documentation is for GitLab CE. -We backup GitLab.com and make sure your data is secure, but you can't use these methods -to export / backup your data yourself from GitLab.com. +We backup GitLab.com and make sure your data is secure, but you can't use these methods to export / backup your data yourself from GitLab.com. Issues are stored in the database. They can't be stored in Git itself. + +To migrate your repositories from one server to another with an up-to-date version of +GitLab, you can use the [import rake task](import.md) to do a mass import of the +repository. Note that if you do an import rake task, rather than a backup restore, you +will have all your repositories, but not any other data. |