Re: PostgreSQL Dump based backup using pipe

From: naveen kumar <mnaveendba2(at)gmail(dot)com>
To: girish R G peetle <giri(dot)anamika0(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>, Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Subject: Re: PostgreSQL Dump based backup using pipe
Date: 2015-06-25 14:23:11
Message-ID: CADye41JvtsHDrV0=b4uuYhmjqnQ4BRxJ1ubm_2iYNQKbo5g0VQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

/pg_dump -U postgres -h <source host> $srcdb | /usr/local/pgsql/bin/psql -p
$port -U postgres -h <destination host > $destinationdb

It will help you, i guess.

thanks,

Thanks & Regards,
M Naveen Kuamr,
PostgreSQL Database Administrator,
Mobile Number: +91 7755929449.

On Thu, May 28, 2015 at 11:36 PM, Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
wrote:

> On May 28, 2015, at 11:58 AM, girish R G peetle <giri(dot)anamika0(at)gmail(dot)com>
> wrote:
> >
> > If pipe is used…
>
> You’re assuming that it writes to files and writes to pipes the same way.
> That is not a valid assumption.
>
>
> --
> Scott Ribe
> scott_ribe(at)elevated-dev(dot)com
> http://www.elevated-dev.com/
> https://www.linkedin.com/in/scottribe/
> (303) 722-0567 voice
>
>
>
>
>
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2015-06-25 15:10:35 Re: Trying to change the owner of some tables
Previous Message John Scalia 2015-06-25 14:21:26 Re: Trying to change the owner of some tables