8000
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 8556267 commit 329784eCopy full SHA for 329784e
doc/src/sgml/backup.sgml
@@ -1520,11 +1520,11 @@ tar -rf /var/lib/pgsql/backup.tar /var/lib/pgsql/archive/
1520
If archive storage size is a concern, you can use
1521
<application>gzip</application> to compress the archive files:
1522
<programlisting>
1523
-archive_command = 'gzip < %p > /var/lib/pgsql/archive/%f'
+archive_command = 'gzip < %p > /mnt/server/archivedir/%f.gz'
1524
</programlisting>
1525
You will then need to use <application>gunzip</application> during recovery:
1526
1527
-restore_command = 'gunzip < /mnt/server/archivedir/%f > %p'
+restore_command = 'gunzip < /mnt/server/archivedir/%f.gz > %p'
1528
1529
</para>
1530
</sect3>
0 commit comments