Skip to content

Restore only changed files #2662

@dmotte

Description

@dmotte

Output of restic version

restic 0.9.5 compiled with go1.12.4 on windows/amd64

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

I know that this isn't a synchronization software, but it would be veeeery nice to implement a restore function which restores only changed files in a directory and deletes files which are present in that directory but not in the snapshot i am restoring. To better clarify this, think of it like a sort of git checkout

What are you trying to do?

Suppose that I have a 500GB folder localdata on my pc and a dir named myrepo on an SFTP server, in which i backup localdata. I would like to work on localdata in an agile mode, making frequent changes to the directory internal structure, moving files, renaming, deleting some useless content, ... and so on. Every time i feel it is necessary, i execute restic backup -v localdata -r sftp:user@host:myrepo

Suddenly, a week later i wake up and i find out that some of my important files in localdata are gone, because i deleted them accidentally or maybe my sister deleted them because she doesn't know how to properly use a computer... I'd like to fully restore a previous version of the folder from myrepo without the need of redownloading the entire 500GB data from the server. That's what i usually do with git checkout <old_commit_id> except that i don't have 500GB git repos 😅

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

Yeah, this software solved me a lot of problems. I use it daily for my main backups. I also appreciate this wonderful idea of asking users some positive feedback here in issues.

Restic is awesome! Keep up the good work 😉

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions