Updated the docs for upgrade bare-metal (#9485)

* Updated the docs for upgrade bare-metal

* Updated the docs for upgrade bare-metal

* Updated as per the comments

Co-authored-by: “Vijay” <“vijay.l@deuexsolutions.com”>
This commit is contained in:
Vj-L 2022-12-22 15:19:26 +05:30 committed by GitHub
parent 01d5ee8dd6
commit 03f2b564cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,13 +19,14 @@ This guide assumes that you have an OpenMetadata deployment that you installed a
It is adviced to go through [openmetadata release notes](/deployment/upgrade/versions/012-to-013) before starting the upgrade process. It is adviced to go through [openmetadata release notes](/deployment/upgrade/versions/012-to-013) before starting the upgrade process.
</Warning> </Warning>
### Backup 0.12.3 data ### Backup 0.12.3 data
1. Make sure your instance is connected to the Database server 1. Make sure your instance is connected to the Database server
2. Create a virtual environment to install an upgraded `metadata` version to run the backup command: 2. Create a virtual environment to install an upgraded `metadata` version to run the backup command:
1. `python -m venv venv` 1. `python -m venv venv`
2. `source venv/bin/activate` 2. `source venv/bin/activate`
3. `PIP_USER=false pip install openmetadata-ingestion~=0.13.1` 3. `pip install openmetadata-ingestion~=0.13.1.0`
3. Validate the installed `metadata` version with `python -m metadata --version`, which should tell us that we are 3. Validate the installed `metadata` version with `python -m metadata --version`, which should tell us that we are
indeed at 0.13.1. Notice the `python -m metadata` vs. `metadata`. indeed at 0.13.1. Notice the `python -m metadata` vs. `metadata`.
4. Run the backup using the updated `metadata` CLI: 4. Run the backup using the updated `metadata` CLI:
@ -75,7 +76,9 @@ For example, to navigate into the directory created by issuing the tar command a
command. command.
```commandline ```commandline
cd openmetadata-0.13.0
cd openmetadata-0.13.1
``` ```
### 4. Stop the OpenMetadata server ### 4. Stop the OpenMetadata server