mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
restore: print detailed information at high verbosity
This commit is contained in:
parent
0b0025a361
commit
83fd9e1a93
@ -67,6 +67,7 @@ async fn allocate_and_collect(
|
||||
|
||||
let mut node_streamer = NodeStreamer::new(index.clone(), tree).await?;
|
||||
while let Some((path, node)) = node_streamer.try_next().await? {
|
||||
v3!("processing {:?}", path);
|
||||
match node.node_type() {
|
||||
NodeType::Dir => {
|
||||
if !opts.dry_run {
|
||||
@ -188,6 +189,7 @@ async fn restore_metadata(
|
||||
}
|
||||
|
||||
fn set_metadata(dest: &LocalBackend, path: &PathBuf, node: &Node, opts: &Opts) {
|
||||
v3!("processing {:?}", path);
|
||||
dest.create_special(path, node)
|
||||
.unwrap_or_else(|_| eprintln!("restore {:?}: creating special file failed.", path));
|
||||
if opts.numeric_id {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user