From 436739598d8a30acdcd74a1ac24e4783ce8110cf Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 25 Jan 2014 18:25:33 +0000 Subject: Convert no-roots-from-old-gens into yarn --- yarns/0030-basics.yarn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'yarns/0030-basics.yarn') diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn index 5d563f0b..92304a50 100644 --- a/yarns/0030-basics.yarn +++ b/yarns/0030-basics.yarn @@ -136,3 +136,18 @@ directory `L`. WHEN user U backs up directory L to repository R AND user U restores their latest generation in repository R into X THEN L, restored to X, matches manifest M + +Changing backup roots +--------------------- + +When we change the backup roots, i.e., the directories we want backed +up, we do not want the any dropped backup roots to be included in the +new backup. + + SCENARIO replace backup root with new one + GIVEN 1k of new data in directory L1 + AND 1k of new data in directory L2 + WHEN user U backs up directory L1 to repository R + AND user U backs up directory L2 to repository R + AND user U lists latest generation in repository R into F + THEN nothing in F matches L1 -- cgit v1.2.1