@@ -77,20 +77,22 @@ help_pg_probackup(void)
77
77
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
78
78
printf (_ (" [--compress-level=compress-level]\n" ));
79
79
printf (_ (" [-d dbname] [-h host] [-p port] [-U username]\n" ));
80
- printf (_ (" [--master-db] [--master-host] [--master-port] [--master-user]\n" ));
81
- printf (_ (" [--replica-timeout]\n" ));
80
+ printf (_ (" [--master-db=db_name] [--master-host=host_name]\n" ));
81
+ printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
82
+ printf (_ (" [--replica-timeout=timeout]\n" ));
82
83
83
84
printf (_ ("\n %s show-config -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
84
85
85
86
printf (_ ("\n %s backup -B backup-path -b backup-mode --instance=instance_name\n" ), PROGRAM_NAME );
86
- printf (_ (" [-D pgdata-dir] [- C] [--stream [-S slot-name]] [--backup-pg-log]\n" ));
87
+ printf (_ (" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n" ));
87
88
printf (_ (" [-j num-threads] [--archive-timeout=archive-timeout]\n" ));
88
89
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
89
90
printf (_ (" [--compress-level=compress-level]\n" ));
90
91
printf (_ (" [--progress] [--delete-expired]\n" ));
91
92
printf (_ (" [-d dbname] [-h host] [-p port] [-U username]\n" ));
92
- printf (_ (" [--master-db] [--master-host] [--master-port] [--master-user]\n" ));
93
- printf (_ (" [--replica-timeout]\n" ));
93
+ printf (_ (" [--master-db=db_name] [--master-host=host_name]\n" ));
94
+ printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
95
+ printf (_ (" [--replica-timeout=timeout]\n" ));
94
96
95
97
printf (_ ("\n %s restore -B backup-dir --instance=instance_name\n" ), PROGRAM_NAME );
96
98
printf (_ (" [-D pgdata-dir] [-i backup-id] [--progress]\n" ));
@@ -137,19 +139,19 @@ static void
137
139
help_backup (void )
138
140
{
139
141
printf (_ ("%s backup -B backup-path -b backup-mode --instance=instance_name\n" ), PROGRAM_NAME );
140
- printf (_ (" [-D pgdata-dir] [- C] [--stream [-S slot-name]] [--backup-pg-log]\n" ));
142
+ printf (_ (" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n" ));
141
143
printf (_ (" [-j num-threads] [--archive-timeout=archive-timeout]\n" ));
142
144
printf (_ (" [--progress] [--delete-expired]\n" ));
143
145
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
144
146
printf (_ (" [--compress-level=compress-level]\n" ));
145
- printf (_ (" [-d dbname] [-h host] [-p port] [-U username]\n\n" ));
146
- printf (_ (" [--master-db] [--master-host] [--master-port] [--master-user]\n" ));
147
- printf (_ (" [--replica-timeout]\n" ));
147
+ printf (_ (" [-d dbname] [-h host] [-p port] [-U username]\n" ));
148
+ printf (_ (" [--master-db=db_name] [--master-host=host_name]\n" ));
149
+ printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
150
+ printf (_ (" [--replica-timeout=timeout]\n" ));
148
151
149
152
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
150
153
printf (_ (" -b, --backup-mode=backup-mode backup mode=FULL|PAGE|PTRACK\n" ));
151
154
printf (_ (" --instance=instance_name name of the instance\n" ));
152
- printf (_ (" -D, --pgdata=pgdata-dir location of the database storage area\n" ));
153
155
printf (_ (" -C, --smooth-checkpoint do smooth checkpoint before backup\n" ));
154
156
printf (_ (" --stream stream the transaction log and include it in the backup\n" ));
155
157
printf (_ (" --archive-timeout wait timeout for WAL segment archiving\n" ));
@@ -177,7 +179,7 @@ help_backup(void)
177
179
printf (_ (" --master-host=host_name database server host of master\n" ));
178
180
printf (_ (" --master-port=port database server port of master\n" ));
179
181
printf (_ (" --master-user=user_name user name to connect to master\n" ));
180
- printf (_ (" --replica-timeout=timeout wait timeout for WAL segment streaming through replication\n" ));
182
+ printf (_ (" --replica-timeout=timeout wait timeout for WAL segment streaming through replication in seconds \n" ));
181
183
}
182
184
183
185
static void
@@ -262,8 +264,9 @@ help_set_config(void)
262
264
printf (_ (" [--compress-algorithm=compress-algorithm]\n" ));
263
265
printf (_ (" [--compress-level=compress-level]\n" ));
264
266
printf (_ (" [-d dbname] [-h host] [-p port] [-U username]\n" ));
265
- printf (_ (" [--master-db] [--master-host] [--master-port] [--master-user]\n" ));
266
- printf (_ (" [--replica-timeout]\n" ));
267
+ printf (_ (" [--master-db=db_name] [--master-host=host_name]\n" ));
268
+ printf (_ (" [--master-port=port] [--master-user=user_name]\n" ));
269
+ printf (_ (" [--replica-timeout=timeout]\n" ));
267
270
268
271
printf (_ (" -B, --backup-path=backup-path location of the backup storage area\n" ));
269
272
printf (_ (" --instance=instance_name name of the instance\n" ));
@@ -300,9 +303,9 @@ help_set_config(void)
300
303
301
304
printf (_ ("\n Replica options:\n" ));
302
305
printf (_ (" --master-db=db_name database to connect to master\n" ));
303
- printf (_ (" --master-host=host_name database server host of master\n" ));
304
- printf (_ (" --master-port=port database server port of master\n" ));
305
- printf (_ (" --master-user=user_name user name to connect to master\n" ));
306
+ printf (_ (" --master-host=host_name=host_name database server host of master\n" ));
307
+ printf (_ (" --master-port=port=port database server port of master\n" ));
308
+ printf (_ (" --master-user=user_name=user_name user name to connect to master\n" ));
306
309
printf (_ (" --replica-timeout=timeout wait timeout for WAL segment streaming through replication\n" ));
307
310
}
308
311
0 commit comments