Last active
April 14, 2022 14:31
-
-
Save demirtasdurmus/a5e472db7b8dc4f035f7113f3644b4cb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| PGPASSWORD=mysupersecret pg_dump -h localhost -U postgres -p 5432 -Fc -d sampledb > | |
| /Users/<username>/<path_to_dir>/sample.backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment