diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 72a846deb0..cbaff17bb3 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1380,7 +1380,7 @@ restore_command = 'gunzip < /mnt/server/archivedir/%f | pg_decompresslog - %p archive_command, so that their postgresql.conf entry looks very simple: -archive_command = 'local_backup_script.sh' +archive_command = 'local_backup_script.sh "%p" "%f"' Using a separate script file is advisable any time you want to use more than a single command in the archiving process.