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

Commit932fc5b

Browse files
committed
update help
1 parent2647c37 commit932fc5b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

‎src/help.c

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ help_pg_probackup(void)
122122
printf(_(" [--external-dirs=external-directory-path]\n"));
123123

124124
printf(_("\n %s restore -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
125-
printf(_(" [-D pgdata-path] [-i backup-id] [--progress]\n"));
125+
printf(_(" [-D pgdata-path] [-i backup-id] [-j num-threads]\n"));
126126
printf(_(" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n"));
127-
printf(_(" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n"));
127+
printf(_(" [--timeline=timeline] [-T OLDDIR=NEWDIR] [--progress]\n"));
128128
printf(_(" [--external-mapping=OLDDIR=NEWDIR]\n"));
129129
printf(_(" [--immediate] [--recovery-target-name=target-name]\n"));
130130
printf(_(" [--recovery-target-action=pause|promote|shutdown]\n"));
@@ -146,8 +146,9 @@ help_pg_probackup(void)
146146

147147
printf(_("\n %s delete -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
148148
printf(_(" [--wal] [-i backup-id | --expired]\n"));
149+
149150
printf(_("\n %s merge -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
150-
printf(_(" -i backup-id\n"));
151+
printf(_(" -i backup-id [--progress] [-j num-threads]\n"));
151152

152153
printf(_("\n %s add-instance -B backup-path -D pgdata-path\n"),PROGRAM_NAME);
153154
printf(_(" --instance=instance_name\n"));
@@ -227,7 +228,7 @@ help_backup(void)
227228
printf(_(" --skip-block-validation set to validate only file-level checksum\n"));
228229
printf(_(" -E --external-dirs=external-directory-path\n"));
229230
printf(_(" backup some directories not from pgdata \n"));
230-
printf(_("(example: --external-dirs=/tmp/dirA:/tmp/dirB)\n"));
231+
printf(_(" (example: --external-dirs=/tmp/dir1:/tmp/dir2)\n"));
231232

232233
printf(_("\n Logging options:\n"));
233234
printf(_(" --log-level-console=log-level-console\n"));
@@ -286,7 +287,7 @@ static void
286287
help_restore(void)
287288
{
288289
printf(_("%s restore -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
289-
printf(_(" [-D pgdata-path] [-i backup-id] [--progress]\n"));
290+
printf(_(" [-D pgdata-path] [-i backup-id] [-j num-threads] [--progress]\n"));
290291
printf(_(" [--time=time|--xid=xid|--lsn=lsn [--inclusive=boolean]]\n"));
291292
printf(_(" [--timeline=timeline] [-T OLDDIR=NEWDIR]\n"));
292293
printf(_(" [--external-mapping=OLDDIR=NEWDIR]\n"));
@@ -301,6 +302,7 @@ help_restore(void)
301302

302303
printf(_(" -D, --pgdata=pgdata-path location of the database storage area\n"));
303304
printf(_(" -i, --backup-id=backup-id backup to restore\n"));
305+
printf(_(" -j, --threads=NUM number of parallel threads\n"));
304306

305307
printf(_(" --progress show progress\n"));
306308
printf(_(" --time=time time stamp up to which recovery will proceed\n"));
@@ -510,7 +512,7 @@ help_set_config(void)
510512
printf(_(" --instance=instance_name name of the instance\n"));
511513
printf(_(" -E --external-dirs=external-directory-path\n"));
512514
printf(_(" backup some directories not from pgdata \n"));
513-
printf(_("(example: --external-dirs=/tmp/dirA:/tmp/dirB)\n"));
515+
printf(_(" (example: --external-dirs=/tmp/dir1:/tmp/dir2)\n"));
514516

515517
printf(_("\n Logging options:\n"));
516518
printf(_(" --log-level-console=log-level-console\n"));
@@ -586,7 +588,7 @@ help_add_instance(void)
586588
printf(_(" --instance=instance_name name of the new instance\n"));
587589
printf(_(" -E --external-dirs=external-directory-path\n"));
588590
printf(_(" backup some directories not from pgdata \n"));
589-
printf(_("(example: --external-dirs=/tmp/dirA:/tmp/dirB)\n"));
591+
printf(_(" (example: --external-dirs=/tmp/dir1:/tmp/dir2)\n"));
590592
}
591593

592594
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp