src/bin/proxmox-backup-client.rs: print backup duration
This commit is contained in:
parent
d57474e055
commit
3ec3ec3f9a
|
@ -339,6 +339,9 @@ fn create_backup(
|
||||||
}
|
}
|
||||||
|
|
||||||
let end_time = Local.timestamp(Local::now().timestamp(), 0);
|
let end_time = Local.timestamp(Local::now().timestamp(), 0);
|
||||||
|
let elapsed = end_time.signed_duration_since(backup_time);
|
||||||
|
println!("Duration: {}", elapsed);
|
||||||
|
|
||||||
println!("End Time: {}", end_time.to_rfc3339());
|
println!("End Time: {}", end_time.to_rfc3339());
|
||||||
|
|
||||||
Ok(Value::Null)
|
Ok(Value::Null)
|
||||||
|
|
Loading…
Reference in New Issue