Re: Problem with pg_dump

From: "Alex Turner" <armtuk(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, b(dot)wood(at)niwa(dot)co(dot)nz, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pg_dump
Date: 2006-11-10 16:37:29
Message-ID: 33c6269f0611100837i3f76ba44y4ac2e82d5c792d59@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sure thing, I hope it's as simple as user error!

#!/bin/sh
export DATE=`date +%Y%m%d`

/usr/local/pgsql/bin/pg_dump -Upostgres -hlocalhost trend >
/backup/trend.dump.$DATE

Thats pretty much it repeated for each database. I just upgraded to
8.1.5to see if that would fix the problem, but it didn't

Alex

On 11/10/06, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
>
> On Fri, 2006-11-10 at 11:23 -0500, Tom Lane wrote:
> > "Alex Turner" <armtuk(at)gmail(dot)com> writes:
> > > Well yes - thats what I mean, the definition for the index. It's not
> > > dumping the index defs. It also looks like it's not dumping roles
> fully
> > > either. I was missing grants from the dump too.
> >
> > [ raised eyebrow... ] Let's see a test case.
>
> Alex, what Tom is saying here is... this is likely user error :). Can
> you provide the exact pg_dump command you are using?
>
> Sincerely,
>
> Joshua D. Drake
>
>
>
> >
> > regards, tom lane
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: Don't 'kill -9' the postmaster
> >
> --
>
> === The PostgreSQL Company: Command Prompt, Inc. ===
> Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
> Providing the most comprehensive PostgreSQL solutions since 1997
> http://www.commandprompt.com/
>
> Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
>
>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Turner 2006-11-10 16:38:01 Re: Problem with pg_dump
Previous Message Joshua D. Drake 2006-11-10 16:30:11 Re: Problem with pg_dump