Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hsR8i-0007hD-77 for pgsql-general@arkaria.postgresql.org; Tue, 30 Jul 2019 12:22:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hsR8g-0007Zv-Qo for pgsql-general@arkaria.postgresql.org; Tue, 30 Jul 2019 12:21:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hsR8g-0007YD-CW for pgsql-general@lists.postgresql.org; Tue, 30 Jul 2019 12:21:58 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hsR8e-0004D2-45 for pgsql-general@lists.postgresql.org; Tue, 30 Jul 2019 12:21:58 +0000 Received: by mail-io1-xd36.google.com with SMTP id k8so127593488iot.1 for ; Tue, 30 Jul 2019 05:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jbVwqbl8BmTvqr6iF95gJjMOfkw063EfNt4fQd+n4NQ=; b=PN/mHfvImjuE9sVq7F7yPZM14SmteQ84X7OdjtX3GMOyW69QBgC7DZNhayWVzb7+Fj 1qksykezB1o2JMyZNK0gqUvwqkb8z4PQ+xtsz8NetvQiFbY8ePvac2IoUVXIdq0pApxT KcXv2MFiy9/3RiJ5YlbddjGytGM11XSG+l7TcFrz2PwEl9u5M0bXd1lIhDjVZK6v3Tu2 ErlJ+r5DyTPlRMk3SmtDvtOYhYX+v8tCZLGq0kMGH7MXxXz5v7kzHxWvefq7f4ASNLSD 5rbMlTnkCYUBHDLKo9S8DMDlJUb4p/BN5MnJFZRtB0ZXu1usvNxQUeHC93KehFQtiTJ9 Y8Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jbVwqbl8BmTvqr6iF95gJjMOfkw063EfNt4fQd+n4NQ=; b=m7zISpnONUZtbqQ/9d5wZv081ruXr1WWeOGdZ7nfaio8z++H0v5hp5rS6au71NhBcK gwWmFv9sW4/3Odsvr5UrvogV2KQiXkmX1Fa/hxOBMGEf0yTJ+lwoZbsWX0gpuXTcAcwv 56N/X4k0wElrYNGt7FHL4b4kfEq3zi1ubWfPR/dg1ugUuHX3POWZV38UWDJuevSFegK2 7XsCj4xKvdkRIJi/hpRgJiDdyB1FWEjin0ZWeC4TCmmCxXbtt78AVWaguVBQTaG1BIpm nnJqObEMHaEjGj8gXE1cNlbX39re6p1cp7Hr+XkDPPEIWDCXQFcnnrJbY19dDe08t5XL 23VQ== X-Gm-Message-State: APjAAAWAUrXbCT6g0DAQwlX1+WhdyUx8T41QDD0ISLRkU1DVAx9hUIeX 8VGAvH8+B6Q9A1fBecJOlyoJtt78xyc= X-Google-Smtp-Source: APXvYqzCMqBHA81Xkz2/Hl68bYO7Uzt/kNjgCxKz+n3/oE+xIOZjHMkDPOPq529Y2YziiouMOYvs0w== X-Received: by 2002:a5d:890d:: with SMTP id b13mr55811003ion.124.1564489313238; Tue, 30 Jul 2019 05:21:53 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id p3sm106514023iom.7.2019.07.30.05.21.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jul 2019 05:21:52 -0700 (PDT) Subject: Re: How do I create a Backup Operator account ? To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <1d1008e3-d2bd-60ee-70ec-27ac54b164d1@gmail.com> Date: Tue, 30 Jul 2019 07:21:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/30/19 12:58 AM, Luca Ferrari wrote: > On Tue, Jul 30, 2019 at 2:50 AM Marcos Aurelio Nobre > 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, it is common some large Enterprise environments to have Operations staff that can run backups without being able to do anything else.  For example, SQL Server has a per-database user mapping named db_backupoperator. -- Angular momentum makes the world go 'round.