Add handy create backup script

This commit is contained in:
Lorenz Padberg 2023-09-12 16:19:21 +02:00
parent 784f6d8973
commit 10417bba13
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -49,4 +49,5 @@ client/cypress/test-reports/
server/test-reports/ server/test-reports/
.direnv .direnv
*.prod.sql *.prod.sql
latest.dump latest.dump*
dump*.sql

View File

@ -0,0 +1,2 @@
pgdump $DATABASE_URL > dump_local_`date +%d-%m-%Y"_"%H_%M_%S`.sql