From 48139725676fcce89a70897546969623f2474693 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 21 Mar 2022 09:12:49 +0200 Subject: feat! store list of generations in a "client trust root" chunk Backups made with this version can't be restored with old clients, and vice version. Sponsored-by: author --- obnam.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'obnam.md') diff --git a/obnam.md b/obnam.md index 12ac087..da641a5 100644 --- a/obnam.md +++ b/obnam.md @@ -1538,14 +1538,15 @@ data. The backup uses a chunk size of one byte, and backs up a file with three bytes. This results in three chunks for the file data, plus one for the generation SQLite file (not split into chunks of one byte), -plus a chunk for the generation itself. A total of five chunks. +plus a chunk for the generation itself. Additionally, the "trust root" +chunk exists. A total of six chunks. ~~~scenario given a working Obnam system given a client config based on tiny-chunk-size.yaml given a file live/data.dat containing "abc" when I run obnam backup -then server has 5 chunks +then server has 6 chunks ~~~ ~~~{#tiny-chunk-size.yaml .file .yaml .numberLines} @@ -1846,10 +1847,10 @@ then exit code is 1 and stdout contains "live/CACHEDIR.TAG" when I run obnam list-files then exit code is 0 +~~~ then file live/CACHEDIR.TAG was backed up because it was new and stdout doesn't contain "live/data1.dat" and stdout doesn't contain "live/data2.dat" -~~~ ### Ignore CACHEDIR.TAGs if `exclude_cache_tag_directories` is disabled -- cgit v1.2.1