Update migratrion guide for harbor.cfg migration

Signed-off-by: wangyan <wangyan@vmware.com>
This commit is contained in:
wangyan 2018-08-21 00:48:14 -07:00
parent f7725f348d
commit 16e1115e65

View File

@ -85,6 +85,8 @@ When upgrading your existing Habor instance to a newer version, you may need to
docker run -it --rm -v /data/clair-db/:/clair-db -v /data/database:/var/lib/postgresql/data goharbor/harbor-migrator:${tag} --db up
```
**NOTE:** The ${harbor_cfg} will be overwrited, you must move it to your installation directory after migration.
```
docker run -it --rm -v ${harbor_cfg}:/harbor-migration/harbor-cfg/harbor.cfg goharbor/harbor-migrator:[tag] --cfg up
```