Skip to content

Check and verify a specific snapshot #3326

@akrabu

Description

@akrabu

Output of restic version

restic 0.12.0 compiled with go1.15.7 on darwin/amd64

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

restic check --read-data --snapshot 9170996b
^ Would verify all data referenced by a specific snapshot

restic check --read-data-subset --snapshot 9a70996b
^ Would verify just the data added in that particular snapshot

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

It would be handy for testing purposes to ensure that a specific snapshot was readable. For instance, if you had a connection hiccup in the middle of a specific backup and knew it, you could do a --read-data-subset --snapshot 1234abcd and verify that the blobs uploaded just during that snapshot were intact. Or if you were planning a restore, you could verify the entire snapshot - instead of having to do a more costly and lengthy full read, to ensure everything was intact first.

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

Always! <3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions