Fwd: virsh backup-begin problem

Andrey Fokin lazzyfox at gmail.com
Thu Jan 21 12:42:21 UTC 2021


Ok. Sorry.

On Thu, Jan 21, 2021 at 3:38 PM Peter Krempa <pkrempa at redhat.com> wrote:

> On Thu, Jan 21, 2021 at 15:16:44 +0300, Andrey Fokin wrote:
> > Yes, there is an error message.
> > sudo virsh backup-begin lubuntu2 ./backup.xml
> > error: XML document failed to validate against schema: Unable to validate
> > doc against /usr/share/libvirt/schemas/domainbackup.rng
> > Element domainbackup has extra content: disk
>
> As I've noted in the exact mail you are replying to, I will not offer
> any further assistance unless you post the question also on
> libvirt-users at redhat.com list as you did with your original question.
> This is to archive any discussions for future reference.
>
> > On Thu, Jan 21, 2021 at 2:40 PM Peter Krempa <pkrempa at redhat.com> wrote:
> >
> > > On Thu, Jan 21, 2021 at 12:34:43 +0100, Peter Krempa wrote:
> > > > On Thu, Jan 21, 2021 at 14:31:18 +0300, Andrey Fokin wrote:
> > > > > Peter, thanks. I understood you message about additional
> configuration
> > > in
> > > > > domen settings. It's really interesting, and I'll going to test it
> as
> > > well.
> > > > > But could you please advise how change backup-begin command XML
> > > parameters
> > > > > file to start full backup process? What is wrong in my case and
> how to
> > > fix
> > > > > it? My config below.
> > > > > Thanks a lot!
> > > > > <domainbackup>
> > > > >     <disk name='/var/lib/libvirt/images/lubuntu2.qcow2'
> type='file'>
> > > > >     <target file='$PWD/scratch1.img'/>
> > > > >     <driver type='raw'/>
> > > > >     </disk>
> > > > >     <disk name='/var/lib/libvirt/images/lubuntu2-1.qcow2'
> type='file'>
> > > > >       <target file='$PWD/scratch2.img'/>
> > > > >       <driver type='raw'/>
> > > > >     </disk>
> > > > > </domainbackup>
> > > >
> > > > Could you please describe what the problem is? You are getting an
> error?
> > > > If so why didn't you paste it?
> > > >
> > > > I'm not going to setup a backup just to try your configuration.
> Please
> > > > provide all information you have and describe the problem as best as
> > > > possible.
>
> Here:
>
> > >
> > > Oh, and don't drop libvirt-users from the CC-list! That way my advice
> > > would not be recorded in the mailing list archives and browsable by
> > > others with a possibly same problem.
> > >
> > > Please Re-post your query to the list AND include any information you
> > > have to get a reply from me.
> > >
> > >
> >
> > --
> > BRG,
> >       Andrey
>
>

-- 
BRG,
      Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210121/55052bf0/attachment.htm>


More information about the libvirt-users mailing list