Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivorscott/f81ddc73dd9bb1a5069cc7d9e3e5cd49 to your computer and use it in GitHub Desktop.
Save ivorscott/f81ddc73dd9bb1a5069cc7d9e3e5cd49 to your computer and use it in GitHub Desktop.
dump:
@echo [ dumping postgres backup for $(POSTGRES_DB)... ]
@docker exec -it db pg_dump --username $(POSTGRES_USER) $(POSTGRES_DB) > ./api/scripts/backup.sql
@echo $(SUCCESS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment