Skip to content

Restic restore include-file/exclude-file switches #4781

@akrabu

Description

@akrabu

Output of restic version

restic 0.16.4 compiled with go1.21.6 on darwin/amd64

What should restic do differently? Which functionality do you think we should add?

It would be helpful if the include-file, --iinclude-file, --exclude-file, and --iexclude-file switches existed for the "restore" function.

What are you trying to do? What problem would this solve?

I recently needed to restore a bunch of different files that got deleted. About 1600 of them, in random places. When I did "restic diff" I could easily get a list of all the files that were deleted - but I don't have an easy way to feed that into Restic to restore just those files.

My options are to restore a large swath of files to get a few, or to run restic restore on each file individually - which seems impractical with that many files.

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

Restic rules! ✌️

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