Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial restore? #31

Open
jinks opened this issue Oct 10, 2017 · 2 comments
Open

Partial restore? #31

jinks opened this issue Oct 10, 2017 · 2 comments

Comments

@jinks
Copy link

jinks commented Oct 10, 2017

I'm using rdup together with rdedup, so instead of having a unpacked file tree "at the other end", I have full rdup-format dumps.

If I have such a dump in rdup format, is there any way to only restore select files from that dump instead of recreating the whole structure? Looking through the man pages, neither rdup-tr nor rdup-up seem to offer a way to filter out only specific files.

@dpc
Copy link
Collaborator

dpc commented Oct 10, 2017

I think you could convert the restored data (that is in rdup format) with rdup-tr to be tar, and then use tar flags to restore only parts of it.

Relevant example from man rdup-tr:

       Or even pack and unpack it on the fly

               rdup -P gzip -P "mcrypt -fKEY -c" /dev/null /home | rdup-tr -Otar | \
               ssh user@remotehost tar xvCf /tmp -

So you want:

rdedup ... load | rdup-tr -Otar | tar x...

@jinks
Copy link
Author

jinks commented Oct 11, 2017

Huh... I would never have thought of that, interesting "workaround".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants