From 16e1115e65c861bae796f7507b4ef9eca5a5b5d1 Mon Sep 17 00:00:00 2001 From: wangyan Date: Tue, 21 Aug 2018 00:48:14 -0700 Subject: [PATCH] Update migratrion guide for harbor.cfg migration Signed-off-by: wangyan --- docs/migration_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/migration_guide.md b/docs/migration_guide.md index 324ba2a63..850bb1fdf 100644 --- a/docs/migration_guide.md +++ b/docs/migration_guide.md @@ -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 ```