Skip to content

"restic dump" command fails on 0.9.5; succeeds with 0.9.4 #2357

@cdhowie

Description

@cdhowie

Output of restic version

restic 0.9.5 compiled with go1.12.4 on linux/amd64

How did you run restic exactly?

restic dump $snapshot /usr/local/apache2/$filepath

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

Local disk storage.

Expected behavior

Restic should dump the file to standard output.

Actual behavior

Restic fails:

repository b01bdece opened successfully, password is correct
cannot dump file: path "/local" not found in snapshot

Note that the path in the error does not match the path I've asked to be dumped. The path begins with /usr/local, not /local. On a hunch I tried /usr/usr/local/apache2/$filepath and this also failed, but with:

repository b01bdece opened successfully, password is correct
cannot dump file: path "/usr" not found in snapshot

Steps to reproduce the behavior

I'm not sure what condition triggers the failure, but it's consistently reproducible on this 200+GB repo.

Do you have any idea what may have caused this?

The command works with restic 0.9.4, so I assume that some change in 0.9.5 causes this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions