summaryrefslogtreecommitdiff
path: root/obnam.md
diff options
context:
space:
mode:
Diffstat (limited to 'obnam.md')
-rw-r--r--obnam.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/obnam.md b/obnam.md
index cad3792..240dcf0 100644
--- a/obnam.md
+++ b/obnam.md
@@ -1283,6 +1283,28 @@ when I invoke obnam --config smoke.yaml get-chunk <GEN>
then command fails
~~~
+## Irregular files
+
+This scenario verifies that Obnam backs up and restores files that
+aren't regular files, directories, or symbolic links. Specifically,
+Unix domain sockets and named pipes (FIFOs). However, block and
+character device nodes are not tested, as that would require running
+the test suite with `root` permissions and that would be awkward.
+
+~~~scenario
+given an installed obnam
+and a running chunk server
+and a client config based on smoke.yaml
+and a file live/data.dat containing some random data
+and a Unix socket live/socket
+and a named pipe live/pipe
+and a manifest of the directory live in live.yaml
+when I run obnam --config smoke.yaml backup
+when I invoke obnam --config smoke.yaml restore latest rest
+given a manifest of the directory live restored in rest in rest.yaml
+then files live.yaml and rest.yaml match
+~~~
+
## Tricky filenames
Obnam needs to handle all filenames the underlying operating and file