Skip to content

Instantly share code, notes, and snippets.

@iamvery
Created January 18, 2011 15:44
Show Gist options
  • Save iamvery/784614 to your computer and use it in GitHub Desktop.
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.
# 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