diff --git a/doc/manual.rst b/doc/manual.rst index 9630240b2..079457f13 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -663,6 +663,17 @@ backup for a specific host, path or both. enter password for repository: restoring to /tmp/restore-art +Use ``--exclude`` and ``--include`` to restrict the restore to a subset of +files in the snapshot. For example, to restore a single file: + +.. code-block:: console + + $ restic -r /tmp/backup restore 79766175 --target /tmp/restore-work --include /work/foo + enter password for repository: + restoring to /tmp/restore-work + +This will restore the file ``foo`` to ``/tmp/restore-work/work/foo``. + Manage repository keys ----------------------