diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-01-25 18:44:57 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-01-25 18:44:57 +0000 |
commit | 99183871095a7cd0b1b588ec27522d0b27aa1723 (patch) | |
tree | 6214a6ac214891bc7a5123c04d2c5aa8b9f9eb65 /yarns/9000-implements.yarn | |
parent | 45cfbb602d1a5d56e6d701df4786c41c1398586a (diff) | |
download | obnam-99183871095a7cd0b1b588ec27522d0b27aa1723.tar.gz |
Convert two-roots to a yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 5ac48997..1d005d77 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -166,6 +166,12 @@ addition to backing up, this makes a manifest of the data. IMPLEMENTS WHEN user (\S+) backs up directory (\S+) to repository (\S+) run_obnam "$MATCH_1" backup -r "$DATADIR/$MATCH_3" "$DATADIR/$MATCH_2" +We may also need to backup two directories at once. + + IMPLEMENTS WHEN user (\S+) backs up directories (\S+) and (\S+) to repository (\S+) + run_obnam "$MATCH_1" backup -r "$DATADIR/$MATCH_4" \ + "$DATADIR/$MATCH_2" "$DATADIR/$MATCH_3" + We can also just pretend to make a backup. IMPLEMENTS WHEN user (\S+) pretends to back up directory (\S+) to repository (\S+) |