"database.sql is a dump of the PostgreSQL database. It needs to be restored."
I h开发者_开发问答ave a Django site running with PSQL but when my friend gave the site back to me he said: "database.sql is a dump of the database. It needs to be restored."
What does this mean?
It means that database.sql
has the database storage information of your sites data. You may restore it in your postgresql database by:
psql dbname < infile
http://www.postgresql.org/docs/current/interactive/backup.html#BACKUP-DUMP-RESTORE
精彩评论