pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Export/Import
4+ messages / 4 participants
[nested] [flat]

* Export/Import
@ 2004-12-01 12:36 Sudhakar Kurumella <kurumella@yahoo.com>
  2004-12-01 12:53 ` Re: Export/Import Vishal Kashyap @ [SaiHertz] <vishalonlist@gmail.com>
  2004-12-01 13:06 ` Re: Export/Import Halford Dace <hal@stowe.co.za>
  2004-12-01 13:07 ` Re: Export/Import Olivier Hubaut <olivier@scmbb.ulb.ac.be>
  0 siblings, 3 replies; 4+ messages in thread

From: Sudhakar Kurumella @ 2004-12-01 12:36 UTC (permalink / raw)
  To: pgsql-admin

Hello Everyone,
 
I am new to PostgreSQL, i have a question, i'll appreciate if anybody helps me.
 
How can i export/import a complete database running on one machine to another machine. I have gone through the docs, what i gather is,,that i can export only tables only..not entire database like we do in MS SQL Server.
 
thanks,
kuru

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Export/Import
  2004-12-01 12:36 Export/Import Sudhakar Kurumella <kurumella@yahoo.com>
@ 2004-12-01 12:53 ` Vishal Kashyap @ [SaiHertz] <vishalonlist@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Vishal Kashyap @ [SaiHertz] @ 2004-12-01 12:53 UTC (permalink / raw)
  To: Sudhakar Kurumella <kurumella@yahoo.com>; +Cc: pgsql-admin

Dear Sudhakar ,


>   
> I am new to PostgreSQL, 

Welcome .

> How can i export/import a complete database running on one machine to
> another machine. I have gone through the docs, what i gather is,,that i can
> export only tables only..not entire database like we do in MS SQL Server. 



PostgreSQL does not have any GUI tool for that but pg_dump and
pg_restore would do your job.

Please read the docs for more.

http://www.postgresql.org/docs/7.4/interactive/app-pgrestore.html

http://www.postgresql.org/docs/current/static/app-pgdump.html

-- 
With Best Regards,
Vishal Kashyap.
Lead Software Developer,
http://saihertz.com,
http://vishalkashyap.tk



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Export/Import
  2004-12-01 12:36 Export/Import Sudhakar Kurumella <kurumella@yahoo.com>
@ 2004-12-01 13:06 ` Halford Dace <hal@stowe.co.za>
  2 siblings, 0 replies; 4+ messages in thread

From: Halford Dace @ 2004-12-01 13:06 UTC (permalink / raw)
  To: Sudhakar Kurumella <kurumella@yahoo.com>; +Cc: pgsql-admin


You would be wanting to use pg_dump

It's pretty quick and efficient.  Try its man page or docs.

Hal


On Wed, 1 Dec 2004, Sudhakar Kurumella wrote:

> Hello Everyone,
>
> I am new to PostgreSQL, i have a question, i'll appreciate if anybody helps me.
>
> How can i export/import a complete database running on one machine to another machine. I have gone through the docs, what i gather is,,that i can export only tables only..not entire database like we do in MS SQL Server.
>
> thanks,
> kuru
>
>
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Mail - You care about security. So do we.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Export/Import
  2004-12-01 12:36 Export/Import Sudhakar Kurumella <kurumella@yahoo.com>
@ 2004-12-01 13:07 ` Olivier Hubaut <olivier@scmbb.ulb.ac.be>
  2 siblings, 0 replies; 4+ messages in thread

From: Olivier Hubaut @ 2004-12-01 13:07 UTC (permalink / raw)
  To: pgsql-admin

On Wed, 1 Dec 2004 04:36:44 -0800 (PST), Sudhakar Kurumella  
<kurumella@yahoo.com> wrote:

> Hello Everyone,
> I am new to PostgreSQL, i have a question, i'll appreciate if anybody  
> helps me.
> How can i export/import a complete database running on one machine to  
> another machine. I have gone through the docs, what i gather is,,that i  
> can export only tables only..not entire database like we do in MS SQL  
> Server.
> thanks,
> kuru

A simple pg_dump -C -f dump.sql dbname should give you what you want.


-- 
Downloading signature ... 99%
*CRC FAILED*
signature aborted



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-12-01 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-01 12:36 Export/Import Sudhakar Kurumella <kurumella@yahoo.com>
2004-12-01 12:53 ` Vishal Kashyap @ [SaiHertz] <vishalonlist@gmail.com>
2004-12-01 13:06 ` Halford Dace <hal@stowe.co.za>
2004-12-01 13:07 ` Olivier Hubaut <olivier@scmbb.ulb.ac.be>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox