1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/doc/FORMAT.md
2019-09-23 19:26:24 -04:00

20 lines
580 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.