From 228a97054069eb74101c64ee78b49b35a9dc5578 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 17 Jun 2018 20:49:11 +0200 Subject: [PATCH] doc: Add paragraph about finding path in file --- doc/050_restore.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/050_restore.rst b/doc/050_restore.rst index 35e27e730..95499045b 100644 --- a/doc/050_restore.rst +++ b/doc/050_restore.rst @@ -48,6 +48,10 @@ files in the snapshot. For example, to restore a single file: This will restore the file ``foo`` to ``/tmp/restore-work/work/foo``. +You can use the command ``restic ls latest`` or ``restic find foo`` to find the +path to the file within the snapshot. This pass you can then pass to +`--include` in verbatim to only restore the single file or directory. + Restore using mount ===================