Skip to content

Commit

Permalink
Update backup-and-restore.html.markerb
Browse files Browse the repository at this point in the history
--image-ref not just --image
  • Loading branch information
swilson-fly authored Aug 22, 2024
1 parent 5a1be29 commit 8abafde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres/managing/backup-and-restore.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ Legacy postgres images use the `flyio/postgres` repository, while new Postgres

## Restoring from a snapshot

To restore a Postgres application from a snapshot, simply specify the `--snapshot-id` argument and the `--image` argument when running the `create` command as shown below:
To restore a Postgres application from a snapshot, simply specify the `--snapshot-id` argument and the `--image-ref` argument when running the `create` command as shown below:

```cmd
fly postgres create --snapshot-id <snapshot-id> --image <image-version>
fly postgres create --snapshot-id <snapshot-id> --image-ref <image-version>
```
```output
? App Name: my-app-db-restored
Expand Down

0 comments on commit 8abafde

Please sign in to comment.