forked from rvojcik/gitlab-project-export
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wiro
committed
Dec 24, 2018
1 parent
1f6d7ee
commit ed461e2
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,19 @@ [email protected] | |
0 1 * * * root /path/to/cloned-repo/gitlab-project-export.py -c /etc/gitlab-export/config.yaml | ||
``` | ||
|
||
### Migration Usecase | ||
First create two config files, config1.yaml and config2.yaml. | ||
|
||
File config1.yaml is for exporting from gitlab1 and config2.yaml is config for importing into gitlab2. | ||
|
||
Gitlab2 needs only gitlab.access part configured. | ||
|
||
After you export all of your projects from gitlab1 using `gitlab-project-export.py` use | ||
script `gitlab-project-import.py` with config2.yaml for importing into gitlab2. | ||
|
||
``` | ||
./gitlab-project-import.py -c ./config2.yaml -f ./gitlab-export-group1-main_project-20181224.tar.gz -p "group1/main_project" | ||
``` | ||
|