Skip to content

Instantly share code, notes, and snippets.

@donat-b
Created August 17, 2017 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donat-b/5e518d87810158fcfbcdfc13ba5810a3 to your computer and use it in GitHub Desktop.
Save donat-b/5e518d87810158fcfbcdfc13ba5810a3 to your computer and use it in GitHub Desktop.
root@hostname:/tmp# mkdir root1
root@hostname:/tmp# mkdir root2
root@hostname:/tmp# mkdir root1/a
root@hostname:/tmp# mkdir root2/a
root@hostname:/tmp# touch root1/a/o
root@hostname:/tmp# touch root1/a/e
root@hostname:/tmp# touch root2/a/u
root@hostname:/tmp# touch root2/a/i
root@hostname:/tmp# restic backup root1/a root2/a
scan [/tmp/root1/a /tmp/root2/a]
scanned 2 directories, 4 files in 0:00
[0:00] 0B/s 0B / 0B 6 / 6 items 0 errors ETA 0:00
duration: 0:00, 0.00MiB/s
snapshot 03d61dc6 saved
root@hostname:/tmp# restic ls 03d61dc6
snapshot 03d61dc6 of [/tmp/root1/a /tmp/root2/a] at 2017-08-17 11:48:17.785645547 +0300 +03):
/a
/a/e
/a/o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment