mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Small cleanup of spacing in verbatim DocBook elements
This commit is contained in:
@@ -388,26 +388,26 @@ PostgreSQL documentation
|
||||
To create a base backup of the server at <literal>mydbserver</literal>
|
||||
and store it in the local directory
|
||||
<filename>/usr/local/pgsql/data</filename>:
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -h mydbserver -D /usr/local/pgsql/data</userinput>
|
||||
</screen>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -h mydbserver -D /usr/local/pgsql/data</userinput>
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To create a backup of the local server with one maximum compressed
|
||||
tar file for each tablespace, and store it in the directory
|
||||
<filename>backup</filename>, showing a progress report while running:
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft -Z9 -P</userinput>
|
||||
</screen>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft -Z9 -P</userinput>
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To create a backup of a single-tablespace local database and compress
|
||||
this with <productname>bzip2</productname>:
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2</userinput>
|
||||
</screen>
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2</userinput>
|
||||
</screen>
|
||||
(this command will fail if there are multiple tablespaces in the
|
||||
database)
|
||||
</para>
|
||||
|
Reference in New Issue
Block a user