Skip to content

Commit

Permalink
Update backup_restore.md referencing matching PSQL versions
Browse files Browse the repository at this point in the history
Added note in Restore section to state that PSQL backup versions must match restore destination versions.
  • Loading branch information
cwanja authored Dec 12, 2023
1 parent a544d2a commit af4c378
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/maintenance/backup_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ If you changed `TM_DB_USER` in the .env file from one of the advanced guides, ma

## Restore

:::note
Restore from backup only works with the same PostgreSQL versions from which you took a backup (e.g. backups from PSQL v14 will not restore to PSQL v15). If you want to upgrade, restore the data to the matching PSQL version and then upgrade PSQL.
:::

:::note
Replace the default `teslamate` value below with the value defined in the .env file if you have one (TM_DB_USER and TM_DB_NAME)
:::
Expand Down

0 comments on commit af4c378

Please sign in to comment.