image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 25th, 2008, 01:51 AM
Registered User
 
Join Date: Mar 2004
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
aicul is on a distinguished road
Unhappy TimeMachine does not backup everything!

I have just noticed that Time Machine does not seem to want to backup certain big files I have (such as VMware virtual machines 5gb files).

I have checked the options setup in TimeMachine and there is no setting here that could imply that these files would not be backed-up.

I have made a test and noticed that TimeMachine will not backup the stated files.

Does anyone know what could cause this?

Al other TimeMachine options work.
__________________
I'm trying to understand...
Reply With Quote
  #2  
Old May 25th, 2008, 05:28 AM
VirtualTracy's Avatar
Registered User
 
Join Date: Aug 2006
Location: >  <
Posts: 897
Thanks: 20
Thanked 35 Times in 35 Posts
VirtualTracy is on a distinguished road
What version of VMware do you have?
Reply With Quote
  #3  
Old May 25th, 2008, 12:12 PM
Registered User
 
Join Date: Mar 2004
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
aicul is on a distinguished road
It's v1.1 downloaded from their site.

You think the version affects TimeMachine? Aren't VMware files just files? OK - bundles of folders and files. But there are many similar files on the mac (ie. applications).

For sure I have peeked into the VMware files but I did not change the security settings!
__________________
I'm trying to understand...
Reply With Quote
  #4  
Old May 25th, 2008, 01:29 PM
Mikuro's Avatar
Crotchety UI Nitpicker
 
Join Date: Mar 2005
Posts: 2,462
Thanks: 3
Thanked 10 Times in 9 Posts
Mikuro is on a distinguished road
I remember reading about this once before. A little Googling and I found it: http://64.233.169.104/search?q=cache...gl=us&ie=UTF-8

Apparently VMWare specifically prevents Time Machine from backing up its disk images, because for some reason it will lead to data corruption of Time Machine runs while VMWare is active. (Don't ask me why!) There are some work-arounds on that page I linked, but perhaps it's not a good idea to follow them if it could lead to data corruption...
__________________
Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.2

I'm now a four-browser man. How on earth did this happen?!

Useful programs: PithHelmet, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc
Reply With Quote
  #5  
Old May 26th, 2008, 12:43 PM
Registered User
 
Join Date: Mar 2004
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
aicul is on a distinguished road
Ok - Mikuro, thanks for the link. This proves to be the case with me. Here are the conclusions of my reading and testing:

Apparently Apple does provide a manner to block archiving by TimeMachine. This can be set using the "com.apple.metadata:com_apple_backup_excludeItem" file attribute and the xattr command in terminal.

VMware seems to think that Time Machine backups could compromise an "open" virtual machine, so they decided to block Time Machine using the above mentionned file attribute.

I have tried to manually remove the file attribute using the following 3 commands (use ls -l@ to check your results). This releases the TimeMachine backup.

Code:
xattr -d com.apple.metadata:com_apple_backup_excludeItem Windows.vmwarevm
cd Windows.vmwarevm
xattr -d com.apple.metadata:com_apple_backup_excludeItem *.*
However, the file attributes are reset to "block TimeMachine" as soon as you restart the virtual machine. So this is a short lived solution.


I am quite saddened by VMware because:
  1. they block TimeMachine without warning me in anyway or form. Potentially exposing them to some court case I think.
  2. I can understand blocking TimeMachine on "open" virtual machines but applying the same logic on "closed" ones seems excessive.
  3. the ideal setup would be for VMware to set the file attribute at virtual machine start, and remove it at VMware quit. But this seems to be to complex for them!

The only other solution I can think of is either using ZIP or a DMG image, but both add some silly overhead.

I remain surprised that VMware decided to block TimeMachine without any form of warning. I discovered this sillyness when I wanted to recover a virtual machine I had accidently deleted... relying on TimeMachine... just to find out VMware bypassed my archiving system - how stupid!
__________________
I'm trying to understand...
Reply With Quote
  #6  
Old May 26th, 2008, 05:33 PM
VirtualTracy's Avatar
Registered User
 
Join Date: Aug 2006
Location: >  <
Posts: 897
Thanks: 20
Thanked 35 Times in 35 Posts
VirtualTracy is on a distinguished road
Quote:
VMware Fusion 1.1.2 added support for Apple's Time Machine.
VMware Fusion 1.1.2 fixes for MacBook Air, Time Machine, XP SP3

Is this the version you are running?


.

Last edited by VirtualTracy; May 26th, 2008 at 05:44 PM.
Reply With Quote
  #7  
Old May 27th, 2008, 05:04 PM
Registered User
 
Join Date: Mar 2004
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
aicul is on a distinguished road
Thumbs down Low points on software quality

I will check.

However, this does not preclude the absolute unconsideration of VMware to wantingly activate file attributes that block TimeMachine at statup and forgetting to reset them at virtual machine shutdown.

This is just incomplete, and outright low quality programming, furthermore as a registered user of VMware products, I would have welcome some warning from their behalf.
__________________
I'm trying to understand...
Reply With Quote
  #8  
Old May 27th, 2008, 05:24 PM
Registered User
 
Join Date: Mar 2004
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
aicul is on a distinguished road
Ok here is a status. I have installed version 1.1.2 (which claims to solve this issue).

UNFORTUNATELY it does not solve the issue.

TimeMachine will not backup VM virtual machine files because the file attribute (com.apple.metadata:com_apple_backup_excludeItem) is still set after a clean virtual machine shutdown.

The test I did in v1.1.2:

1. check in terminal what file attributes are set. Observed that the com.apple.metadata:com_apple_backup_excludeItem is set on a specific virtual machine

2. start the virtual machine

3. clean shutdown of the virtual machine

4. check the file attributes again.

The file attributes remained set so as to block TimeMachine.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 04:50 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.