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

Commit2c74e6c

Browse files
committed
Mention need for --no-inc-recursive in rsync command
Since rsync 3.0.0 (released in 2008), the default way to enumeratechanges was changed in a way that makes it less likely that the hardlinksync mode works. Since the whole point of the documented procedure isfor the hardlinks to work, change our docs to suggest using thebackwards compatibility switch.
1 parentfc49e24 commit2c74e6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ pg_upgrade.exe
492492
server:
493493

494494
<programlisting>
495-
rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_dir
495+
rsync --archive --delete --hard-links --size-only--no-inc-recursiveold_pgdata new_pgdata remote_dir
496496
</programlisting>
497497

498498
where <option>old_pgdata</> and <option>new_pgdata</> are relative
@@ -504,7 +504,7 @@ rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_d
504504
remote directory, e.g.
505505

506506
<programlisting>
507-
rsync --archive --delete --hard-links --size-only /opt/PostgreSQL/9.5/data \
507+
rsync --archive --delete --hard-links --size-only--no-inc-recursive/opt/PostgreSQL/9.5/data \
508508
/opt/PostgreSQL/9.6/data standby.example.com:/opt/PostgreSQL
509509
</programlisting>
510510

@@ -534,7 +534,7 @@ rsync --archive --delete --hard-links --size-only /opt/PostgreSQL/9.5/data \
534534
<application>rsync</> command for each tablespace directory, e.g.:
535535

536536
<programlisting>
537-
rsync --archive --delete --hard-links --size-only /vol1/pg_tblsp/PG_9.5_201510051 \
537+
rsync --archive --delete --hard-links --size-only--no-inc-recursive/vol1/pg_tblsp/PG_9.5_201510051 \
538538
/vol1/pg_tblsp/PG_9.6_201608131 standby.example.com:/vol1/pg_tblsp
539539
</programlisting>
540540

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp