User Tools

Site Tools


unix:osx:change_time_machine

This is an old revision of the document!


Time Machine w/new system

If you don't know, when you upgrade your mac, your Time Machine existing backups will not work with the new system. Apple's intention is to apparently force you to format your external disk, or manually delete your existing backups, and start Time Machine (“TM” from here on) anew.

Steps are published all over for how to do this, but they all seem to be missing one component from what I've found with Snow Leopard- namely that the xattr attribute must be entered in ASCII Hex for things to work properly.

Also, Snow Leopard does not include the binary fsaclctl, which is necessary to update the settings on the Time Machine disk. You can either try to find a copy of fsaclctl online, or find out what command has replaced it.

Steps to get your existing backups working again are essentially:

  1. Backup your current settings so you can back out the changes if you need to
  2. Get your new hardware Ethernet MAC address
  3. Allow edits to file system attributes on the TM disk
  4. Edit the attributes and files
  5. Disable edits to file system attributes on the TM disk
  6. Re-plug your TM disk & test backups

Steps in detail:

Backup current settings

  • Attach your TM disk
  • Open Terminal
  • Type:
    cd /Volumes/TM

    where “TM” is the name of your TM disk

  • Copy the .MACaddress file to the same name with .bak. Ex:
  • Type:
    cp .0016cb9268a5 .0016cb9268a5.bak
  • Backup the attributes on the backupsdb directory. Ex:
  • Type:
    xattr -l Backups.backupdb/systemname >> ~/systemnamehex.txt

    Where systemname is the name of your system disk.

Get your new MAC address

  • Open Terminal (probably already opened)
  • Type:
    ifconfig en0|grep ether
  • Copy or make a note of the string after the word “ether”. That is your MAC address.

Allow Attribute Edits to the TM disk filesystem

  • Open Terminal (probably already opened)
  • Type:
    sudo fsaclctl -p /Volumes/TM -d

Change the files and attributes

  • Open Terminal…
  • Type:
    cd /Volumes/TM
  • We need to change the old MAC address file to our new MAC address. What follows is an example, the file is named after the old MAC, and you have already made a note of your new MAC address, so fill in the strings to match your own settings:
    mv .0016cb9268a5 .0017da1978f9
  • Now the tricky part- changing the attribute on the Backups.backupdb/systemname directory. Here's the output of the xattr -l command on my disk:
frieda:Library ben$ xattr -l /Volumes/Ben\'s\ Lacie/Backups.backupdb/frieda/
com.apple.backupd.BackupMachineAddress: d4:9a:20:c5:ad:20
com.apple.backupd.HostUUID:
00000000  44 38 44 32 31 46 37 41 2D 38 35 39 45 2D 33 32  |D8D21F7A-859E-32|
00000010  46 32 2D 39 34 41 34 2D 36 37 35 33 38 31 37 32  |F2-94A4-67538172|
00000020  31 46 35 30 00                                   |1F50.|
00000025
unix/osx/change_time_machine.1266834290.txt.gz · Last modified: 2010/02/22 05:24 by ben