fix: pgdump fix
This commit is contained in:
parent
5dd822eb87
commit
4395c9fd6a
2
makefile
2
makefile
|
|
@ -46,7 +46,7 @@ postgres:
|
|||
.PHONY: backup
|
||||
backup:
|
||||
@mkdir -p backup
|
||||
@docker exec -t fortunebet-backend-postgres-1 pg_dumpall --data-only -U root | gzip > backup/dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql.gz
|
||||
@docker exec -t fortunebet-backend-postgres-1 pg_dump -U root --data-only gh | gzip > backup/dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql.gz
|
||||
|
||||
restore:
|
||||
@echo "Restoring latest backup..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user