Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb142cb6

Browse files
committed
Documentation: add info about semicolon delimiter for --external-dirs on Windows
1 parentbdd0459 commitb142cb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎Documentation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,16 @@ Redardless of data checksums been enabled or not, pg_probackup always check page
453453

454454
####External directories
455455

456-
To back up a directory located outside of the data directory, use the optional`--external-dirs` 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.
456+
To back up a directory located outside of the data directory, use the optional`--external-dirs` 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.
457457

458458
For example, to include '/etc/dir1/' and '/etc/dir2/' directories into the full backup of your*instance_name* instance that will be stored under the*backup_dir* directory, run:
459459

460460
pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=/etc/dir1:/etc/dir2
461461

462+
For example, to include 'C:\dir1' and 'C:\dir2' directories into the full backup of your*instance_name* instance that will be stored under the*backup_dir* directory on Windows system, run:
463+
464+
pg_probackup backup -B backup_dir --instance instance_name -b FULL --external-dirs=C:\dir1;C:\dir2
465+
462466
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.
463467

464468
To include the same directories into each backup of your instance, you can specify them in the pg_probackup.conf configuration file using the[set-config](#set-config) command with the`--external-dirs` option.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp