Skip navigation

Time Machine restores case-sensitive backup to a case-insensitive FS

13175 Views 28 Replies Latest reply: Feb 25, 2013 2:45 AM by m0xee RSS
1 2 Previous Next
RenaudDetry Calculating status...
Currently Being Moderated
Oct 24, 2010 6:41 AM
Hi,

I am having trouble restoring a case-sensitive Time Machine backup. The problem apparently occurs because:

- TM restores my system to a case-insensitive filesystem (HFS+), while my original system and its TM backup are on case-sensitive filesystems (HFSX).

- My system has one directory which contains, amongst others, SSL.3ssl.gz and ssl.3ssl.gz (note the case difference).

When trying to restore the second file (ssl.3ssl.gz), the TM restore process (started from the install DVD) exits with an error.

This happens with the install DVDs of MacOS X 10.6.0 and MacOS X 10.6.3.

The files that caused problems for me are in /usr/share/man/man3:

HMAC.3ssl.gz
MD5.3ssl.gz
MDC2.3ssl.gz
PEM.3ssl.gz
RC4.3ssl.gz
SHA.3ssl.gz
SSL.3ssl.gz
hmac.3ssl.gz
md5.3ssl.gz
mdc2.3ssl.gz
pem.3ssl.gz
rc4.3ssl.gz
sha.3ssl.gz
ssl.3ssl.gz

I unfortunately don't have the logs anymore. When the TM restore process stops, it opens a log window. This window doesn't say much. Going to the Console app gave more details on what happened, which allowed me to see which file was causing a problem.

I removed the uppercase files (HMAC.3ssl.gz, etc.) from my system & TM backup. Restoring then works, except that the restore system is again on a case-insensitive FS.
MacBook Pro, Mac OS X (10.6.4)
  • Pondini Level 8 Level 8 (38,710 points)
    RenaudDetry wrote:
    Hi,

    I am having trouble restoring a case-sensitive Time Machine backup. The problem apparently occurs because:

    - TM restores my system to a case-insensitive filesystem (HFS+), while my original system and its TM backup are on case-sensitive filesystems (HFSX).


    Did you format your internal HD to be case-sensitive? If not, that's the reason.

    When you do a full system restore, the first thing that Time Machine does is to erase the destination volume -- it does not change the format.
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.4), dual-band AEBS v. 7.4.2
  • Pondini Level 8 Level 8 (38,710 points)
    HFSX doesn't necessarily mean case-sensitive; it just means it can be case-sensitive.

    You might be able to format the drive to case-sensitive, install OSX on it, then use +Setup Assistant+ when it reboots to transfer your apps, users, data, etc.

    I'm assuming you really need a case-sensitive disk; OSX generally doesn't much like it.
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.4), dual-band AEBS v. 7.4.2
  • Pondini Level 8 Level 8 (38,710 points)
    RenaudDetry wrote:
    . . .
    All the partitions of my internal HD, and all the partition of my external HD are case-sensitive.

    When I try to restore the system to an empty partition, TM starts by formatting it to case-INsensitive, hence the title of this post.


    Yes, I understand (I'm very surprised for it to do that, and haven't tested it myself to see if it's something unique to your setup).

    Have you tried formatting to case-sensitive, installing OSX from a disc, then using +Setup Assistant+ (not a full system restore)? That may work.
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.4), dual-band AEBS v. 7.4.2
  • Pondini Level 8 Level 8 (38,710 points)
    RenaudDetry wrote:
    Have you tried formatting to case-sensitive, installing OSX from a disc, then using +Setup Assistant+ (not a full system restore)? That may work.


    Restoring through Setup Assistant does not produce an exact copy of the original system.


    Exactly; it will get everything +*except OSX.+* That's what it's for! And why it may accomplish what you want.
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.4), dual-band AEBS v. 7.4.2 iWeb 3.0.2
  • Jason Ozolins Calculating status...
    Pondini wrote:
    RenaudDetry wrote:

    ...
    When I try to restore the system to an empty partition, TM starts by formatting it to case-INsensitive, hence the title of this post.


    Yes, I understand (I'm very surprised for it to do that, and haven't tested it myself to see if it's something unique to your setup).

    Have you tried formatting to case-sensitive, installing OSX from a disc, then using +Setup Assistant+ (not a full system restore)? That may work.


    FWIW, I just found this the hard way. Did a full Time Machine restore onto a filesystem that was previously journaled, case-sensitive, and in the process ended up with journaled, case-INsensitive.

    Not sure if setting up the partition as a fresh one with Disk Utility just before starting the TM restore could have changed the behaviour - I suspect it won't, sadly...
    iMac 27" (work), Mac OS X (10.6.4)
  • noisymime Calculating status...
    I can confirm this also .The Time Machine restore process reformats a case-sesntive file system to case insensitive when it begins. This causes the restore to crash.

    As this is a confirmed bug, does anyone know how this can be formally reported to Apple?
  • Pondini Level 8 Level 8 (38,710 points)
    See: [Reporting a Problem to Apple|http://web.me.com/pondini/AppleTips/BugReport.html].

    In the meantime, have you tried formatting the drive to case-sensitive, installing OSX, then using +Setup Assistant+ to transfer everything else?

    Message was edited by: Pondini
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.5), dual-band AEBS v. 7.4.2 iWeb 3.0.2
  • noisymime Level 1 Level 1 (0 points)
    Thanks Pondini, I've logged a detailed bug report up.

    I tried the fresh install + Migration Assistant and this has seemed to mostly work. A few apps required reinstalling and the 1.1gb of updates was a little frustrating, but other than that its a good workaround.
  • Pondini Level 8 Level 8 (38,710 points)
    Ah, good to have that confirmed -- it will probably come up again. Case-sensitive systems are quite rare (OSX really doesn't much like them), but a few folks run them.

    Did you use +Setup Assistant+ or +Migration Assistant?+ If you set up a user account, then used +Migration Assistant,+ double-check that the transferred user accounts have the proper permissions to files on other disks, including your backups.
    24" iMac 9,1 2.66 GHz; 4gb; 640 gb, Mac OS X (10.6.5), dual-band AEBS v. 7.4.2 iWeb 3.0.2
  • noisymime Level 1 Level 1 (0 points)
    Pondini wrote:
    Ah, good to have that confirmed -- it will probably come up again. Case-sensitive systems are quite rare (OSX really doesn't much like them), but a few folks run them.

    Did you use +Setup Assistant+ or +Migration Assistant?+ If you set up a user account, then used +Migration Assistant,+ double-check that the transferred user accounts have the proper permissions to files on other disks, including your backups.


    Sorry it probably was Setup Assistant. Whatever the one that is part of the OSX installer process is. ie I didn't create a user and then copy things over.

    Interestingly, when I reinstalled I did it onto a case INsensitive filesystem and things still seem to have gone fine with the migration.
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.