Restoring a database - Mailing list pgsql-general

From Chris Henderson
Subject Restoring a database
Date
Msg-id d4ee74cf0810151419k7da1910cub2ed831195acb01d@mail.gmail.com
Whole thread Raw
Responses Re: Restoring a database  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: Restoring a database  (Raymond O'Donnell <rod@iol.ie>)
Re: Restoring a database  (Jeff Frost <jeff@frostconsultingllc.com>)
List pgsql-general
I backup all my databases by using pg_dumpall - pg_dumpall >
/tmp/postgres.backup.`hostname`. It should backup four DBs: analyze,
postgres,  template0 and template1
I guess this backs up the schemas as well.

Now I want to restore one of the databases and schema from this backup
dump file onto a different server. The databases is call "analyze".
Does anyone know how to do that with pg_restore? Thanks.

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Get PG version using JDBC?
Next
From: "Scott Marlowe"
Date:
Subject: Re: Restoring a database