From fd2331faa6e0c2aa2c981a6a2f8b5c7fb7995138 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 17 Oct 2023 12:14:02 -0400 Subject: [PATCH] Add waiting message during backup --- client-cli/pvc/cli/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client-cli/pvc/cli/cli.py b/client-cli/pvc/cli/cli.py index 68fbf12f..b946e2ae 100644 --- a/client-cli/pvc/cli/cli.py +++ b/client-cli/pvc/cli/cli.py @@ -1627,6 +1627,12 @@ def cli_vm_backup(domain, target_path, incremental_parent, retain_snapshots): Full backup volume images are sparse-allocated, however it is recommended for safety to consider their maximum allocated size when allocated space for the TARGET_PATH. Incremental volume images are generally small but are dependent entirely on the rate of data change in each volume. """ + echo( + CLI_CONFIG, + f"Backing up VM {domain}... ", + newline=False, + ) + echo(CLI_CONFIG, "") retcode, retmsg = pvc.lib.vm.vm_backup( CLI_CONFIG, domain, target_path, incremental_parent, retain_snapshots )