8 lines
504 B
Plaintext
8 lines
504 B
Plaintext
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"
|
|
|
|
|
|
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. |