Initiate backup from routine? - Mailing list pgsql-general

From Troels Arvin
Subject Initiate backup from routine?
Date
Msg-id 409843b2-54ec-434f-a173-57c207744dda@arvin.dk
Whole thread Raw
Responses Re: Initiate backup from routine?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Initiate backup from routine?  (Ron Johnson <ronljohnsonjr@gmail.com>)
RE: Initiate backup from routine?  (Kamil ADEM <kamila@aqvilasoftware.com>)
List 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


pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Re: Moving to Postgresql database
Next
From: "David G. Johnston"
Date:
Subject: Re: Initiate backup from routine?