diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 0a1d6b17e..6d55843be 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -174,7 +174,7 @@ even if restic is passed a relative path to save. Environment-variables in exclude files are expanded with `os.ExpandEnv `__, so ``/home/$USER/foo`` will be expanded to ``/home/bob/foo`` for the user ``bob``. -To get a literal dollar sign, write ``$$`` to the file. +To get a literal dollar sign, write ``$$`` to the file. Note that tilde (``~``) expansion does not work, please use the ``$HOME`` environment variable instead. Patterns need to match on complete path components. For example, the pattern ``foo``: