1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Thoughts on repository version 6.

This commit is contained in:
David Steele 2019-09-23 19:26:24 -04:00
parent 71349c89ae
commit 6af64df9b6

19
doc/FORMAT.md Normal file
View File

@ -0,0 +1,19 @@
# 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.