Displaying 20 results from an estimated 30000 matches similar to: "backup KVM qcow2 over btrfs or zfs"
2014 Nov 06
1
Re: backup KVM qcow2 over btrfs or zfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thank you a lot for your reply;
> You should really consider using libvirt live snapshots. With new
> enough libvirt and qemu, you can even get optimal behavior with no guest
> downtime. This topic comes up frequently on the list; for example, a
> quick search found this in the archives:
>
>
2014 Nov 06
0
Re: backup KVM qcow2 over btrfs or zfs
On 11/06/2014 03:45 PM, Francesco Morosinotto wrote:
> Hi everybody,
>
> I'm trying to implement in the non profit organization where I work a
> backup strategy for our VMs.
>
> At the moment I weekly backup the machine (on sunday nights) by stopping
> the vm, making a snapshot, exporting the xml descriptor file and syncing
> these files to a remote backup server.
2014 Dec 22
7
Using virsh blockcopy -- what's it supposed to accomplish?
I am experimenting with the blockcopy command, and after figuring out
how to integrate qemu-nbd, nbd-client and
dumpxml/undefine/blockcopy/define/et. al. I have one remaining question:
What's the point?
The "replication" disk file is not, from what I can ascertain, bootable.
I expect this operation to create a pristine copy of my source qcow2
file (at a given point in time)
2020 Jan 05
3
(no subject)
Dear all,
Please let me start by indicating that I am not from a technical
background, so please be gentle and patient with me.
I am trying to get a snapshot from my virtual machines (vm) and the
following
command works for all of them bar one:
# virsh snapshot-create-as --quiesce --no-metadata --domain myvm myvm-state
--diskspec vda,file=overlay.qcow2 --disk-only --atomic
The only exception is
2018 Sep 07
3
how "safe" is blockcommit ?
Hi,
currently i'm following https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit. I 'm playing around with it and it seems to be quite nice.
What i want is a daily consistent backup of my image file of the guest.
I have the idea of the following procedure:
- Shutdown the guest (i can live with a downtime of a few minutes, it will happen in the night).
And i think
2019 Nov 30
3
Converting LVM to qcow2
Hi!
I need to convert a KVM virtual machine from LVM to a qcow2 image, and wonder if this is the best way to do it (*1):
[$] qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2
If this is the best way to do this, will this keep the information on: /dev/vg_name/lv_name/ untouched?
Thanks, and please point me towards another mailing list if this it not right
2011 Sep 22
1
Hot cloning & P2V
Hi all,
I guess my question is stupid and has been asked a thousand times but i was
wondering if it's possible to do the following things:
- Cloning of a running virtual machine (hot copy)
- Migrate a physical server to a virtual one.
I googled a bit and am not able to find the answers.
Thanks.
Regards,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Oct 13
2
virsh can't support VM offline blockcommit
Hi everyone!
I use the libvirt(version: 1.2.2) and QEMU(version: 2.2.1) to test qemu snapshot features:
I tried virsh blockcommit when VM offline, the virsh blockcommit failed: the error messase as below:
error: Requested operation is not valid: domain is not running
when I start the VM, the virsh blockcommit work fine!
my question is:we need
2015 Nov 30
1
virsh uses internally qemu-img ?
Hi,
i read that virsh uses internally qemu-img (http://serverfault.com/questions/692435/qemu-img-snapshot-on-live-vm).
Is that true ? so snapshotting a running vm with virsh or qemu-img is the same ?
Bernd
--
Bernd Lentes
Systemadministration
institute of developmental genetics
Gebäude 35.34 - Raum 208
HelmholtzZentrum München
bernd.lentes@helmholtz-muenchen.de
phone: +49 (0)89 3187 1241
2015 Oct 19
1
Re: virsh can't support VM offline blockcommit
Hi Kashyap Chamarthy:
thank you very much for answer my question:
一: lead to VM filesystem becoming read-only
1: test case
it lead to VM filesystem becoming read-only test case as follows:
we want to snapshot for VM , to obtain VM incremental data,and use virsh blockcommit,qemu-img commit,qemu-img rebase to shorten snapshot chain.
Details are as follows(when VM running state, we perform the
2013 Nov 22
4
Fwd: [virt-devel] btrfs NOCOW for VM disk images
----- Forwarded Message -----
From: "Stefan Hajnoczi" <stefanha@redhat.com>
To: "Eric Sandeen" <sandeen@redhat.com>
Cc: virt-devel@redhat.com, "Kevin Wolf" <kwolf@redhat.com>
Sent: Friday, November 22, 2013 9:20:51 AM
Subject: [virt-devel] btrfs NOCOW for VM disk images
Hi,
In upstream QEMU we''re discussing patches that set the NOCOW flag
2018 Sep 10
1
Re: how "safe" is blockcommit ?
----- On Sep 7, 2018, at 9:26 PM, Eric Blake eblake@redhat.com wrote:
> On 09/07/2018 12:06 PM, Lentes, Bernd wrote:
>> Hi,
>>
>> currently i'm following
>> https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit. I 'm
>> playing around with it and it seems to be quite nice.
>> What i want is a daily consistent backup of my image file
2014 Oct 14
3
drive-backup command permission denied.. and need some clarification
Hi
* Trying to get drive-backup command, getting permission denied. :(
sudo virsh qemu-monitor-command --hmp my-instance --cmd
drive_backup drive-virtio-disk0 /tmp/foo.vda.img
Looks like apparmor issue. What can I modify to make this work ?
* Couple of other questions
drive-backup :
* The doc seems to claim that it gives a point in time copy
of
2015 Sep 11
2
Backup a VM (using live external snapshot and blockcommit)
Hi.
I'm following here a conversation that was initiated on Kashyap's
website [1].
We have a server we use as a host for virtual machines using KVM
(virt-manager used for VM creation) and we would like to setup VM
backups. Basically, we're thinking of a backup schedule like "keep 7
daily and 4 weekly backups". We'd rather not shutdown the VM every day
so live backups
2015 Sep 11
3
Re: Backup a VM (using live external snapshot and blockcommit)
Hi Eric.
Thank you so much for your quick and relieving answer.
Le 2015-09-11 17:05, Eric Blake a écrit :
> Yes, using active block-commit is the ideal way to perform a live backup.
Great.
> Yep, that about covers it. Note that the --quiesce step in snapshot
> creation requires qemu-guest-agent running in the guest, and that you
> trust interaction with your guest.
Yes, I think
2014 Oct 15
2
Re: drive-backup command permission denied.. and need some clarification
On Tue, Oct 14, 2014 at 02:08:41PM -0600, Eric Blake wrote:
> On 10/14/2014 11:52 AM, Jd wrote:
> > Hi
> >
> > * Trying to get drive-backup command, getting permission denied. :(
> >
> > sudo virsh qemu-monitor-command --hmp my-instance --cmd
> > drive_backup drive-virtio-disk0 /tmp/foo.vda.img
>
> Ouch. qemu-monitor-command is explicitly
2015 Dec 01
6
snapshot of running vm's
Hi,
i'd like to create snapshots of my running vm's. I have several hosts with
SLES11 SP4 64bit. I use libvirt 1.2.5-7.1 . VM's are Windows 7, SLES,
Ubuntu, Opensuse.
I use raw files for the vm's.
I try to orientate myself by
http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit .
The hosts are backuped every night by a network based backup solution
(Legato).
My
2014 May 23
2
Re: Live snapshots of a single block device
----- Original Message -----
> From: "Eric Blake" <eblake@redhat.com> To: "Andrew Martin"
> <amartin@xes-inc.com>, libvirt-users@redhat.com Sent: Thursday, May 22, 2014
> 5:44:54 PM Subject: Re: [libvirt-users] Live snapshots of a single block
> device
>
> On 05/22/2014 04:31 PM, Andrew Martin wrote:
> > Hello,
> >
>
> [Can you
2014 Oct 11
5
Re: KVM incremental backup using CBT
On Fri, Oct 10, 2014 at 07:32:06PM -0600, Eric Blake wrote:
> On 10/10/2014 11:37 AM, Jd wrote:
> > Hi
> > Looking in to implementing (CBT like) delta backup for KVM.
>
> Not quite sure what you mean by CBT.
>
> >
> > The following looks promising..(last paragraph)
> > http://wiki.qemu.org/Features/Snapshots2
> >
>
> Libvirt
2015 Dec 03
3
Re: snapshot of running vm's
> -----Oorspronkelijk bericht-----
> Van: Lentes, Bernd [mailto:bernd.lentes@helmholtz-muenchen.de]
> Verzonden: donderdag 3 december 2015 13:54
> Aan: libvirt-ML
> CC: Dominique Ramaekers
> Onderwerp: RE: snapshot of running vm's
>
> > ...
> > >
> > > Hi,
> > >
> > > i have inserted:
> > >
> > > <channel