Improvements to LBackup FileVault Integration

About

This page contains information for LBackup developers regarding the simplification of Backup of Mac OS X FileVault users. Please note that the information on this page reefers to FileVault version one which is found in Mac OS X 10.6.x and Mac OS X 10.5.x. Newer versions of Mac OS X offer full disk encryption called FileVault 2.

Current Recommendation

Re-Encrypt files to a new sparse image/bundle.

Current Investigation

The current approach is to create a separate directory which will contain links to standard users and also to sparse bundle images of users who have FileVault enabled.

Issues Requiring Attention

Dealing with the Movement of Sparse Images/Bundles within the FileSystem

Currently implementation has begun on the linking system. Development of the user login/logout checking system has not begun yet.

Backup of the Sparse Image Directly While Mounted

Possible Solutions

Murphy's Law states that something is going to go wrong during a backup. Therefore, LBackup needs to detect these errors, recover from them and report them to the backup administrator. If you find an error which is not currently detected by please report the error

Error Detection Methods



Other Useful Links


Conclusions

It should be possible to come up with an elegant solution to these issues. However, currently the biggest issue is dealing with the links during login and logout. Because a sparse bundle image is actually a directory, we can not hard link against this. Instead, another system will need to be implemented, even if this is a launch daemon, which checks for long or logout and fixes the links.

Probably the best idea is to only backup when the image is mounted or not mounted. Not during and once an option is selected just stick with this. More testing will reveal any other ways to perform the backup.

It may be a good idea to begin looking at ways to detect login and logout while the backup is running on client machines, this way more control may be offered in the configuration system, regrading keeping the backup going when logged in or pausing the backup of a User home directory until logout, with reporting to the administrator regarding the delays to the backup.

Interested in Helping

If you are interested in working on the LBackup project please contact us. We look forward to your input.

Related Non-Developer Pages