Re: snapshot, clone and mount a VM-Image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 02/11/2013 03:02 PM, Wido den Hollander wrote:

> You are looking at a way to "extract" the snapshot, correct?

No.

> Why would
> you want to mount it and backup the files?

because then I can do things like incremental backups. There will be a
ceph cluster at an ISP soon, who hosts various services on various VMs,
and it is important that the mailspool for example is backed up
efficiently, because it's huge and the number of files is also high.

> Couldn't you better handle this in the Virtual Machine itself?

not really. open, changing files, a lot of virtual machines that one
needs to take care of, and so on.

> If you want to backup the virtual machines to an extern location you
> could use either "rbd" or "qemu-img" to get the snapshot out of the Ceph
> cluster:
> 
> $ rbd export --snap <snapshot> <image name> <destination>
> 
> Or use qemu-img
> 
> $ qemu-img convert -f raw -O qcow2 -s <snapshot> rbd:rbd/<image>
> <image>.qcow2
> 
> You then get files which you can backup externally.
> 
> Would that work?

sure, but this is a very inefficient way of backing things up, because
one would back up on block level. I want to back up on filesystem level.

> Wido
> 
>> thanks a lot for you answers
>> Wolfgang
>>
> 
> 


-- 
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
wolfgang.hennerbichler@xxxxxxxxxxxxxxxx
http://www.risc-software.at
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux