<div dir="ltr">My two cents. I use Time Mchine to backup my VMs and like it the way things are.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 18, 2015 at 12:20 PM, Klaus Espenlaub <span dir="ltr"><<a href="mailto:klaus.espenlaub@oracle.com" target="_blank">klaus.espenlaub@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
<br>
On 11.09.2015 05:00, Andrew Melo wrote:<br>
> Hello,<br>
><br>
> I am looking to implement enabling a setting for Virtualbox to<br>
> automatically set the<br>
> "com.apple.metadata:com_apple_backup_excludeItem" xattr for newly<br>
> created disk images, most probably hooked into the global/per-VM<br>
> extradata somewhere under the VboxInternal tree. This xattr will cause<br>
> time machine to ignore the file when backing up, without having to<br>
> manually add the directories where Virtualbox is storing the images.<br>
<br>
Sounds like a nice option to me, but not something which should happen<br>
unconditionally (as some people might wan to have their VMs handled by<br>
time machine).<br>
<br>
> Why don't I just add ~/Virtualbox\ VMs to the exclusion? Because<br>
> there's some applications which integrate kicking off a VM for<br>
> testing, and the images are stored next to the rest of the application<br>
> state.<br>
<br>
I don't follow why you think 'time machining' VM configs without the<br>
corresponding disk images makes any sense.<br>
<br>
> Looking through the source tree, the change looks to be<br>
> straightforward, but I don't want to take the time to make a patch if<br>
> this feature wouldn't be considered for inclusion.<br>
<br>
The real challenge from my perspective is to make this configurable in a<br>
sensible way. I'm almost certain that a significant number of users<br>
would complain if for all newly created disk images VirtualBox would<br>
automatically exclude them from the backup. Feel free to give arguments<br>
which support the opposite :)<br>
<br>
I do agree that the basic feature isn't complicated. The tricky part is<br>
finding a sensible way to configure this, as no other platform so far<br>
needed a similar configuration.<br>
<br>
Thanks for your proposal, we'll see what comes out of it...<br>
<br>
Klaus<br>
><br>
> Thanks!<br>
> Andrew<br>
><br>
<br>
_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" rel="noreferrer" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</blockquote></div><br></div>