summaryrefslogtreecommitdiff
path: root/obnam.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-12 09:59:00 +0000
committerLars Wirzenius <liw@liw.fi>2020-12-12 09:59:00 +0000
commit8b3b65b9b6e5f126aaba088b43345d0a949a8333 (patch)
tree1ae24923cc950aedb77772f167045656c2f9249a /obnam.md
parent57b85f1d11c8972cd056a339c29e28ab3b91137c (diff)
parent146a5fe13cba442afca954733bafd854f4448928 (diff)
downloadobnam2-8b3b65b9b6e5f126aaba088b43345d0a949a8333.tar.gz
Merge branch 'symlinks' into 'main'
feat: back up and restore symlinks See merge request larswirzenius/obnam!37
Diffstat (limited to 'obnam.md')
-rw-r--r--obnam.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/obnam.md b/obnam.md
index 9b98dae..5e86da2 100644
--- a/obnam.md
+++ b/obnam.md
@@ -569,6 +569,24 @@ given a manifest of the directory live restored in rest in rest.yaml
then files live.yaml and rest.yaml match
~~~
+### Symbolic links
+
+This scenario verifies that symbolic links are restored correctly.
+
+~~~scenario
+given an installed obnam
+and a running chunk server
+and a client config based on metadata.yaml
+and a file live/data.dat containing some random data
+and symbolink link live/link that points at data.dat
+and a manifest of the directory live in live.yaml
+when I run obnam backup metadata.yaml
+then backup generation is GEN
+when I invoke obnam restore metadata.yaml <GEN> rest
+given a manifest of the directory live restored in rest in rest.yaml
+then files live.yaml and rest.yaml match
+~~~
+