Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
wiro committed Dec 24, 2018
1 parent 1f6d7ee commit ed461e2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

0 comments on commit ed461e2

Please sign in to comment.