Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'simpler version: create new Backup and move old stuff here' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
simpler version: create new Backup and move old stuff here
Authored by: rhoerbe on Jun 09, '08 01:30:24AM

If you are not so familiar with handling extended attributes, this variant might be simpler to understand and remember:
1) reselct the backup volume with Time Machine system preferences and start a Backup, and stop it after a few seconds again. Time Machine will have created a new backup folder within Backups.backupdb on your TM volume with the correct xattr settings. Assuming the old and new system have the same name, the folder will be named "system-name 2".
2) disable xtended attributes
$ sudo fsaclctl -p /Volumes/TM/ -d
3) change to your new back folder and move the old backups here
$ cd /Volumes/TM/Backups.backupdb/system-name\ 2
$ sudo mv ../system-name/* .
3) it will complain with the message "mv: rename ../system-name/Latest to ./Latest: Operation not permitted". As a remedy, recreate the symlink after displaying the original value:
$ ls -l ../system-name
lrwxr-xr-x 1 root staff 17 May 14 20:00 Latest -> 2008-05-14-200044
$ sudo ln -s 2008-05-14-200044 Latest
4) do the clean-up
- remove the old backup directory and mv the new one to the old:
$ sudo rm -r system-name
$ sudo mv system-name\ 2/ system-name
- remove the old MAC-address from the root directory
- remove the in-progress folder from step 1
5) re-enable extended attributes:
$ sudo fsaclctl -p /Volumes/TM/ -e

Credit to the original hint!



[ Reply to This | # ]
More dangerous version: create new Backup, move old stuff here, and then sudo rm -r...
Authored by: palahala on Jan 24, '09 09:58:13AM

This alternative indeed might provide some additional background to the original hint. Thanks for that!

However, I think this alternative is much more prone to serious problems, especially as it claims to be written for those "not so familiar with handling extended attributes".

What's so difficult in using sudo xattr -w ...? If that is too difficult, then please consider that making a mistake using the alternative one might loose all data, either on the Time Machine disk, or maybe even on the internal harddrive! The original tip does not include potential very dangerous commands such as sudo rm -r system-name.

I'd advice to follow the original hint, or take a look at 10.5: A script to fix Time Machine after hardware repairs.



[ Reply to This | # ]