postman code update and import update

This commit is contained in:
Ravi Prasad
2025-12-16 18:23:12 -06:00
parent 21a68d7ef0
commit 047783a153
8 changed files with 2570 additions and 310 deletions
+13
View File
@@ -0,0 +1,13 @@
# Restore to local container
```bash
docker exec nba_go-postgres-1 pg_dump -U nbago -Fc nba_db > ./2025.12.05_nba_backup.dump
```
Copy file into target DB container
```bash
docker exec nba_postgres psql -U nba_admin -d nba_analytics -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;"
pg_restore -U nba_admin -d nba_analytics --no-owner --no-acl ./2025.12.05_nba_backup.dump
```