Creating a user for pg_start_backup

From: Andrew Beverley <andy(at)andybev(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Creating a user for pg_start_backup
Date: 2015-07-21 07:47:25
Message-ID: 1437464845.20338.11.camel@andybev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear all,

I'm setting up hot backups on my database server. As such, I'd like to set up a
Postgres user that has access to only pg_start_backup and pg_stop_backup.

I'm unable to work out how to do this with the various GRANT options. Can someone
point me in the right direction please? Or is there a better way to achieve this,
rather than having a dedicated user?

Thanks,

Andy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2015-07-21 07:54:35 Re: Creating a user for pg_start_backup
Previous Message Francisco Olarte 2015-07-21 07:34:51 Re: INSERT ... ON CONFLICT DO UPDATE