Re: backup

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: backup
Date: 2009-06-09 12:33:12
Message-ID: h0lkq8$90o$7@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 2009-06-09, Jyoti Seth <jyotiseth2001(at)gmail(dot)com> wrote:
> This is a multipart message in MIME format.
>
> ------=_NextPart_000_003C_01C9E916.43A8D460
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
>
> Hi all,
>
>
>
> Can we take backup of specific data of a table (using where clause)?

in psql:

/copy (select * from table WHERE condition ) to 'FILENAME'

requires postgres version >= 8.2 IIRC.

you can use any query.

In response to

  • backup at 2009-06-09 09:53:34 from Jyoti Seth

Responses

  • Re: backup at 2009-06-10 05:08:30 from Jyoti Seth
  • Re: backup at 2009-06-10 05:46:35 from Jyoti Seth

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2009-06-09 17:51:29 Taking the cache out of the equation?
Previous Message Ashish Karalkar 2009-06-09 10:02:59 Re: backup