From dc34b6c94c1a36a2d11c7ec341f32be66ed86788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 15 Jan 2014 05:52:46 +0100 Subject: [PATCH] qvm-backup: automatically start destination VM (#767) --- qvm-tools/qvm-backup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qvm-tools/qvm-backup b/qvm-tools/qvm-backup index 88662862..730a4fe8 100755 --- a/qvm-tools/qvm-backup +++ b/qvm-tools/qvm-backup @@ -128,6 +128,9 @@ def main(): "on the local filesystem (needs 1GB for temporary files)!" exit(1) + if not appvm.is_running(): + appvm.start(verbose=True) + prompt = raw_input ("Do you want to proceed? [y/N] ") if not (prompt == "y" or prompt == "Y"): exit (0)