Created
March 5, 2025 13:35
-
-
Save souhaiebtar/f30ef473bc17d60d511d8f6998633187 to your computer and use it in GitHub Desktop.
[Backup and restore a postgres dump] Backup and restore a mysql #postgres #database #db
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
pg_dump -U postgres -d qanda_db -F c -b -v -f output_file.dump | |
pg_restore -U postgres -v -d test123 .\output_file.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment