Add waiting message during backup

This commit is contained in:
Joshua Boniface 2023-10-17 12:14:02 -04:00
parent a5d0f219e4
commit fd2331faa6
1 changed files with 6 additions and 0 deletions

View File

@ -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
)