pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Miriam Fernández Galicia <msenseif@servidor.unam.mx>
To: Guillaume LELARGE <gleu@wanadoo.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: backup a table
Date: 11 Jun 2003 16:52:59 -0500
Message-ID: <1055368378.26130.74.camel@tauri.dgsca.unam.mx> (raw)
In-Reply-To: <200306112319.36176.gleu@wanadoo.fr>
References: <1055363103.26123.52.camel@tauri.dgsca.unam.mx>
	<200306112319.36176.gleu@wanadoo.fr>

Thank you Guillaume !!  :)
It works!!
   Miriam


El mié, 11 de 06 de 2003 a las 18:19, Guillaume LELARGE escribió:

> Hi,
> 
> Le Mercredi 11 Juin 2003 20:25, vous avez écrit :
> > Hello!!!
> > I 'm new in Postgres 7.2 my question is, exists some way to backup only
> > a table and no  the all database with pg_dump or another utility, too 
> 
> pg_dump allows you to do this using the -t switch.
> Try something like
>   pg_dump -t mytable mydbname
> 
> You should probably redirect stdout to some file like this:
>   pg_dump -t mytable mydbname > myfile
> 
> If you need to specify your user, try something like this one:
>   pg_dump -U myuser -t mytable mydbname
> 

Attachments:

smiley-3.png (image/png, 819B) download view image

view thread (3+ messages)  latest in thread

Message-ID: <1055368378.26130.74.camel@tauri.dgsca.unam.mx>
Permalink:  ../1055368378.26130.74.camel@tauri.dgsca.unam.mx/
Also on:    postgresql.org/message-id/1055368378.26130.74.camel@tauri.dgsca.unam.mx

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: msenseif@servidor.unam.mx, gleu@wanadoo.fr
  Subject: Re: backup a table
  In-Reply-To: <1055368378.26130.74.camel@tauri.dgsca.unam.mx>
  References: <1055363103.26123.52.camel@tauri.dgsca.unam.mx> <200306112319.36176.gleu@wanadoo.fr> <1055368378.26130.74.camel@tauri.dgsca.unam.mx>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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