[vbox-dev] VB backup

Sergey Malykhin sergey.malykhin at gmail.com
Mon Mar 29 22:54:25 PDT 2010


Thanks, Nikolay,

I meant that I hacked kernel a little to get information about file, data
buffer, buffer size and offset in file. And it's ok. I'm only not sure that
I'll have working backup if do it while VB is running. I understand that the
best solution - suspend VB and copy, but it's less interestin, because I'll
have pauses in VB work.

Sergey

2010/3/30 Nikolay Igotti <Nikolay.Igotti at sun.com>

>  Hi Sergey,
>
> Not sure what you mean by "I'm controlling write function to vdi file from
> kernel", but in general it's possible to use FS's (such as ZFS) snapshotting
> capability to take snapshots of live VMs image.
> OTOH to be 100% safe, I would pause VM, flush OS write buffers with 'sync',
> and then copy underlying .vdi.
> If you assume image to change insignificantly, maybe it would make sense to
> take snapshot once image stabilized, and only backup differences.
>
> Hope that'll help,
> Nikolay
>
>
>
> Sergey Malykhin пишет:
>
>> Hello,
>>
>> I have VB running and want to make backup for vdi file. But I only need to
>> have changed sectors. I'm controlling write function to vdi file from
>> kernel. Can you please answer is it enough just copy it while VM is running
>> or I need to suspend it?
>>
>> TIA
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100330/f1ad360e/attachment-0001.html 


More information about the vbox-dev mailing list