pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marrese <marrese@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Trouble with pg_dump and sequences
Date: Mon, 24 Apr 2006 14:57:25 -0300
Message-ID: <444D1185.8020905@gmail.com> (raw)

Hi,

I'm having problems trying to make a full backup of a database.
I search in many places but I can't find where is te mistake of my 
procedure.

I'm running this command:
$ pg_dump -C -F P -o -h db1 -U postgres MAINDB > backup1

But I can't make pg_dump to backup all the sequences in the DB, only 
those that are asociated with a serial field column of a table are 
backed up.
All the other things, such as table, data, stored procedures, triggers 
are backed up normaly.

Also tried with -n SCHEMA, and with pg_dumpall but the results remains 
the same.

I'm cofused about this, I don't see where is my mistake.

Anyone can help me?

My Architecture is :
Postgres 8.0 running on a RedHat Enterprise 4, Gentoo an Debian. In this 
3 machines I obtain the same result.

Thanxs
Martin

--

Slds

Martin Marrese
(Debian GNU/Linux - SID)

--
Cel: 1554824007
JID: kyheo en lugmen.org.ar
MSN: martin en marrese.com.ar



Message-ID: <444D1185.8020905@gmail.com>
Permalink:  ../444D1185.8020905@gmail.com/
Also on:    postgresql.org/message-id/444D1185.8020905@gmail.com

 · 

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: marrese@gmail.com
  Subject: Re: Trouble with pg_dump and sequences
  In-Reply-To: <444D1185.8020905@gmail.com>
  References: <444D1185.8020905@gmail.com>

* 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