summaryrefslogtreecommitdiff
path: root/yarns/0030-basics.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-25 19:13:48 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-25 19:13:48 +0000
commit0191ae6f8a4dae32583a3e506d6c00e5c13d153e (patch)
tree192524ae46b3787cf553869cd434a87443510480 /yarns/0030-basics.yarn
parent99183871095a7cd0b1b588ec27522d0b27aa1723 (diff)
downloadobnam-0191ae6f8a4dae32583a3e506d6c00e5c13d153e.tar.gz
Convert remove-checkpoints into a yarn
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r--yarns/0030-basics.yarn12
1 files changed, 12 insertions, 0 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn
index a0294484..e7492297 100644
--- a/yarns/0030-basics.yarn
+++ b/yarns/0030-basics.yarn
@@ -102,6 +102,18 @@ assume that if we can backup two, then it'll all work well.
THEN L1, restored to X, matches manifest M1
THEN L2, restored to X, matches manifest M2
+Checkpoint generations
+----------------------
+
+Obnam is meant to remove checkpoint generations it created during a
+backup, if the backup finishes successfully.
+
+ SCENARIO checkpoint generations are removed
+ GIVEN 100kB of new data in directory L
+ AND user U sets configuration checkpoint to 1k
+ WHEN user U backs up directory L to repository R
+ THEN user U sees no checkpoint generations in repository R
+
Pretend backing up: the `--pretend` setting
-------------------------------------------