Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change the order of cli arguments #721

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/persistence/postgres/how-to/migrate-to-new-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ We have written a more detailed explanation of the process in the [explanation s
2. Run the [setup](../../../operate/cli/reference/postgres.md#migrate-setup) command and follow the prompts

```shell
nais migrate postgres setup <appname> <new-sql-instance-name>
nais postgres migrate setup <appname> <new-sql-instance-name>
```

3. Check that the replication is up to date by checking the URL you got from the setup command.
Expand All @@ -62,7 +62,7 @@ We have written a more detailed explanation of the process in the [explanation s
1. Run the [promote](../../../operate/cli/reference/postgres.md#migrate-promote) command and follow the instructions

```shell
nais migrate postgres promote <appname> <new-sql-instance-name>
nais postgres migrate promote <appname> <new-sql-instance-name>
```

2. Check that the application is running as expected, and that all data is available in the new SQLInstance.
Expand All @@ -81,7 +81,7 @@ We have written a more detailed explanation of the process in the [explanation s
1. Run the [finalize](../../../operate/cli/reference/postgres.md#migrate-finalize) command

```shell
nais migrate postgres finalize <appname> <new-sql-instance-name>
nais postgres migrate finalize <appname> <new-sql-instance-name>
```

## Rolling back the migration
Expand All @@ -91,5 +91,5 @@ If you decide to not go through with the migration, you can roll back to the old
1. Run the [rollback](../../../operate/cli/reference/postgres.md#migrate-rollback) command

```shell
nais migrate postgres rollback <appname> <new-sql-instance-name>
nais postgres migrate rollback <appname> <new-sql-instance-name>
```
Loading