postgresql_16:9.6.5.1 Configuration Parameters
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > basebackup_to_shell — example "shell" pg_basebackup module > Configuration Parameters
basebackup_to_shell.command (string)
The command which the server should execute for each archive generated by the backup process. If %f occurs in the command string, it will be replaced by the name of the archive (e.g. base.tar). If %d occurs in the command string, it will be replaced by the target detail provided by the user. A target detail is required if %d is used in the command string, and prohibited otherwise. For security reasons, it may contain only alphanumeric characters. If %% occurs in the command string, it will be replaced by a single %. If % occurs in the command string followed by any other character or at the end of the string, an error occurs.
basebackup_to_shell.required_role (string)
The role required in order to make use of the shell backup target. If this is not set, any replication user may make use of the shell backup target.