pythondjango
pythondjango

Reputation: 1671

"database.sql is a dump of the PostgreSQL database. It needs to be restored."

I have 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?

Upvotes: 0

Views: 252

Answers (1)

crodjer
crodjer

Reputation: 13604

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

Upvotes: 1

Related Questions