Merge pull request #8470 from dzzg:patch-2

fix some log typos in migration_guide.md
This commit is contained in:
Qian Deng 2019-08-07 15:26:57 +08:00 committed by GitHub
commit 70303bcf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# Harbor upgrade and migration guide # Harbor upgrade and migration guide
This guide only covers upgrade and mgiration to version >= v1.8.0 This guide only covers upgrade and migration to version >= v1.8.0
When upgrading your existing Harbor instance to a newer version, you may need to migrate the data in your database and the settings in `harbor.cfg`. When upgrading your existing Harbor instance to a newer version, you may need to migrate the data in your database and the settings in `harbor.cfg`.
Since the migration may alter the database schema and the settings of `harbor.cfg`, you should **always** back up your data before any migration. Since the migration may alter the database schema and the settings of `harbor.cfg`, you should **always** back up your data before any migration.
@ -34,7 +34,7 @@ you follow the steps below.
``` ```
mv harbor /my_backup_dir/harbor mv harbor /my_backup_dir/harbor
``` ```
Back up database (by default in diretory `/data/database`) Back up database (by default in directory `/data/database`)
``` ```
cp -r /data/database /my_backup_dir/ cp -r /data/database /my_backup_dir/
``` ```