Skip to content

Commit 4d05aba

Browse files
committed
added dump-db command for backup in Makefile
1 parent d5f26e4 commit 4d05aba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ ab-graphql:
4242

4343
ab-html:
4444
ab -c 10 -n 2000 http://gemeindescan.ch/
45+
46+
dump-db:
47+
@docker-compose exec pdb sh -c 'pg_dump --no-owner --no-acl --schema=public -U $$POSTGRES_USER $$POSTGRES_DB'

0 commit comments

Comments
 (0)