case 4670
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Powershell command to restore a backup of the sockeye db locally here for development / testing
|
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-20230419115752812.backup"
|
& "C:/data/code/postgres_14/bin/pg_restore" -U postgres -c -d sockeye "C:\temp\db-20230419115752812.backup"
|
||||||
|
& "C:\data\code\postgres_15\bin\pg_restore.exe" -h localhost -U postgres -d sockeye -v ".\db-20260916234500046.backup" -C
|
||||||
|
|
||||||
NOTE: you may need to drop and create db outside of sockeye first if schema was changed locally from the backups copy schema,
|
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.
|
in practice should always start with a fresh db restored *then* make schema changes while coding to save a hassle.
|
||||||
|
|||||||
Reference in New Issue
Block a user