Re: How do I create a Backup Operator account ?

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: Marcos Aurelio Nobre <marconobre(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How do I create a Backup Operator account ?
Date: 2019-07-30 05:58:02
Message-ID: CAKoxK+4KtWSPH+LNqnsFFddyynjkjud4ZFh0QS2dhDJmU7bMrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 30, 2019 at 2:50 AM Marcos Aurelio Nobre
<marconobre(at)gmail(dot)com> wrote:
> I was wondering if it was possible to configure the pgAdmin4 menus to be available for a particular login, only Backup & Restore items. But I'm not sure how to associate a bank login account with a specific menu setting of a client tool.

I think that hiding features from a GUI is a poor idea to protect your
data (from what?).
If you are talking of a single database (or a restricted set of), you
can provide a role with the less privileges, like only SELECT and use
such account to do the backup. But you need all the grants on another
account to restore the backup.

Anyway, I think you should rethink about your aim: what's the point of
having a restricted user who can backup ALL the data?

Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2019-07-30 09:57:55 Re: Rearchitecting for storage
Previous Message Neil 2019-07-30 02:37:22 Re: How do I create a Backup Operator account ?