Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
e0ef09d9
Commit
e0ef09d9
authored
Oct 05, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some more text in the doc
parent
6479b821
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
doc/operations/moving_repositories.md
doc/operations/moving_repositories.md
+9
-4
No files found.
doc/operations/moving_repositories.md
View file @
e0ef09d9
...
@@ -16,7 +16,10 @@ source and the target.**
...
@@ -16,7 +16,10 @@ source and the target.**
## Target directory is empty: use a tar pipe
## Target directory is empty: use a tar pipe
If the target directory
`/mnt/gitlab/repositories`
is empty the
If the target directory
`/mnt/gitlab/repositories`
is empty the
simplest thing to do is to use a tar pipe.
simplest thing to do is to use a tar pipe. This method has low
overhead and tar is almost always already installed on your system.
However, it is not possible to resume an interrupted tar pipe: if
that happens then all data must be copied again.
```
```
# As the git user
# As the git user
...
@@ -43,9 +46,11 @@ If you want to compress the data before it goes over the network
...
@@ -43,9 +46,11 @@ If you want to compress the data before it goes over the network
## The target directory contains an outdated copy of the repositories: use rsync
## The target directory contains an outdated copy of the repositories: use rsync
In this scenario it is better to use rsync. This utility is either
If the target directory already contains a partial / outdated copy
already installed on your system or easily installable via apt, yum
of the repositories it may be wasteful to copy all the data again
etc.
with tar. In this scenario it is better to use rsync. This utility
is either already installed on your system or easily installable
via apt, yum etc.
```
```
# As the 'git' user
# As the 'git' user
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment