Re: pg_dump

From: Ramesh T <rameshparnanditech(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump
Date: 2014-12-16 16:17:13
Message-ID: CAK8Zd=vWY8CQmz=mQFiv6_F-6tW0PtoBnVnVTRL7m0XghJCiAw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

C:\Program Files\pgAdmin III\1.14>pg_dump -U postgres -p 5432 -C -f
c:\backup\db_2.dump db_1;
pg_dump: [archiver (db)] connection to database "db_1;"

failed: coul
d not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and

accepting
TCP/IP connections on port 5432?

is it right excution process ,if it is yes 5432..?

On Tue, Dec 16, 2014 at 9:25 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
>
> On 12/16/2014 07:52 AM, Ramesh T wrote:
> CCing list.
>
> 1.
>> -bash-4.1$ pg_dump -C -Fp -f C:\backup\db_1.dump db_2
>>
>> how to export and where i can save export file
>>
>
> Per my previous post:
>
>
> That would depend on where your Postgres server is relative to the c:\
> drive.
>
>
>>
>>
>>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>

In response to

  • Re: pg_dump at 2014-12-16 15:55:20 from Adrian Klaver

Responses

  • Re: pg_dump at 2014-12-16 23:39:38 from Adrian Klaver

Browse pgsql-general by date

  From Date Subject
Next Message harpagornis 2014-12-16 16:57:55 Re: SSL Certificates in Windows 7 & Postgres 9.3
Previous Message Karsten Hilbert 2014-12-16 16:03:26 Re: pg_dump