From 6fa79755bd393cdfadb6197164cbe01498474be3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 30 May 2011 01:02:02 +0300 Subject: Add pg_basebackup -z option for compression with default level --- doc/src/sgml/ref/pg_basebackup.sgml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml index 32fa9f858ca..47dce43b194 100644 --- a/doc/src/sgml/ref/pg_basebackup.sgml +++ b/doc/src/sgml/ref/pg_basebackup.sgml @@ -168,13 +168,27 @@ PostgreSQL documentation + + + + + + Enables gzip compression of tar file output, with the default + compression level. Compression is only available when using + the tar format. + + + + - Enables gzip compression of tar file output. Compression is only - available when using the tar format. + Enables gzip compression of tar file output, and specifies the + compression level (1 through 9, 9 being best + compression). Compression is only available when using the tar + format. @@ -393,11 +407,11 @@ PostgreSQL documentation - To create a backup of the local server with one maximum compressed + To create a backup of the local server with one compressed tar file for each tablespace, and store it in the directory backup, showing a progress report while running: -$ pg_basebackup -D backup -Ft -Z9 -P +$ pg_basebackup -D backup -Ft -z -P -- cgit v1.2.3