Non-superuser support with pgBackRest
pgBackRest supports non-superuser backups and restores. This feature is useful when you want to delegate backup and restore tasks to non-superusers. To configure non-superuser support, you need to grant the necessary permissions to the non-superuser.
For example, to allow the pgbackrest
user to perform backups and restores, you can grant the following permissions:
For EDB Postgres Advanced Server 14 and later:
For EDB Postgres 15 and later:
In EDB Postgres 15 and later versions, pg_start_backup
and pg_stop_backup
functions are changed to pg_backup_start
and pg_backup_stop
.
Could this page be better? Report a problem or suggest an addition!