Troy Pickett

Q: Need help moving Server files to new computer

I have a MBP that was repurposed as a server after upgrading my laptop. But, I didn't wipe the laptop before turning it into a server. That has caused some other problems (mostly with other server software - unrelated to OSX Server). So, now I want to do a clean install on the laptop.

 

My only issue is moving the OSX server files. I can't find a guide/manual/discussion that tells me what files to move in order to move my server setup.

 

My biggest need is to save the wiki I've created. I could probably reset everything else.

 

Any help is appreciated.

 

Thanks.

MacBook Pro (15-inch 2.4/2.2 GHz), OS X Server

Posted on Nov 25, 2012 12:06 PM

Close

Q: Need help moving Server files to new computer

  • All replies
  • Helpful answers

  • by Troy Pickett,

    Troy Pickett Troy Pickett Nov 25, 2012 12:23 PM in response to Troy Pickett
    Level 1 (15 points)
    Nov 25, 2012 12:23 PM in response to Troy Pickett

    Is it as easy as moving the ~/Library/Server folder from the old setup to the new one? Please tell me it is :-)

  • by Antonio Rocco,

    Antonio Rocco Antonio Rocco Nov 26, 2012 3:31 AM in response to Troy Pickett
    Level 6 (10,606 points)
    Desktops
    Nov 26, 2012 3:31 AM in response to Troy Pickett

    Hi

     

    Although this support article is for 10.6:

     

    http://support.apple.com/kb/HT5585

     

    The statement in the Summary appears to suggest the instructions work for 10.8 to 10.8? However the article may not help you as there are further network implications that may not apply to your situation?

     

    Ultimately the only way you're ever going to really find out is to try it yourself. Etiher the way you think it may be work (doubtful but you never know) or the method suggested in the article or a combination of the two. Or googling for another answer elsewhere.

     

    As ever I would try and make sure you have a full working backup of any critical data important to you before trying anything.

     

    HTH?

     

    Tony

  • by John H,

    John H John H Nov 26, 2012 1:28 PM in response to Troy Pickett
    Level 3 (845 points)
    Nov 26, 2012 1:28 PM in response to Troy Pickett

    see this

    http://support.apple.com/kb/HT5381

     

    Or use the migration assistant. You will need to clone the server first as a clean install will wipe your data.

     

    If you need to save network users create an OD archive first. I am not sure how to do this in ML. but in lion use the server admin app. This was a stumbling block. After the migration delete the OD directory, create a new OD master in the server app then restored the Database. Sorry, I dont have the commends at hand but a search should locate them.

  • by Troy Pickett,

    Troy Pickett Troy Pickett Nov 26, 2012 1:59 PM in response to Troy Pickett
    Level 1 (15 points)
    Nov 26, 2012 1:59 PM in response to Troy Pickett

    I probably should retitle the post. I need to restore the server files on THE SAME computer after a clean install.

     

    I could clone the drive, but would like to avoid that, as that would require using a big external drive I don't have handy to store the clone (500GB).

     

    All of the documentation above is about moving from 10.6 or Lion to OSX (MLion) server. The changes under the hood in MLionServer make the articles less helpful. For example, there is no collaboration folder in MLionServer.

     

    Could I restore just the server info from Time Machine?

  • by Troy Pickett,

    Troy Pickett Troy Pickett Nov 26, 2012 2:01 PM in response to John H
    Level 1 (15 points)
    Nov 26, 2012 2:01 PM in response to John H

    I don't have a OD setup, but I do have users that I want to migrate. Which is why I am trying to migrate the whole shabang.

  • by Troy Pickett,

    Troy Pickett Troy Pickett Nov 26, 2012 2:04 PM in response to Antonio Rocco
    Level 1 (15 points)
    Nov 26, 2012 2:04 PM in response to Antonio Rocco

    LOL on the backup tip. I am Time Machined on a TCapsule and an external drive.

     

    The irony is if I crashed I wouldn't know what files to restore. That is the essence of my question as what I am trying to do is like a rebuild of a crashed server, except I want to just restore the Server and nothing (well, little) else on the computer.

  • by John H,

    John H John H Nov 26, 2012 2:05 PM in response to Troy Pickett
    Level 3 (845 points)
    Nov 26, 2012 2:05 PM in response to Troy Pickett

    Use the migration assistant (found in utilities folder) and timemachine. Do you have any space to temporarily clone the disk to the TM drive?

     

    I dont know why but am nervous using timemachine.

  • by John H,

    John H John H Nov 26, 2012 2:12 PM in response to John H
    Level 3 (845 points)
    Nov 26, 2012 2:12 PM in response to John H

    Sequence.

    as per http://support.apple.com/kb/HT5381

    Clean install ML client

    update ML client

    migrate data

    update to server

    open server app to complete the conversion

     

    I think there are some knowledge base articles on how to copy a wiki in ML - I suggest you at least look at backing up the wiki files.