<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How do I restore my old Mac's rsync backup to my new Mac?</title>
	<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac/</link>
	<description>Comments on Ask MetaFilter post How do I restore my old Mac's rsync backup to my new Mac?</description>
	<pubDate>Fri, 09 May 2008 16:26:31 -0800</pubDate>
	<lastBuildDate>Fri, 09 May 2008 16:26:31 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How do I restore my old Mac&apos;s rsync backup to my new Mac?</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac</link>	
		<description>What&apos;s the easiest way to restore my OS X 10.4 backup of my iBook laptop onto my shiny new OS X 10.5 Macbook? The catch: I made the backup using rsync, to a Linux file server. &lt;br /&gt;&lt;br /&gt; A few weeks ago, my three year old iBook G4 started running very slowly and making an ominous clicking sound. A lifetime of experience, plus the knowledge that my warranty had just expired, let me to the obvious conclusion: the hard drive was dying. I was planning to buy a new Macbook as soon as I received some money I was owed, so I decided to capture a backup, power the old laptop down, and use my Windows desktop until I got the new laptop.&lt;br&gt;
&lt;br&gt;
Having no other readily-accessible option, I used rsync to back up the entire contents of my home directory to my Linux file server. I used some kind of Mac-specific option in rsync to save the filesystem metadata, I think. I haven&apos;t been able to find the site with the instructions I used to do this, but I haven&apos;t looked very hard yet.&lt;br&gt;
&lt;br&gt;
I need to restore this data now, and I want to do it without breaking things on my new system, since it&apos;s got a newer OS. The main things I need are all my documents (easy to recover, really), all my Stickies notes, and all my Mail.app mail and metadata.&lt;br&gt;
&lt;br&gt;
I suppose it&apos;s possible that I could use Apple&apos;s data migration app to cleanly copy this stuff right off the old iBook, if its hard drive will cooperate for a little bit longer. I&apos;m doubtful that it will, though, and I&apos;d really hate to have a half-done restore.&lt;br&gt;
&lt;br&gt;
I don&apos;t even know where to start. I&apos;m a Linux guy so a lot of that translates to the Mac, but there always seem to be a few Mac-specific pitfalls or footnotes that the Apple fanatics point out which save my ass in these situations. I think that&apos;s basically what I&apos;m asking for.&lt;br&gt;
&lt;br&gt;
Going forward, I think I&apos;ll be using Time Machine for this purpose.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.91025</guid>
		<pubDate>Fri, 09 May 2008 16:20:19 -0800</pubDate>
		<dc:creator>autojack</dc:creator>
		
			<category>mac</category>
		
			<category>backup</category>
		
			<category>restore</category>
		
			<category>rsync</category>
		
	</item> <item>
		<title>By: rokusan</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335436</link>	
		<description>Why not use your home-made rsync script in reverse?&lt;br&gt;
&lt;br&gt;
Just make sure your new user name is diff than your old one, so the paths don&apos;t mash.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335436</guid>
		<pubDate>Fri, 09 May 2008 16:26:31 -0800</pubDate>
		<dc:creator>rokusan</dc:creator>
	</item><item>
		<title>By: rokusan</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335438</link>	
		<description>Your mail settings and data are in ~/Library/Mail, by the way, with attachments in ~/Library/Mail Downloads, if that helps.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335438</guid>
		<pubDate>Fri, 09 May 2008 16:27:50 -0800</pubDate>
		<dc:creator>rokusan</dc:creator>
	</item><item>
		<title>By: autojack</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335446</link>	
		<description>I didn&apos;t use a script, this was a one-off &quot;fire and pray&quot; on the command line. Maybe if I can get the iBook to boot again I can pull the command out of my shell history, but that&apos;s not definite. Also what I&apos;m more worried about is somehow wiping out newer versions of libraries or other OS files on the new machine. I suppose I could just enforce a &quot;do not overwrite,&quot; but is that sufficient?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335446</guid>
		<pubDate>Fri, 09 May 2008 16:45:46 -0800</pubDate>
		<dc:creator>autojack</dc:creator>
	</item><item>
		<title>By: Caviar</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335508</link>	
		<description>The mac-specific argument for rsync is -E, to preserve filesystem extended attributes. However, if you rsynced to anything other than an HFS+ destination drive (or disk image), that doesn&apos;t work. Since your destination in this case is Linux, that&apos;s irrelevant - you&apos;ve already lost anything that might have been preserved there. Although - I don&apos;t know of anything that uses extended attributes for anything important - it&apos;s all just metadata about the files, not the files themselves. (I&apos;d love for someone to chime in here if I&apos;m wrong about that.)&lt;br&gt;
&lt;br&gt;
Create a new user, then log in as a maintenance user (with admin access) and do this:&lt;br&gt;
&lt;br&gt;
$ sudo rsync -av /path/to/backup /Users/newuser&lt;br&gt;
$ sudo chown -R newuser:newuser /Users/newuser&lt;br&gt;
&lt;br&gt;
If you break something, create another new user and start again.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335508</guid>
		<pubDate>Fri, 09 May 2008 18:43:05 -0800</pubDate>
		<dc:creator>Caviar</dc:creator>
	</item><item>
		<title>By: semi</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335648</link>	
		<description>I&apos;d advice against a full restore of your home folder, since the directory structure has probably changed somewhat since then, and your backup probably carries an amount of historical baggage that you wouldn&apos;t need. Go slowly. Start from documents, then move on to your emails and whatnots.&lt;br&gt;
&lt;br&gt;
I keep an incremental backup of my home folder using rsync too, but enabled for only specific folders, e.g. Documents and Pictures. I then place symlinks from those folders to what I want to keep, e.g. emails and chat logs, and more symlinks on the server side to match the home folder structure on the Linux box. Just thought I&apos;d share.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335648</guid>
		<pubDate>Fri, 09 May 2008 21:42:41 -0800</pubDate>
		<dc:creator>semi</dc:creator>
	</item><item>
		<title>By: easyasy3k</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335701</link>	
		<description>Were you using &lt;a href=&quot;http://www.quesera.com/reynhout/misc/rsync+hfsmode/&quot;&gt;rsync+hfsmode&lt;/a&gt;? Or something that left lots of &lt;code&gt;._whatever&lt;/code&gt; files?&lt;br&gt;
&lt;br&gt;
If so, you can restore the Mac specific bits as described on the page. Copy the files back with whatever tool - unpatched rsync is fine. Then, run &lt;code&gt;/System/Library/CoreServices/FixupResourceForks&lt;/code&gt; on the file(s) or directory (it works recursively) you copied over to restore the Mac specific bits of the files.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335701</guid>
		<pubDate>Fri, 09 May 2008 23:13:20 -0800</pubDate>
		<dc:creator>easyasy3k</dc:creator>
	</item><item>
		<title>By: rokusan</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335893</link>	
		<description>Again, there&apos;s nothing wrong with fully-restoring the home folder of &lt;i&gt;foo&lt;/i&gt; as long as your new user on your new machine &lt;i&gt;bar&lt;/i&gt;. Create a new user with the same userID as the backed up one, then resync/replace right over that user&apos;s home directory.&lt;br&gt;
&lt;br&gt;
You&apos;ll end up with two users and two home dirs on your new machine, but then you can fish out what you need and make case by case decisions to merge by hand. But everything will be there.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335893</guid>
		<pubDate>Sat, 10 May 2008 09:31:09 -0800</pubDate>
		<dc:creator>rokusan</dc:creator>
	</item><item>
		<title>By: russm</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335908</link>	
		<description>Since you&apos;ve lost your resource forks and finder info in the rsync copy, I&apos;d first off try using the Apple migration helper - if it works, then you know all is good and that&apos;s that... if it doesn&apos;t make it through then it&apos;s time to recover whatever you want... &lt;b&gt;don&apos;t&lt;/b&gt; just rsync everything back, you&apos;ll kill the 10.5 install... if you copy over the old ~/Library that&apos;ll bring in all your mail, browser settings, and other user-specific data... specifically, mail is ~/Library/Mail and ~/Library/Preferences/com.apple.mail.plist and stickies is ~/Library/StickiesDatabase...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335908</guid>
		<pubDate>Sat, 10 May 2008 09:48:20 -0800</pubDate>
		<dc:creator>russm</dc:creator>
	</item><item>
		<title>By: russm</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335910</link>	
		<description>and if you&apos;re worries about having a half-completed migration, just nuke and reinstall 10.5... easy, since it&apos;s fresh anyway...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335910</guid>
		<pubDate>Sat, 10 May 2008 09:49:33 -0800</pubDate>
		<dc:creator>russm</dc:creator>
	</item><item>
		<title>By: Caviar</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1335941</link>	
		<description>&lt;em&gt;don&apos;t just rsync everything back, you&apos;ll kill the 10.5 install&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I don&apos;t see how that&apos;s possible, given that we&apos;re just talking about one user&apos;s homedir. The OS doesn&apos;t store anything of its own in your homedir. You may break some particular applications that expect your data to be in specific places, but the likely effect of that is just that they won&apos;t be able to find what they&apos;re looking for and will create it fresh, in which case you can try to migrate it over from the other user again in some other way.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1335941</guid>
		<pubDate>Sat, 10 May 2008 10:40:12 -0800</pubDate>
		<dc:creator>Caviar</dc:creator>
	</item><item>
		<title>By: autojack</title>
		<link>http://ask.metafilter.com/91025/How-do-I-restore-my-old-Macs-rsync-backup-to-my-new-Mac#1336121</link>	
		<description>Well, it looks like I got lucky. The old iBook&apos;s hard drive has been cooperating long enough for me to copy over the files I need directly from there, thus avoiding any headaches with the HFS+ export to my Linux file server.&lt;br&gt;
&lt;br&gt;
The 10.4 version of Migration Assistant did not include an option to migrate data TO another computer. Supposedly the workaround for this is to use the 10.5 install disk that came with your new Mac to install an updated copy of the Migration Assistant on the old one. Unfortunately I left my install CD at work, so I couldn&apos;t do that.&lt;br&gt;
&lt;br&gt;
Instead, I just enabled SSH on the iBook, and then used rsync to copy from there. It worked perfectly for my Stickies notes, and when I copied all my mail and ran Mail.app on the new Mac, it noticed that the data was from an old copy of the app, and converted it all. It did put all the sent and deleted messages into different folders under the heading &quot;ON MY MAC&quot; instead of under &quot;MAILBOXES,&quot; but I know I can just re-organize that later.&lt;br&gt;
&lt;br&gt;
For future reference, the special rsync options/instructions I used included a patched copy of it, which I got from &lt;a href=&quot;http://home.onthenet.com.au/~q/rsync/&quot;&gt;here.&lt;/a&gt; I figured that out by looking at my shell history on the old Mac. It included the --hfs-export argument that this author added to the original rsync, and that&apos;s what led me to the site. Good to know I could have used that to restore from the file server if I had needed to.&lt;br&gt;
&lt;br&gt;
Thanks a lot for the tips and advice, I&apos;m glad this went pretty smoothly.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.91025-1336121</guid>
		<pubDate>Sat, 10 May 2008 15:02:48 -0800</pubDate>
		<dc:creator>autojack</dc:creator>
	</item>
	</channel>
</rss>
