mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-22 05:18:51 +00:00
create db/backup folder if it dosnt exist
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p db/backup
|
||||
ssh $1 "pg_dump -h localhost -U openfoodweb openfoodweb_production |gzip" > db/backup/$1-`date +%Y%m%d`.sql.gz
|
||||
|
||||
Reference in New Issue
Block a user