Skip to content

add --target flag to dump command #4678

@27149chen

Description

@27149chen

Output of restic version

restic 0.16.2 (v0.16.2-63-gb72de5a88) compiled with go1.21.0 on linux/amd64

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

add --target flag to dump command just like restore

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

I want to backup&restore a block device, I can backup it by

restic backup --stdin-from-command -- dd if=/dev/sda

now I want to restore it by

restic dump {snapshotID} stdin --target /dev/sdb

currently I can restore it in this way:

restic dump {snapshotID} stdin > /dev/sdb

But it is not convenient in my env

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

we built a wonderful solution base on Resic, it really help

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