Commit 90173628 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'same-version-restore' into 'master'

Same version restore

Warn users about this.

See merge request !1101
parents eb764b1b 7121b4a4
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
A backup creates an archive file that contains the database, all repositories and all attachments. 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`). 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. 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.
``` ```
# omnibus-gitlab # omnibus-gitlab
...@@ -55,6 +55,8 @@ If you have a manual installation please consider backing up your gitlab.yml fil ...@@ -55,6 +55,8 @@ If you have a manual installation please consider backing up your gitlab.yml fil
## Restore a previously created backup ## Restore a previously created backup
You can only restore a backup to exactly the same version of GitLab that you created it on, for example 7.2.1.
``` ```
# omnibus-gitlab # omnibus-gitlab
sudo gitlab-rake gitlab:backup:restore sudo gitlab-rake gitlab:backup:restore
......
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