tape: add --scan option for catalog restore

This commit is contained in:
Dietmar Maurer
2021-03-25 13:08:34 +01:00
parent 4830de408b
commit c553407e98
2 changed files with 20 additions and 4 deletions

View File

@ -911,6 +911,11 @@ async fn restore(mut param: Value) -> Result<(), Error> {
type: bool,
optional: true,
},
scan: {
description: "Re-read the whole tape to reconstruct the catalog instead of restoring saved versions.",
type: bool,
optional: true,
},
verbose: {
description: "Verbose mode - log all found chunks.",
type: bool,