From: | "Tomi N/A" <hefest(at)gmail(dot)com> |
---|---|
To: | "George Weaver" <gweaver(at)shaw(dot)ca> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: database backup trouble |
Date: | 2007-02-02 12:33:08 |
Message-ID: | d487eb8e0702020433rf0c6cf0w69504979e4de9ff4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2007/2/2, George Weaver <gweaver(at)shaw(dot)ca>:
>
> From: "Tomi N/A"
>
> > At this point, I decided to try a much more primitive approach: using
> > a windows scheduled task running a .bat or .cmd script which in turn
> > calls pg_dump.
>
> It might be helpful if you provided the exact pg_dump command you are trying
> to use, as well as the text of the .bat file you set up.
I did exactly that a bit into my message (should have probably pointed
it out at the beginning).
Anyway, here it is again:
pg_dump -h localhost -U myuser mydatabase -f outputfile.backup
Oh, and I forgot to ask another question in the original message: why
can a linux user with an invalid or non-existant .pgpass successfully
use pg_dumpall (pg_dumpall -U existing_pg_role > dump.sql) and read
any data he/she cares to read?
Thanks,
t.n.a.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter | 2007-02-02 13:10:10 | Query optimization problem |
Previous Message | Wilton Wonrath | 2007-02-02 12:19:58 | Backup ? |