Minimum permissions required for pg_dump as a backup user

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Cc: team-srs(at)catalyst(dot)net(dot)nz
Subject: Minimum permissions required for pg_dump as a backup user
Date: 2002-10-10 22:46:43
Message-ID: 1034290002.2140.494.camel@kant.mcmillan.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-novice

Hi All,

Does anyone know what the minimum permission is required to have
database backups run as a less privileged user?

We have tried granting 'SELECT' to our backup user, but it appears that
this is insufficient as pg_dump wants to lock things while it runs.

Is there some privilege less than 'UPDATE' that would allow the backups
to operate, but otherwise allow the backup user read-only access to the
database?

Thanks,
Andrew.
--
---------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267
Survey for free with http://survey.net.nz/
---------------------------------------------------------------------

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message John Joseph Bachir 2002-10-10 23:10:24 os x 10.2 Pg.pm
Previous Message victor3.lopes 2002-10-10 22:29:40 TR: Re: TR: interface PERL and return results

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2002-10-10 23:03:31 Missing Review
Previous Message Josh Berkus 2002-10-10 21:09:35 Re: postgresql with mac os x --success!!