diff --git a/doc/FORMAT.md b/doc/FORMAT.md new file mode 100644 index 000000000..88abcd8e4 --- /dev/null +++ b/doc/FORMAT.md @@ -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":,"repo-id":,id:}}, + {"content":...}, + {"checksum":} +] +``` + +## 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.