Skip to content

restic backup skips Windows junctions silently #3674

@cowwoc

Description

@cowwoc

Output of restic version

restic 0.12.1 compiled with go1.16.6 on windows/amd64

How did you run restic exactly?

restic backup --use-fs-snapshot -r b2:my-repo --files-from="include.txt" --iexclude-file="exclude.txt"

where include.txt contains:

c:/test

and exclude.txt is empty, and c:\test contains windows junctions created using mklink /d source target.

What backend/server/service did you use to store the repository?

b2

Expected behavior

restic should back up all directories recursively

Actual behavior

restic backs up all normal sub-directories and silently skips over any windows junctions.

Steps to reproduce the behavior

Back up any directory containing windows junctions created using mklink /d source target.

Do you have any idea what may have caused this?

No

Do you have an idea how to solve the issue?

No

Did restic help you today? Did it make you happy in any way?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions