Open
Conversation
Owner
|
This functionality is already there, but I forgot to document it. If you put * for the domain, it will restore everything. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks to @dunhamsteve for this tool, it helped me solve my problem today. But when I had a little trouble using it I got this PR after trying to solve it.
Since I don't understand the iOS backup mechanism, when I need to
irestore restore xxx out, I don't really know what domain name I want to work with. For that reason, when I try to useirestore listto find my target, I unfortunately get a long list, which makes it difficult for me.So I'm going to restore all the domains and identify my target by their contents. So I tried the
xargscommand, however, my backup was an encrypted backup so I had to repeatedly enter the password many times, andirestoreconsumed so much time in the frequent decryption process that I finally gave up and tried to fix its source code.Fortunately, irestore's source code is very clear and easy to read, and I quickly implemented a
restore-allcommand, which successfully freed all the backup files. I thought someone else might have a similar problem, so I thought I'd submit this PR to help others.