Wednesday, May 9, 2007

Restore PostgreSQL

The magic command to restore my lost database, once I got my dump file out of my backup, was:

sudo su postgres -c 'psql -f /home/bryan/backups/all.dbs.out postgres'

My Django website still doesn't work though. Darn you, Ubuntu! (sorry for the harsh language)

No comments: