case 4504

This commit is contained in:
2023-04-14 19:32:08 +00:00
parent b6858145d5
commit 11c7637d4e
5 changed files with 131 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
Powershell command to restore a backup of the sockeye db locally here for development / testing
& "C:/data/code/postgres_14/bin/pg_restore" -U postgres -c -d sockeye "C:\temp\db-20230413160012664.backup"
& "C:/data/code/postgres_14/bin/pg_restore" -U postgres -c -d sockeye "C:\temp\db-20230413160012664.backup"
NOTE: you may need to drop and create db outside of sockeye first if schema was changed locally from the backups copy schema,
in practice should always start with a fresh db restored *then* make schema changes while coding to save a hassle.
there's an info case for this if get stuck on it.