We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fbfd40 commit d8bff79Copy full SHA for d8bff79
doc/src/sgml/backup.sgml
@@ -1252,7 +1252,7 @@ restore_command = 'gunzip < /mnt/server/archivedir/%f | pg_decompresslog - %p
1252
<varname>archive_command</varname>, so that their
1253
<filename>postgresql.conf</> entry looks very simple:
1254
<programlisting>
1255
-archive_command = 'local_backup_script.sh'
+archive_command = 'local_backup_script.sh "%p" "%f"'
1256
</programlisting>
1257
Using a separate script file is advisable any time you want to use
1258
more than a single command in the archiving process.
0 commit comments