Skip to content

Commit c7d09aa

Browse files
committed
update
1 parent 9cc4775 commit c7d09aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg_probackup/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ <h4 id="page-validation">Page validation</h4>
362362
<p>Redardless of data checksums been enabled or not, pg_probackup always check page header “sanity”.</p>
363363
<h4 id="external-directories">External directories</h4>
364364
<p>To back up a directory located outside of the data directory, use the optional <code>--external-dirs</code> parameter that specifies the path to this directory. If you would like to add more than one external directory, provide several paths separated by colons, on Windows system paths must be separated by semicolon instead.</p>
365-
<p>For example, to include /etc/dir1/ and /etc/dir2/ directories into the full backup of your <em>instance_name</em> instance that will be stored under the <em>backup_dir</em> directory, run:</p>
365+
<p>For example, to include <code>/etc/dir1/</code> and <code>/etc/dir2/</code> directories into the full backup of your <em>instance_name</em> instance that will be stored under the <em>backup_dir</em> directory, run:</p>
366366
<pre><code>pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=/etc/dir1:/etc/dir2</code></pre>
367-
<p>For example, to include ‘C:1’ and ‘C:2’ directories into the full backup of your <em>instance_name</em> instance that will be stored under the <em>backup_dir</em> directory on Windows system, run:</p>
367+
<p>For example, to include <code>C:\dir1</code> and <code>C:\dir2</code> directories into the full backup of your <em>instance_name</em> instance that will be stored under the <em>backup_dir</em> directory on Windows system, run:</p>
368368
<pre><code>pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=C:\dir1;C:\dir2</code></pre>
369369
<p>pg_probackup creates a separate subdirectory in the backup directory for each external directory. Since external directories included into different backups do not have to be the same, when you are restoring the cluster from an incremental backup, only those directories that belong to this particular backup will be restored. Any external directories stored in the previous backups will be ignored.</p>
370370
<p>To include the same directories into each backup of your instance, you can specify them in the pg_probackup.conf configuration file using the <a href="#set-config">set-config</a> command with the <code>--external-dirs</code> option.</p>

0 commit comments

Comments
 (0)