From kurumella@yahoo.com Wed Dec 1 12:36:56 2004 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 234D43A46B2 for ; Wed, 1 Dec 2004 12:36:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91719-06 for ; Wed, 1 Dec 2004 12:36:43 +0000 (GMT) Received: from web60401.mail.yahoo.com (web60401.mail.yahoo.com [216.109.118.184]) by svr1.postgresql.org (Postfix) with SMTP id 3DFA53A4628 for ; Wed, 1 Dec 2004 12:36:45 +0000 (GMT) Received: (qmail 51604 invoked by uid 60001); 1 Dec 2004 12:36:44 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=WnGLzJXN1uoQTBJQcrTE/IIDWE5KfcZ0BM7BXrxkTHFhrv6BjdEY/Abw0IpUKCpW6YMuMaG/DfzOH4CHdLJJz0RsRA+1wQsDplN5quW9Y/4QRZbmIuh+/7c6ZM8pvnDYiBOvijmocz8Ii4Ql9wAceTRbHspJRZU4DAUnrTtiKsQ= ; Message-ID: <20041201123644.51602.qmail@web60401.mail.yahoo.com> Received: from [212.161.107.197] by web60401.mail.yahoo.com via HTTP; Wed, 01 Dec 2004 04:36:44 PST Date: Wed, 1 Dec 2004 04:36:44 -0800 (PST) From: Sudhakar Kurumella Subject: Export/Import To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1404717672-1101904604=:50043" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.431 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_30_40, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200412/6 X-Sequence-Number: 15592 --0-1404717672-1101904604=:50043 Content-Type: text/plain; charset=us-ascii 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. --0-1404717672-1101904604=:50043 Content-Type: text/html; charset=us-ascii
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. --0-1404717672-1101904604=:50043-- From vishalonlist@gmail.com Wed Dec 1 12:53:25 2004 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DF8233A461F for ; Wed, 1 Dec 2004 12:53:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99496-02 for ; Wed, 1 Dec 2004 12:53:17 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by svr1.postgresql.org (Postfix) with ESMTP id F41EE3A55A0 for ; Wed, 1 Dec 2004 12:53:18 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 71so1532480wra for ; Wed, 01 Dec 2004 04:53:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ohzQT8rT+BKYQfZo1mEXHGjSrQHYd3tMbwZs4v+u6seXinao0pjUEP3y/6XRO/wk7aEXviE75IgroFkx6v7ZVhxr9RvFcs49KdgEVaXqotsls8C4q0vTPE929oRfxsHQxKzKm+072llQDDGzn757nTYbIT6pCFd1duFzUQl+3iU= Received: by 10.54.52.42 with SMTP id z42mr649439wrz; Wed, 01 Dec 2004 04:53:18 -0800 (PST) Received: by 10.54.50.31 with HTTP; Wed, 1 Dec 2004 04:53:18 -0800 (PST) Message-ID: <77b69d2104120104534e023ec@mail.gmail.com> Date: Wed, 1 Dec 2004 18:23:18 +0530 From: "Vishal Kashyap @ [SaiHertz]" Reply-To: "Vishal Kashyap @ [SaiHertz]" To: Sudhakar Kurumella Subject: Re: Export/Import Cc: pgsql-admin@postgresql.org In-Reply-To: <20041201123644.51602.qmail@web60401.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041201123644.51602.qmail@web60401.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200412/8 X-Sequence-Number: 15594 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 From hal@stowe.co.za Wed Dec 1 13:13:14 2004 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 311513A559B for ; Wed, 1 Dec 2004 13:13:14 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04194-08 for ; Wed, 1 Dec 2004 13:13:08 +0000 (GMT) Received: from jove.stowe.co.za (jove.stowe.co.za [196.30.30.131]) by svr1.postgresql.org (Postfix) with ESMTP id A69BD3A55C2 for ; Wed, 1 Dec 2004 13:12:58 +0000 (GMT) Received: from localhost (hal@localhost) by jove.stowe.co.za (SGI-8.9.3/8.9.3) with ESMTP id PAA35793; Wed, 1 Dec 2004 15:06:27 +0200 (SAT) Date: Wed, 1 Dec 2004 15:06:26 +0200 From: Halford Dace To: Sudhakar Kurumella Cc: pgsql-admin@postgresql.org Subject: Re: Export/Import In-Reply-To: <20041201123644.51602.qmail@web60401.mail.yahoo.com> Message-ID: References: <20041201123644.51602.qmail@web60401.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.492 tagged_above=0 required=5 tests=DNS_FROM_RFC_WHOIS X-Spam-Level: X-Archive-Number: 200412/12 X-Sequence-Number: 15598 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. From olivier@scmbb.ulb.ac.be Wed Dec 1 13:07:21 2004 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2522B3A46C1 for ; Wed, 1 Dec 2004 13:07:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03316-08 for ; Wed, 1 Dec 2004 13:07:08 +0000 (GMT) Received: from guppy.vub.ac.be (www.vub.ac.be [134.184.129.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5AD903A558C for ; Wed, 1 Dec 2004 13:07:10 +0000 (GMT) Received: from mach.vub.ac.be (mach.vub.ac.be [134.184.129.8]) by guppy.vub.ac.be (8.9.1b+Sun/3.17.1.ap (guppy)) id OAA08800; Wed, 1 Dec 2004 14:07:08 +0100 (MET) for Received: from olivier.amaze.ulb.ac.be (ucmbsgi10.ulb.ac.be [164.15.109.34]) by mach.vub.ac.be (Postfix) with ESMTP id 9A3B32354 for ; Wed, 1 Dec 2004 14:07:08 +0100 (CET) To: pgsql-admin@postgresql.org Subject: Re: Export/Import References: <20041201123644.51602.qmail@web60401.mail.yahoo.com> Message-ID: Date: Wed, 01 Dec 2004 14:07:07 +0100 From: "Olivier Hubaut" Organization: aMAZE Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <20041201123644.51602.qmail@web60401.mail.yahoo.com> User-Agent: Opera M2/7.54 (MacPPC, build 1840) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/11 X-Sequence-Number: 15597 On Wed, 1 Dec 2004 04:36:44 -0800 (PST), 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 A simple pg_dump -C -f dump.sql dbname should give you what you want. -- Downloading signature ... 99% *CRC FAILED* signature aborted