Created
March 17, 2021 20:46
-
-
Save edubskiy/005267d59cf07c56523e071b61caa2f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PGPASSWORD="PASSWORD" pg_dump -U USER_NAME -h 127.0.0.1 -p 5432 DATABASE_NAME > DATABASE_NAME-$(date +%d-%m-%Y_%H-%M-%S).sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment