@@ -10,14 +10,12 @@ pg_arman [ OPTIONS ]
10
10
{ init |
11
11
backup |
12
12
restore |
13
- show [ DATE | timeline ] |
14
- validate [ DATE ] |
15
- delete DATE }
13
+ show [ ID ] |
14
+ validate [ ID ] |
15
+ delete ID }
16
16
```
17
17
18
- DATE is the start time of the target backup in ISO-format:
19
- (YYYY-MM-DD HH:MI: SS ). Prefix match is used to compare DATE and backup
20
- files.
18
+ ID is the base36 id from start time of the target backup.
21
19
22
20
## DESCRIPTION
23
21
@@ -139,12 +137,12 @@ $ pg_ctl start
139
137
### SHOW A BACKUP
140
138
```
141
139
$ pg_arman show
142
- ===================================================================================
143
- Start Mode Current TLI Parent TLI Time Data Backup Status
144
- ===================================================================================
145
- 2013-12-25 03:02:31 PAGE 1 0 0m 203kB 67MB DONE
146
- 2013-12-25 03:02:31 PAGE 1 0 0m 0B 0B ERROR
147
- 2013-12-25 03:02:25 FULL 1 0 0m 33MB 364MB OK
140
+ ==========================================================================================
141
+ ID Recovery time Mode Current TLI Parent TLI Time Data Backup Status
142
+ ==========================================================================================
143
+ OFX1LH 2013-12-25 03:02:31 PAGE 1 0 0m 203kB 67MB DONE
144
+ OFX1KL 2013-12-25 03:02:31 PAGE 1 0 0m 0B 0B ERROR
145
+ OFX1KA 2013-12-25 03:02:25 FULL 1 0 0m 33MB 364MB OK
148
146
```
149
147
The fields are:
150
148
@@ -165,10 +163,10 @@ The fields are:
165
163
* ERROR : backup is unavailable because some errors occur during backup.
166
164
* CORRUPT : backup is unavailable because it is broken.
167
165
168
- When a date is specified, more details about a backup is retrieved:
166
+ When a ID is specified, more details about a backup is retrieved:
169
167
170
168
```
171
- $ pg_arman show '2011-11-27 19:15:45'
169
+ $ pg_arman show OFX1LH
172
170
# configuration
173
171
BACKUP_MODE=FULL
174
172
# result
@@ -189,7 +187,7 @@ You can check the "RECOVERY_XID" and "RECOVERY_TIME" which are used for
189
187
restore option "--recovery-target-xid", "--recovery-target-time".
190
188
191
189
The delete command deletes backup files not required by recovery after
192
- the specified date . This command also cleans up in the WAL archive the
190
+ the specified ID . This command also cleans up in the WAL archive the
193
191
WAL segments that are no longer needed to restore from the remaining
194
192
backups.
195
193
0 commit comments