@@ -36,26 +36,26 @@ It proposes the following features:
36
36
37
37
== COMMANDS ==
38
38
39
- pg_rman supports the following commands. See also OPTIONS for more
39
+ pg_rman supports the following commands. See also * OPTIONS* for more
40
40
details.
41
41
42
- init::
42
+ * init* ::
43
43
Initialize a backup catalog.
44
44
45
- backup::
45
+ * backup* ::
46
46
Take an online backup.
47
47
48
- restore::
48
+ * restore* ::
49
49
Perform restore.
50
50
51
- show::
51
+ * show* ::
52
52
Show backup history. The timeline option shows timeline of the backup
53
53
and the parent's timeline for each backup.
54
54
55
- validate::
55
+ * validate* ::
56
56
Validate backup files.
57
57
58
- delete::
58
+ * delete* ::
59
59
Delete backup files.
60
60
61
61
=== INITIALIZATION ===
@@ -67,7 +67,7 @@ are initialized, pg_rman can adjust the config file to the setting. In this
67
67
case, you have to specify the database cluster path for PostgreSQL. Please
68
68
specify it in PGDATA environmental variable or -D/--pgdata option.
69
69
70
- $ pg_rman init -B <a backup catalog path>
70
+ $ pg_rman init -B / path/to/backup/
71
71
72
72
=== BACKUP ===
73
73
@@ -194,68 +194,68 @@ the specified date.
194
194
== OPTIONS ==
195
195
196
196
pg_rman accepts the following command line parameters. Some of them can
197
- be also specified as environment variables. See also PARAMETERS for the
197
+ be also specified as environment variables. See also * PARAMETERS* for the
198
198
details.
199
199
200
200
=== COMMON OPTIONS ===
201
201
As a general rule, paths for data location need to be specified as
202
202
absolute paths; relative paths are not allowed.
203
203
204
- -D PATH / --pgdata=PATH ::
204
+ *-D* _PATH_ / * --pgdata*=_PATH_ ::
205
205
The absolute path of database cluster. Required on backup and
206
206
restore.
207
207
208
- -A PATH / --arclog-path=PATH ::
208
+ *-A* _PATH_ / * --arclog-path*=_PATH_ ::
209
209
The absolute path of archive WAL directory. Required on backup
210
210
and restore.
211
211
212
- -S PATH / --srvlog-path=PATH ::
212
+ *-S* _PATH_ / * --srvlog-path*=_PATH_ ::
213
213
The absolute path of server log directory. Required on backup with
214
214
server logs and restore.
215
215
216
- -B PATH / --backup-path=PATH ::
216
+ *-B* _PATH_ / * --backup-path*=_PATH_ ::
217
217
The absolute path of backup catalog. This option is mandatory.
218
218
219
- -c / --check::
219
+ *-c* / * --check* ::
220
220
If specifed, pg_rman doesn't perform actual jobs but only checks
221
221
parameters and required resources. The option is typically used with
222
222
--verbose option to verify the operation.
223
223
224
- -v / --verbose::
224
+ *-v* / * --verbose* ::
225
225
If specified, pg_rman works in verbose mode.
226
226
227
227
=== BACKUP OPTIONS ===
228
228
229
- -b { full | incremental | archive } / --backup-mode={ full | incremental | archive } ::
230
- Specify backup target files. Available options are: "full" backup ,
231
- "incremental" backup, and "archive" backup. Abbreviated forms
232
- (prefix match) are also available. For example, -b f means "full"
233
- backup.
229
+ *-b* _BACKUPMODE_ / * --backup-mode*=_BACKUPMODE_ ::
230
+ Specify backup target files. Available options are: "full",
231
+ "incremental" and "archive".
232
+ Abbreviated forms (prefix match) are also available. For example,
233
+ -b f means "full" backup.
234
234
235
- -s / --with-serverlog::
235
+ *-s* / * --with-serverlog* ::
236
236
Backup server log files if specified.
237
237
238
- -Z / --compress-data::
238
+ *-Z* / * --compress-data* ::
239
239
Compress backup files with zlib if specified.
240
240
241
- -C / --smooth-checkpoint::
241
+ *-C* / * --smooth-checkpoint* ::
242
242
Checkpoint is performed on every backups. If the option is specified,
243
243
do smooth checkpoint then. See also the second argument for
244
244
pg_start_backup().
245
245
246
- --keep-data-generations / --keep-data-days::
246
+ * --keep-data-generations*=_NUMBER_ / * --keep-data-days*=_DAYS_ ::
247
247
Specify how long backuped data files will be kept.
248
248
--keep-data-generations means number of backup generations.
249
249
--keep-data-days means days to be kept.
250
250
Only files exceeded one of those settings are deleted.
251
251
252
- --keep-arclog-files / --keep-arclog-days::
252
+ * --keep-arclog-files*=_NUMBER_ / * --keep-arclog-days*=_DAYS_ ::
253
253
Specify how long backuped archive WAL files will be kept.
254
254
--keep-arclog-files means number of backup files.
255
255
--keep-arclog-days means days to be kept. When backup is run, only
256
256
files exceeded one of those settings are deleted from archive storage.
257
257
258
- --keep-srvlog-files / --keep-srvlog-days::
258
+ * --keep-srvlog-files*=_NUMBER_ / * --keep-srvlog-days*=_DAYS_ ::
259
259
Specify how long backuped serverlog files will be kept.
260
260
--keep-srvlog-files means number of backup files.
261
261
--keep-srvlog-days means days to be kept.
@@ -269,57 +269,57 @@ absolute paths; relative paths are not allowed.
269
269
The parameters whose name start are started with --recovery refer to
270
270
the same parameters as the ones in recovery.confin recovery.conf.
271
271
272
- --recovery-target-timeline TIMELINE ::
272
+ * --recovery-target-timeline*=_TIMELINE_ ::
273
273
Specifies recovering into a particular timeline.
274
274
If not specified, the current timeline is used.
275
275
276
- --recovery-target-time TIMESTAMP ::
276
+ * --recovery-target-time*=_TIMESTAMP_ ::
277
277
This parameter specifies the timestamp up to which recovery will
278
278
proceed.
279
279
280
- --recovery-target-xid XID ::
280
+ * --recovery-target-xid*=_XID ::
281
281
This parameter specifies the transaction ID up to which recovery
282
282
will proceed.
283
283
284
- --recovery-target-inclusive::
284
+ * --recovery-target-inclusive* ::
285
285
Specifies whether server pauses when recovery target is reached.
286
286
287
- --hard-copy::
287
+ * --hard-copy* ::
288
288
Archived WAL files are copied to archive WAL storage area. If you
289
289
do not specify --hard-copy, pg_rman makes symlink to archive WAL
290
290
where are in the backup catalog directory.
291
291
292
292
=== CATALOG OPTIONS ===
293
293
294
- -a / --show-all::
294
+ *-a* / * --show-all* ::
295
295
Show all existing backups, including the deleted ones.
296
296
297
297
=== CONNECTION OPTIONS ===
298
298
Parameters to connect PostgreSQL server.
299
299
300
- -d DBNAME / --dbname=DBNAME ::
300
+ *-d* _DBNAME_ / * --dbname*=_DBNAME_ ::
301
301
The database name to execute pg_start_backup() and pg_stop_backup().
302
302
303
- -h HOSTNAME / --host=HOSTNAME ::
303
+ *-h* _HOSTNAME_ / * --host*=_HOSTNAME_ ::
304
304
Specifies the host name of the machine on which the server is running.
305
305
If the value begins with a slash, it is used as the directory for the
306
306
Unix domain socket.
307
307
308
- -p PORT / --port=PORT ::
308
+ *-p* _PORT_ / * --port*=_PORT_ ::
309
309
Specifies the TCP port or local Unix domain socket file extension on
310
310
which the server is listening for connections.
311
311
312
- -U USERNAME / --username=USERNAME ::
312
+ *-U* _USERNAME_ / * --username*=_USERNAME_ ::
313
313
User name to connect as.
314
314
315
- -w / --no-password::
315
+ *-w* / * --no-password* ::
316
316
Never issue a password prompt. If the server requires password
317
317
authentication and a password is not available by other means such as
318
318
a .pgpass file, the connection attempt will fail. This option can be
319
319
useful in batch jobs and scripts where no user is present to enter a
320
320
password.
321
321
322
- -W / --password::
322
+ *-W* / * --password* ::
323
323
Force pg_rman to prompt for a password before connecting to a database.
324
324
This option is never essential, since pg_rman will automatically
325
325
prompt for a password if the server demands password authentication.
@@ -329,13 +329,13 @@ Parameters to connect PostgreSQL server.
329
329
330
330
=== GLOBAL OPTIONS ===
331
331
332
- --help::
332
+ * --help* ::
333
333
Print help, then exit.
334
334
335
- -V / --version::
335
+ *-V* / * --version* ::
336
336
Print version information, then exit.
337
337
338
- -! / --debug::
338
+ *-!* / * --debug* ::
339
339
Show debug information.
340
340
341
341
== PARAMETERS ==
0 commit comments