mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
Update migration_guide.md
update for new code structure
This commit is contained in:
parent
a6e7a6ba45
commit
d3d0d14d6e
@ -28,11 +28,11 @@ When upgrading your existing Habor instance to a newer version, you may need to
|
||||
```
|
||||
|
||||
4. Before upgrading Harbor, perform database migration first.
|
||||
The directory **migration/** contains the tool for migration. The first step is to update values of `db_username`, `db_password`, `db_port`, `db_name` in **migration.cfg** so that they match your system's configuration.
|
||||
The directory **tools/migration/** contains the tool for migration. The first step is to update values of `db_username`, `db_password`, `db_port`, `db_name` in **migration.cfg** so that they match your system's configuration.
|
||||
|
||||
5. The migration tool is delivered as a container, so you should build the image from its Dockerfile:
|
||||
```
|
||||
cd migration/
|
||||
cd tools/migration/
|
||||
|
||||
docker build -t migrate-tool .
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user