summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-25 18:44:57 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-25 18:44:57 +0000
commit99183871095a7cd0b1b588ec27522d0b27aa1723 (patch)
tree6214a6ac214891bc7a5123c04d2c5aa8b9f9eb65 /yarns/0030-basics.yarn
parent45cfbb602d1a5d56e6d701df4786c41c1398586a (diff)
downloadobnam-99183871095a7cd0b1b588ec27522d0b27aa1723.tar.gz
Convert two-roots to a yarn
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn16
1 files changed, 16 insertions, 0 deletions
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
-------------------------------------------