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)

Comments

Popular posts from this blog

SystemVerilog Fork Disable "Gotchas"

Git Rebase Explained

'git revert' Is Not Equivalent To 'svn revert'