PostgreSQL should include DB creation as an option
pg_dump has a useful command:
-C, --create Begin the output with a command to create the database itself and reconnect to the created database. (With a script of this form, it doesn't matter which database you connect to before running the script.)
Would it be possible for backupninja to include an additional option to create the database upon restore?
Kind regards, Kellogs
(from redmine: created on 2012-02-12)