Initiate backup from routine?

From: Troels Arvin <troels(at)arvin(dot)dk>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Initiate backup from routine?
Date: 2024-01-17 14:40:53
Message-ID: 409843b2-54ec-434f-a173-57c207744dda@arvin.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I would like to allow a co-worker to perform a backup of a database,
such that the backup is saved to the database server itself. One use
case is that (s)he would like an extra backup of a database, just before
an application update is deployed. The co-worker doesn't have shell
access on the DB server (so no sudo option), and we would like to allow
this to happen without having to involve a DBA.

Is it possible to call pg_dump (or equivalent action) through a
procedure/function?

--
Regards,
Troels Arvin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-01-17 14:49:56 Re: Initiate backup from routine?
Previous Message Dominique Devienne 2024-01-17 11:31:52 Re: Moving to Postgresql database