Add script to dump local database
This commit is contained in:
parent
e5f0b061c4
commit
c7c53d8a38
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
pg_dump -Fc --no-acl --no-owner -h localhost -U skillbox skillbox_import > ../local.dump
|
||||
|
|
@ -10,7 +10,7 @@ User.objects.filter(is_superuser=False).delete()
|
|||
Make local dump of database
|
||||
|
||||
```
|
||||
./scripts/dump_local_database.sh
|
||||
./bin/dump_local_database.sh
|
||||
```
|
||||
|
||||
Copy local dump to s3 bucket
|
||||
|
|
|
|||
Loading…
Reference in New Issue