From 99183871095a7cd0b1b588ec27522d0b27aa1723 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 25 Jan 2014 18:44:57 +0000 Subject: Convert two-roots to a yarn --- yarns/0030-basics.yarn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'yarns/0030-basics.yarn') diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn index 4a89d64e..a0294484 100644 --- a/yarns/0030-basics.yarn +++ b/yarns/0030-basics.yarn @@ -86,6 +86,22 @@ duplication. AND user U restores their latest generation in repository R into X THEN L, restored to X, matches manifest M +Backup to roots at once +----------------------- + +Often it's useful to backup more than one location at once. We'll +assume that if we can backup two, then it'll all work well. + + SCENARIO backup two roots + GIVEN directory L1 with interesting filesystem objects + AND directory L2 with interesting filesystem objects + AND a manifest of directory L1 in M1 + AND a manifest of directory L2 in M2 + WHEN user U backs up directories L1 and L2 to repository R + AND user U restores their latest generation in repository R into X + THEN L1, restored to X, matches manifest M1 + THEN L2, restored to X, matches manifest M2 + Pretend backing up: the `--pretend` setting ------------------------------------------- -- cgit v1.2.1