Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Making Time Machine backups bootable

Making Time Machine backups bootable
Thread Tools
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 10, 2007, 08:11 AM
 
So recently I was looking at the partition TM is backing up to. It seems that within a second-level directory named after the Mac it's backing up, there's a 'current' symlink which points to what is basically a clone of my boot partition. Now obviously this is not really a true clone, since there's some hard link magic going on, but it still got me wondering. What if I were to make symlinks on the root level of the backup partition that point to stuff in current and then bless the partition. Would that make my TM backup a bootable pseudo clone?

Here's an example of what I'm thinking of:
[codex]/Volumes/TM/Applications -> /Volumes/TM/Backups.backupdb/myMac/current/Applications
/Volumes/TM/Desktop\ DB -> /Volumes/TM/Backups.backupdb/myMac/current/Desktop\ DB
/Volumes/TM/Desktop\ DF -> /Volumes/TM/Backups.backupdb/myMac/current/Desktop\ DF
/Volumes/TM/Developer -> /Volumes/TM/Backups.backupdb/myMac/current/Developer
/Volumes/TM/Library -> /Volumes/TM/Backups.backupdb/myMac/current/Library
...
/Volumes/TM/etc -> /Volumes/TM/Backups.backupdb/myMac/current/etc
/Volumes/TM/home -> /Volumes/TM/Backups.backupdb/myMac/current/home
/Volumes/TM/mach.sym -> /Volumes/TM/Backups.backupdb/myMac/current/mach.sym
/Volumes/TM/mach_kernel -> /Volumes/TM/Backups.backupdb/myMac/current/mach_kernel
/Volumes/TM/mach_kernel.ctfsys -> /Volumes/TM/Backups.backupdb/myMac/current/mach_kernel.ctfsys
...
/Volumes/TM/var -> /Volumes/TM/Backups.backupdb/myMac/current/var[/codex]

And if that will work, is there any developer here who would like to make a nice little utility with a decent OS X GUI for it? I'd prefer that over the quick and dirty shell script I'd have to otherwise write.
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Nov 10, 2007, 09:08 AM
 
Why?

Time Machine backups are read only, so they aren't bootable no matter what. It would really mess up the backup if they could be modified.
     
Simon  (op)
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 10, 2007, 09:11 AM
 
And what about making it readable first? Would it then work?
     
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status: Offline
Reply With Quote
Nov 10, 2007, 09:18 AM
 
Originally Posted by Simon View Post
And what about making it readable first? Would it then work?
Probably not. I'm not sure I'd want to mess around with the Time Machine Backup like that. Apple provides a way to restore from the Time Machine backup from the installer DVD. There is no need to have a bootable Time Machine backup.
     
Simon  (op)
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 10, 2007, 09:34 AM
 
Originally Posted by Person Man View Post
Probably not. I'm not sure I'd want to mess around with the Time Machine Backup like that. Apple provides a way to restore from the Time Machine backup from the installer DVD. There is no need to have a bootable Time Machine backup.
I know that I can use MA to copy back from a TM backup. But that's not the point of this thread. I am wondering if it is technically possible to make a bootable partition using the TM current directory. And if so, what is required?
     
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status: Offline
Reply With Quote
Nov 10, 2007, 09:39 AM
 
Originally Posted by Simon View Post
I know that I can use MA to copy back from a TM backup. But that's not the point of this thread. I am wondering if it is technically possible to make a bootable partition using the TM current directory. And if so, what is required?
I'm not talking about Migration Assistant. There is a utility on the DVD that can do a wholesale restore of your drive from the TM backup.
     
Simon  (op)
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 10, 2007, 09:42 AM
 
Originally Posted by Person Man View Post
I'm not talking about Migration Assistant. There is a utility on the DVD that can do a wholesale restore of your drive from the TM backup.
That's fine too. But the question remains: can it be done with a simple shell script that creates the right symlinks, makes it writable and blesses it?
     
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status: Offline
Reply With Quote
Nov 10, 2007, 09:50 AM
 
Originally Posted by Simon View Post
That's fine too. But the question remains: can it be done with a simple shell script that creates the right symlinks, makes it writable and blesses it?
Don't know. But I think it might be likely to mess things up as far as either continuing to make backups or restoring from them.

You could try it. Other than seeing if it can be done and whether it messes up proper functioning of TM or not, what would be the value of doing this if you can completely restore your system using the startup DVD? (Other than having a bootable backup to use when the DVD is not around).
     
Simon  (op)
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 10, 2007, 09:51 AM
 
Again, I don't care about the value. I want to know if it can be done and what is required.
     
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status: Offline
Reply With Quote
Nov 10, 2007, 09:57 AM
 
Originally Posted by Simon View Post
Again, I don't care about the value. I want to know if it can be done and what is required.
Can't answer that. Why not try your idea? Don't use your main TM backup though. I'd use a separate hard drive with a fresh backup to mess around in.

Trial and error. You're likely to be the first person interested in such a thing. And in the absence of detailed documentation from Apple about the innards of Time Machine, trial and error is how anyone else is going to learn it as well.

Sorry I can't help much beyond that. My current experimentation is with the nitty-gritty of code signing and its impact on end user localization of Apple's System Software for languages that aren't part of a default install and for which the Apple representative in those countries either provides no localization, or (in the case of Greece, an extremely crappy localization).

Don't forget to report back to us about your findings. I'll be reporting on mine in due time.
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:13 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2