mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
21 lines
619 B
Markdown
21 lines
619 B
Markdown
# Thoughts on Repository Format 6
|
|
|
|
# Info Format
|
|
|
|
- Info format will be `JSON`. Something like (but without whitespace):
|
|
|
|
```
|
|
[
|
|
{"pgbackrest":{"format":6,"version":<pgbackrest version>,"repo-id":<base32 * 16>,id:<base32 * 16>}},
|
|
{"content":...},
|
|
{"checksum":<sha(1/256)hash>}
|
|
]
|
|
```
|
|
|
|
## Manifest
|
|
|
|
- Save **all** options instead of the piecemeal saves that are done now. These options are for informational purposes only so it would be fine to save them in a KeyValue or JSON blob.
|
|
|
|
- Store default sections before file/link/path sections to avoid two passes on load.
|
|
- Format backup labels using gmtime().
|