backup: Implement virsh support for backup
commitc0724eec0d7110f7680ff0295900fa2a4136f618
authorEric Blake <eblake@redhat.com>
Thu, 7 Mar 2019 04:22:02 +0000 (6 22:22 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 22 Aug 2019 00:45:01 +0000 (21 19:45 -0500)
treea1f496fc668606a0a05fdc877d6193965c876173
parent1cd9f27f28860b10607df262b18baaea3fbadcad
backup: Implement virsh support for backup

Introduce a few more new virsh commands for performing backup jobs.

At this time, I did not opt for a convenience command
'backup-begin-as' that cobbles together appropriate XML from the
user's command line arguments, but that may be a viable future
extension. Similarly, since backup is a potentially long-running
operation, it might be nice to add some sugar that automatically
handles waiting for the job to end, rather than making the user have
to poll or figure out virsh event to do the same.  Eventually, we
will also need a way to create a checkpoint atomically with an
external snapshot.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-domain.c
tools/virsh.pod