Created
January 18, 2011 15:44
-
-
Save iamvery/784614 to your computer and use it in GitHub Desktop.
Quick reminder to mysql of the command used at the windows command line to load a SQL backup into an empty database.
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
# psql.exe is generally found in C:\Program Files [(x86)]\PostgreSQL\PG_VERSION\bin\ | |
psql.exe DATABASE_NAME < C:\LOCATION_TO_BACKUP\backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment