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

Commitf441157

Browse files
committed
Fix doc
1 parentecb5492 commitf441157

File tree

1 file changed

+44
-41
lines changed

1 file changed

+44
-41
lines changed

‎doc/pg_arman.md

Lines changed: 44 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ It proposes the following features:
3737
pg_arman supports the following commands. See also**OPTIONS** for more
3838
details.
3939

40-
**init**:
40+
**init**:
4141
Initialize a backup catalog.
4242

43-
**backup**:
43+
**backup**:
4444
Take an online backup.
4545

46-
**restore**:
46+
**restore**:
4747
Perform restore.
4848

49-
**show**:
49+
**show**:
5050
Show backup history. The timeline option shows timeline of the backup
5151
and the parent's timeline for each backup.
5252

53-
**validate**:
53+
**validate**:
5454
Validate backup files.
5555

56-
**delete**:
56+
**delete**:
5757
Delete backup files.
5858

5959
###INITIALIZATION
@@ -202,38 +202,38 @@ details.
202202
As a general rule, paths for data location need to be specified as
203203
absolute paths; relative paths are not allowed.
204204

205-
**-D***PATH* /**--pgdata**=*PATH*:
205+
**-D** PATH /**--pgdata**=*PATH*:
206206
The absolute path of database cluster. Required on backup and
207207
restore.
208208

209-
**-A***PATH* /**--arclog-path**=*PATH*:
209+
**-A** PATH /**--arclog-path**=*PATH*:
210210
The absolute path of archive WAL directory. Required for restore
211211
and show command.
212212

213-
*-B*_PATH_ /*--backup-path*=_PATH_::
213+
**-B** PATH /**--backup-path**=*PATH*:
214214
The absolute path of backup catalog. This option is mandatory.
215215

216-
*-c* /*--check*::
216+
**-c** /**--check**:
217217
If specifed, pg_arman doesn't perform actual jobs but only checks
218218
parameters and required resources. The option is typically used with
219219
--verbose option to verify the operation.
220220

221-
=== BACKUP OPTIONS ===
221+
###BACKUP OPTIONS
222222

223-
*-b*_BACKUPMODE_ /*--backup-mode*=_BACKUPMODE_::
223+
**-b** BACKUPMODE /**--backup-mode**=BACKUPMODE:
224224
Specify backup target files. Available options are: "full",
225225
"page".
226226

227-
*-C* /*--smooth-checkpoint*::
227+
**-C** /**--smooth-checkpoint**:
228228
Checkpoint is performed on every backups. If the option is specified,
229229
do smooth checkpoint then. See also the second argument for
230230
pg_start_backup().
231231

232-
*--validate*::
232+
**--validate**:
233233
Validate a backup just after taking it. Other backups taken
234234
previously are ignored.
235235

236-
*--keep-data-generations*=_NUMBER_ /*--keep-data-days*=_DAYS_::
236+
**--keep-data-generations**=NUMBER /**--keep-data-days**=DAYS:
237237
Specify how long backuped data files will be kept.
238238
--keep-data-generations means number of backup generations.
239239
--keep-data-days means days to be kept.
@@ -312,27 +312,28 @@ Parameters to connect PostgreSQL server.
312312

313313
Some of parameters can be specified as command line arguments, environment
314314
variables or in configuration file as follows:
315-
316-
ShortLongEnvFile
317-
-h--hostPGHOSTNo
318-
-p--portPGPORTNo
319-
-d--dbnamePGDATABASENo
320-
-U--usernamePGUSERNo
321-
PGPASSWORDNo
322-
-w--passwordNo
323-
-W--no-passwordNo
324-
-D--pgdataPGDATAYes
325-
-B--backup-pathBACKUP_PATHYes
326-
-A--arclog-pathARCLOG_PATHYes
327-
-b--backup-modeBACKUP_MODEYes
328-
-C--smooth-checkpointSMOOTH_CHECKPOINTYes
329-
--validate VALIDATEYes
330-
--keep-data-generationsKEEP_DATA_GENERATIONSYes
331-
--keep-data-daysKEEP_DATA_DAYSYes
332-
--recovery-target-timeline RECOVERY_TARGET_TIMELINE Yes
333-
--recovery-target-xidRECOVERY_TARGET_XIDYes
334-
--recovery-target-timeRECOVERY_TARGET_TIMEYes
335-
--recovery-target-inclusive RECOVERY_TARGET_INCLUSIVE Yes
315+
```
316+
ShortLongEnvFile
317+
-h--hostPGHOSTNo
318+
-p--portPGPORTNo
319+
-d--dbnamePGDATABASENo
320+
-U--usernamePGUSERNo
321+
PGPASSWORDNo
322+
-w--passwordNo
323+
-W--no-passwordNo
324+
-D--pgdataPGDATAYes
325+
-B--backup-pathBACKUP_PATHYes
326+
-A--arclog-pathARCLOG_PATHYes
327+
-b--backup-modeBACKUP_MODEYes
328+
-C--smooth-checkpointSMOOTH_CHECKPOINTYes
329+
--validate VALIDATEYes
330+
--keep-data-generationsKEEP_DATA_GENERATIONSYes
331+
--keep-data-daysKEEP_DATA_DAYSYes
332+
--recovery-target-timeline RECOVERY_TARGET_TIMELINE Yes
333+
--recovery-target-xidRECOVERY_TARGET_XIDYes
334+
--recovery-target-timeRECOVERY_TARGET_TIMEYes
335+
--recovery-target-inclusive RECOVERY_TARGET_INCLUSIVE Yes
336+
```
336337

337338
Variable names in configuration file are the same as long names or names
338339
of environment variables. The password can not be specified in command
@@ -376,11 +377,13 @@ aimed at working with PostgreSQL 9.5 and newer versions.
376377
###EXIT CODE
377378
pg_arman returns exit codes for each error status.
378379

379-
CodeNameDescription
380-
0SUCCESSOperation succeeded.
381-
1ERRORGeneric error
382-
2FATALExit because of repeated errors
383-
3PANICUnknown critical condition
380+
```
381+
CodeNameDescription
382+
0SUCCESSOperation succeeded.
383+
1ERRORGeneric error
384+
2FATALExit because of repeated errors
385+
3PANICUnknown critical condition
386+
```
384387

385388
##AUTHOR ##
386389
pg_arman is a fork of pg_arman that was originally written by NTT, now

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp