Jean-François Beauchamp

Sep 28, 2017 15:27
I just had to say yes, inherit the Time Machine backup from the previous machine, and re-enter my IMAP server credentials in Mail.
Sep 28, 2017 15:26
After putting the files at the right place (getting rid of a Library folder level that is) and setting the proper owner on the whole folder, I rebooted my MBP, logged in, and everything was back to "normal".
Sep 28, 2017 15:25
It's the first time I use the chat functionality... Thanks for all your help!
Sep 28, 2017 15:12
One last thing, rsync is verbose by default, and it outputs information about each file it copies. I believe this slows the process, so I also used the -q flag to make the rsync silent. The drawback is that I had no feedback about what was happening, but I just let it run the whole day, and when I came back from work, the copy was done.
Sep 28, 2017 15:12
Also, one should not specify Library in the destination otherwise the result is a Library folder inside the Library folder. In order to fix the ownership problem, I used chown to make my user the owner of the Library folder and its content. I hope no file in there needs to be owned by another user...
Sep 28, 2017 15:12
Thanks for your solution! It put me on the right track. Since I logged in in Single User Mode to issue the rsync command, all my files were owned by root. I would have had to add the 'o' flag to the rsync command in order to avoid this: rsync -rlptgoDEHP --stats /Volumes/Macintosh\ HD/Users/<my user>/Library /Users/<my user>
Sep 28, 2017 15:12
I did not really have to login as a different user, now that I think about it, since the Library folder is most probably not used when logging in single user mode which gives you only a terminal window. I hope the rsync options will keep the original file attributes and not make my current user the owner of the files.
Sep 28, 2017 15:12
In fact, I don't really need to use SSH. I just rebooted my new MBP in single user mode (Command-S while turning one the MBP), and I logged in as a different user. I then remounted my internal drive to be read-write, mounted my external drive, renamed Library folder of the user I want to recover and I issued the rsync command.
Sep 28, 2017 15:12
Apple replaced my logic board twice. The last time was in July 2016, but the problem reappeared last month. Now, they consider 2011 MBP's as "vintage", and they don't make the parts anymore so it cannot be fixed. Actually they want us to believe those machines are vintage. To me, a Commodore 64 or an Apple II is vintage. Outside from that, my 2011 MBP was still doing a fine job. Apple did not impress me with that one.
Sep 28, 2017 15:12
Actually, I don't have access to my older MBP. It is a late 2011 model with the graphics chip problem, and it won't boot anymore, or rarely boot should I say. But I was able to clone its disk before it became inoperable, and I can connect this disk to my new MBP, so your solutions should still work. And I also have the Time Machine backup. So, I'll give it a try.
 

 The Heap™ – Consultancy ©®

General on- and off-site discussion for dba.stackexchange.com....
Aug 14, 2012 18:08
@MarkStorey-Smith I am not sure of what kind of attribute you meant... Ok, I'll post my question on dba.se. However, I am getting this warning when typing my question there: "The question you're asking appears subjective and is likely to be closed."
Aug 14, 2012 18:04
@rfusca You're right. Let's see if I can sort things out as easily in my "real world" project...
Aug 14, 2012 18:01
@Phil Well, I decided to post it here after reading the FAQ where they say not to ask open ended questions on the site... So I am not sure where is the place for such questions open to discussion.
Aug 14, 2012 17:57
I am modelling a database for an application I am developing and I am in front of choices for which I would like to know what the best practices are.

Let's say I have a Documents table and a Users Table. Users can be related to documents different ways: be the owner/creator, a document can be about a user but invisible to the user, or a document can have been made visible to a user.

I could model a Many-to-Many relationship with a table containing a DocId field, a UserId field, and a Status (Owner, Visible, or Invisible). The good thing about modelling things this way is that everything I