Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
8d569f9f
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8d569f9f
编写于
1月 05, 2018
作者:
L
Lin Jen-Shin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Document that we need rsync for backing up
上级
f10fb6c2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
5 deletion
+20
-5
doc/install/installation.md
doc/install/installation.md
+1
-1
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+17
-4
doc/update/10.3-to-10.4.md
doc/update/10.3-to-10.4.md
+2
-0
未找到文件。
doc/install/installation.md
浏览文件 @
8d569f9f
...
...
@@ -64,7 +64,7 @@ up-to-date and install it.
Install the required packages (needed to compile Ruby and native extensions to Ruby gems):
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libre2-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate python-docutils pkg-config cmake
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libre2-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev logrotate
rsync
python-docutils pkg-config cmake
Ubuntu 14.04 (Trusty Tahr) doesn't have the
`libre2-dev`
package available, but
you can
[
install re2 manually
](
https://github.com/google/re2/wiki/Install
)
.
...
...
doc/raketasks/backup_restore.md
浏览文件 @
8d569f9f
...
...
@@ -5,8 +5,8 @@
An application data backup creates an archive file that contains the database,
all repositories and all attachments.
You can only restore a backup to
**exactly the same version and type (CE/EE)**
of GitLab on which it was created. The best way to migrate your repositories
You can only restore a backup to
**exactly the same version and type (CE/EE)**
of GitLab on which it was created. The best way to migrate your repositories
from one server to another is through backup restore.
## Backup
...
...
@@ -14,6 +14,19 @@ from one server to another is through backup restore.
GitLab provides a simple command line interface to backup your whole installation,
and is flexible enough to fit your needs.
### Requirements
If you're using GitLab with the Omnibus package, you're all set. If you
installed GitLab from source, make sure the following packages are installed:
*
rsync
If you're using Ubuntu, you could run:
```
sudo apt-get install -y rsync
```
### Backup timestamp
>**Note:**
...
...
@@ -431,7 +444,7 @@ The [restore prerequisites section](#restore-prerequisites) includes crucial
information. Make sure to read and test the whole restore process at least once
before attempting to perform it in a production environment.
You can only restore a backup to
**exactly the same version and type (CE/EE)**
of
You can only restore a backup to
**exactly the same version and type (CE/EE)**
of
GitLab that you created it on, for example CE 9.1.0.
### Restore prerequisites
...
...
@@ -511,7 +524,7 @@ sudo service gitlab restart
This procedure assumes that:
-
You have installed the
**exact same version and type (CE/EE)**
of GitLab
-
You have installed the
**exact same version and type (CE/EE)**
of GitLab
Omnibus with which the backup was created.
-
You have run
`sudo gitlab-ctl reconfigure`
at least once.
-
GitLab is running. If not, start it using
`sudo gitlab-ctl start`
.
...
...
doc/update/10.3-to-10.4.md
浏览文件 @
8d569f9f
...
...
@@ -21,6 +21,8 @@ sudo service gitlab stop
### 2. Backup
NOTE: If you installed GitLab from source, make sure
`rsync`
is installed.
```
bash
cd
/home/git/gitlab
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录