pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Automatic database backup on Windows Machine
2+ messages / 2 participants
[nested] [flat]

* Automatic database backup on Windows Machine
@ 2005-03-02 09:18  William Shatner <shatner.william@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: William Shatner @ 2005-03-02 09:18 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I am a newbie at PostgreSQL. I am running PostgreSQL 8.0 on Windows
XP. I would like to automate my database backup (pg_dump, pg_dumpall).

I can't add it to scheduled tasks as Windows doesn't see my PostgreSQL
superuser account (it only sees the service a/c). Even if it did i
think there might be issues when it prompts for a password????. I am
logged into my machine as my Windows user name.

Can this be done?

King Regards,
Will



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Automatic database backup on Windows Machine
@ 2005-03-03 02:11  John DeSoi <desoi@pgedit.com>
  parent: William Shatner <shatner.william@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: John DeSoi @ 2005-03-03 02:11 UTC (permalink / raw)
  To: William Shatner <shatner.william@gmail.com>; +Cc: pgsql-admin


On Mar 2, 2005, at 4:18 AM, William Shatner wrote:

> I am a newbie at PostgreSQL. I am running PostgreSQL 8.0 on Windows
> XP. I would like to automate my database backup (pg_dump, pg_dumpall).
>
> I can't add it to scheduled tasks as Windows doesn't see my PostgreSQL
> superuser account (it only sees the service a/c). Even if it did i
> think there might be issues when it prompts for a password????. I am
> logged into my machine as my Windows user name.

The password issue can be resolved with the pgpass file:

http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-03-03 02:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 09:18 Automatic database backup on Windows Machine William Shatner <shatner.william@gmail.com>
2005-03-03 02:11 ` John DeSoi <desoi@pgedit.com>

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