Skip to content

restore: Add --warmup option#3303

Closed
aawsome wants to merge 3 commits intorestic:masterfrom
aawsome:restore-dryrun
Closed

restore: Add --warmup option#3303
aawsome wants to merge 3 commits intorestic:masterfrom
aawsome:restore-dryrun

Conversation

@aawsome
Copy link
Copy Markdown
Contributor

@aawsome aawsome commented Feb 25, 2021

What does this PR change? What problem does it solve?

Adds a dry run option to the restore command.
When called with --dry-run, restore only prints out which data pack files it needs to restore the data.

This allows to do some kind of warming-up for the data which will be needed for the actual restore run.

The two last commits extend the warm-up possibilities from #2881 to restore. I can also extract those to a separate PR, if wished (the discussion whether we should add the --warm-up option is not finished yet)

Was the change discussed in an issue or in the forum before?

closes #2796
see also #3202

Checklist

  • I have read the Contribution Guidelines
  • I have enabled maintainer edits for this PR
  • I have added tests for all changes in this PR
  • I have added documentation for the changes (in the manual)
  • There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
  • I have run gofmt on the code in all commits
  • All commit messages are formatted in the same style as the other commits in the repo
  • I'm done, this Pull Request is ready for review

@aawsome
Copy link
Copy Markdown
Contributor Author

aawsome commented Aug 13, 2022

see also rustic-rs/rustic#94

@aawsome aawsome closed this Feb 24, 2024
@aawsome aawsome deleted the restore-dryrun branch February 24, 2024 22:06
@MichaelEischer MichaelEischer changed the title restore: Add --dry-run option restore: Add --warmup option May 31, 2024
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

Successfully merging this pull request may close these issues.

restore --warmup option to enable cold storage based repositories

1 participant