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 92375ed commit 97d5b21Copy full SHA for 97d5b21
doc/src/sgml/backup.sgml
@@ -1270,7 +1270,7 @@ restore_command = 'gunzip < /mnt/server/archivedir/%f | pg_decompresslog - %p
1270
<varname>archive_command</varname>, so that their
1271
<filename>postgresql.conf</> entry looks very simple:
1272
<programlisting>
1273
-archive_command = 'local_backup_script.sh'
+archive_command = 'local_backup_script.sh "%p" "%f"'
1274
</programlisting>
1275
Using a separate script file is advisable any time you want to use
1276
more than a single command in the archiving process.
0 commit comments