pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew McMillan <andrew@catalyst.net.nz>
To: pgsql-novice@postgresql.org
Cc: team-srs@catalyst.net.nz
Subject: Minimum permissions required for pg_dump as a backup user
Date: 11 Oct 2002 11:46:43 +1300
Message-ID: <1034290002.2140.494.camel@kant.mcmillan.net.nz> (raw)

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/ 
---------------------------------------------------------------------




view thread (2+ messages)  latest in thread

Message-ID: <1034290002.2140.494.camel@kant.mcmillan.net.nz>
Permalink:  ../1034290002.2140.494.camel@kant.mcmillan.net.nz/
Also on:    postgresql.org/message-id/1034290002.2140.494.camel@kant.mcmillan.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: andrew@catalyst.net.nz, pgsql-novice@postgresql.org, team-srs@catalyst.net.nz
  Subject: Re: Minimum permissions required for pg_dump as a backup user
  In-Reply-To: <1034290002.2140.494.camel@kant.mcmillan.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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