Re: requests / suggestions to help with backups - Mailing list pgsql-general

From Ian Harding
Subject Re: requests / suggestions to help with backups
Date
Msg-id 725602300702161207i701a44e2x992bf01c349c697e@mail.gmail.com
Whole thread Raw
In response to requests / suggestions to help with backups  (Lou Duchez <lou@paprikash.com>)
List pgsql-general
On 2/16/07, Lou Duchez <lou@paprikash.com> wrote:
> Like everyone else, I use pg_dump for backup purposes; I have a cron job
> that runs a pg_dump whose output is then FTP'd elsewhere. Two things
> that would make my life easier:
>
> 1) "grant select on database ..." or, hypothetically, "grant select on
> cluster". The goal would be to create a read-only PostgreSQL user, one
> who can read the contents of an entire database (or even the entire
> cluster) but make no changes.  Currently, to do my cron job, I have to
> specify a "trusted" user, otherwise PostgreSQL will ask for a password;

A .pgpass file can fix this... I don't know if that gets you any
closer to your objective.

- Ian

pgsql-general by date:

Previous
From: "Ian Harding"
Date:
Subject: Re: problems: slow queries with tsearch2
Next
From: Vladimir Zelinski
Date:
Subject: values from now() in the same transaction