开发者

"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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜