Skip to content

Commit

Permalink
changes from review.. removed tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
aishwarya24 committed Sep 18, 2024
1 parent 57d3ca0 commit 4ec4eae
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 36 deletions.
36 changes: 0 additions & 36 deletions docs/content/preview/yugabyte-voyager/install-yb-voyager.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,42 +106,6 @@ Install yb-voyager on a machine which satisfies the [Prerequisites](#prerequisit
</div>
</div>

## Upgrade yb-voyager

{{< tabpane text=true >}}

{{% tab header="RHEL" %}}

Upgrade yb-voyager using the following command:

```sh
sudo yum update yb-voyager
```

{{% /tab %}}

{{% tab header="Ubuntu" %}}

{{< note title="Note" >}}
If you are upgrading Voyager from version 1.8.0 or earlier, you need to install the `postgresql-common` repository before the upgrade as follows:

```sh
sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
```

{{< /note >}}

Upgrade yb-voyager using the following command:

```sh
sudo apt-get upgrade yb-voyager
```

{{% /tab %}}

{{< /tabpane >}}

## Collect diagnostics

By default, yb-voyager captures a [diagnostics report](../diagnostics-report/) using the YugabyteDB diagnostics service that runs each time you use the yb-voyager command. If you don't want to send diagnostics when you run yb-voyager, set the [--send-diagnostics flag](../diagnostics-report/#configuration-flag) to false.
Expand Down
8 changes: 8 additions & 0 deletions docs/content/preview/yugabyte-voyager/rhel.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,11 @@ Install a specific version of `yb-voyager` on your machine using the following c
```sh
yb-voyager version
```

### Upgrade yb-voyager

Upgrade yb-voyager using the following command:

```sh
sudo yum update yb-voyager
```
18 changes: 18 additions & 0 deletions docs/content/preview/yugabyte-voyager/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,21 @@ Perform the following steps to install yb-voyager using apt for Ubuntu:
```sh
yb-voyager version
```

### Upgrade yb-voyager

{{< note title="Note" >}}
If you are upgrading Voyager from version 1.8.0 or earlier, you need to install the `postgresql-common` repository before the upgrade as follows:

```sh
sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
```

{{< /note >}}

Upgrade yb-voyager using the following command:

```sh
sudo apt-get upgrade yb-voyager
```

0 comments on commit 4ec4eae

Please sign in to comment.