From 1e31f5202f5905355b844b8363fc0a5d46510815 Mon Sep 17 00:00:00 2001 From: Jan Niggemann Date: Thu, 21 Sep 2017 22:36:33 +0200 Subject: [PATCH] manual: Add info on special items Add info about handling of symlinks and bind-mounts. Closes: #1014 --- doc/manual.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/manual.rst b/doc/manual.rst index cfbdf3a66..d4877514a 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -564,6 +564,16 @@ args: $ restic -r /tmp/backup backup --files-from /tmp/files_to_backup /tmp/some_additional_file + +Backing up special items +~~~~~~~~~~~~~~~~~~~~~~~~ + +**Symlinks** are archieved as symlinks, ``restic``does not follow them. +When you restore, you get the same symlink again, with the same link target +and the same timestamps. + +If there is a **bind-mount** below a directory that is to be saved, restic descends into it. + Reading data from stdin ~~~~~~~~~~~~~~~~~~~~~~~