summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn14
1 files changed, 14 insertions, 0 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn
index e7492297..a2ae12fa 100644
--- a/yarns/0030-basics.yarn
+++ b/yarns/0030-basics.yarn
@@ -114,6 +114,20 @@ backup, if the backup finishes successfully.
WHEN user U backs up directory L to repository R
THEN user U sees no checkpoint generations in repository R
+Restore a single file
+---------------------
+
+We need to be able to restore only a single file.
+
+ SCENARIO restore a single file
+ GIVEN a file F in L, with data
+ AND a manifest of directory L in M
+ AND 100kB of new data in directory L
+ AND manifest M has Mtime for the first entry set from L
+ WHEN user U backs up directory L to repository R
+ AND user U restores file L/F to X from their latest generation in repository R
+ THEN L, restored to X, matches manifest M
+
Pretend backing up: the `--pretend` setting
-------------------------------------------