Update script to dump database

This commit is contained in:
Ramon Wenger 2023-08-24 22:54:23 +02:00
parent 9103d604d4
commit ee5db8c687
1 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
#!/bin/bash
pg_dump -Fc --no-acl --no-owner -h localhost -U skillbox skillbox_import > ../local.dump
# todo: database name as argument for this script
# todo: file location is wrong
pg_dump -Fc --no-acl --no-owner -h localhost -U skillbox my_kv_prod > ../local.dump