Hi,
I have some issues getting the SmartGuard feature working properly with TimeMachine. I have brought my VM forward through OS X upgrades from Snow Leopard -> Lion -> Mountain Lion, and upgrades from Parallels6 to Parallels7.
All along I have had SmartGuard enabled and set to "Optimize for TimeMachine", and snapshot create/keep set to "Auto". SmartGuard have been creating its snapshots just fine.
Recently I upgraded my system hard drive to an SSD, and restored from TimeMachine. To my surprise the VM was not restored. The ~/Documents/Parallels folder was empty. So somehow the VM had never been backed up completely. Hmm, oh well, I just copied over the VM from the old system drive, and everything was intact.
The other day I got a new external drive for backup. I set it up for TimeMachine use and made a full backup. Looked good, but the ~/Documents/Parallels folder in the backup was empty.
I googled around, and learned how to use tmutil and mdfind to discover which parts of the filesystem is being excluded from backup. It turned out that ~/Documents/Parallels/MyVM was being excluded from backup, even though the checkbox in the VM backup options "Time Machine: Do not back up virtual machine" was cleared.
So I used "tmutil removeexclusion -p" to have the VM directory backed up. I also used "xattr -d com.apple.metada:com_apple_backup_excludeItem" to clear the filesystem metadata exclusion. And now the VM is backed up in TimeMachine. But now the problem is that the VM is backed up too much. Every time I shutdown or suspend the VM at least 1-2 GB is backed up.
I have tried disabling SmartGuard and enabling it again, but it doesn't seem to setup the proper backup exclusion settings again.
What actions do I need to take to have SmartGuard and TimeMachine working together again?
And on a more general note, how are you supposed to "bootstrap" this backup process when you break in a new TimeMachine drive, without having to manually fiddle with tmutil, mdfind and xattr?
Hoping someone can shed some light on this.
/Niels
I have some issues getting the SmartGuard feature working properly with TimeMachine. I have brought my VM forward through OS X upgrades from Snow Leopard -> Lion -> Mountain Lion, and upgrades from Parallels6 to Parallels7.
All along I have had SmartGuard enabled and set to "Optimize for TimeMachine", and snapshot create/keep set to "Auto". SmartGuard have been creating its snapshots just fine.
Recently I upgraded my system hard drive to an SSD, and restored from TimeMachine. To my surprise the VM was not restored. The ~/Documents/Parallels folder was empty. So somehow the VM had never been backed up completely. Hmm, oh well, I just copied over the VM from the old system drive, and everything was intact.
The other day I got a new external drive for backup. I set it up for TimeMachine use and made a full backup. Looked good, but the ~/Documents/Parallels folder in the backup was empty.
I googled around, and learned how to use tmutil and mdfind to discover which parts of the filesystem is being excluded from backup. It turned out that ~/Documents/Parallels/MyVM was being excluded from backup, even though the checkbox in the VM backup options "Time Machine: Do not back up virtual machine" was cleared.
So I used "tmutil removeexclusion -p" to have the VM directory backed up. I also used "xattr -d com.apple.metada:com_apple_backup_excludeItem" to clear the filesystem metadata exclusion. And now the VM is backed up in TimeMachine. But now the problem is that the VM is backed up too much. Every time I shutdown or suspend the VM at least 1-2 GB is backed up.
I have tried disabling SmartGuard and enabling it again, but it doesn't seem to setup the proper backup exclusion settings again.
What actions do I need to take to have SmartGuard and TimeMachine working together again?
And on a more general note, how are you supposed to "bootstrap" this backup process when you break in a new TimeMachine drive, without having to manually fiddle with tmutil, mdfind and xattr?
Hoping someone can shed some light on this.
/Niels