Skip navigation

HT4974: OS X Server: Changing the service data storage location

Learn about OS X Server: Changing the service data storage location

HT4974 How do I move OS X Server to a different volume from the current?

781 Views 7 Replies Latest reply: Sep 2, 2012 12:33 AM by Mark23 RSS
HenryS Level 2 Level 2 (295 points)
Currently Being Moderated
Aug 27, 2012 3:56 AM

I have an existing (temporary) location on an external test drive. Now that I have Server running, I'd like to migrate it to the startup volume. cloning the entire drive is not an option because of size of the destination drive, the existing drive has many more apps on it than needed (some I don't want to lose but that aren't needed for this install).


Can I simply start a new Server, then migrate all settings and files from the running version?

 

Can I copy/migrate ALL the Server files? Is there a listing that shows all the files? This topic (HT4974) doesn't list them all.

Mac mini, OS X Mountain Lion, (3,1) 3GB RAM, 2GHz, C2D, GigE LAN
  • Kevin Neal Level 2 Level 2 (475 points)

    have you tried Migration assisant, no idea if it works for server, but if both macs have server.app installed it might work?

  • Kevin Neal Level 2 Level 2 (475 points)

    I might be wrong but I don't think you can uninstall Server completely though you can disable all the services and remove the server.app, but this may leave some configuration changes intact

     

    http://support.apple.com/kb/HT4827?viewlocale=en_US&locale=en_US

     

    What I have done to guard against this was to make a disk image of my freshly installed ML, then made another disk image of ML with server installed but not configured.

     

    This lets me get back to a 'reset' version of ML Server if anything goes badly wrong without a full re-install and also lets me go back to just ML if I ever wanted to.

  • Eric. Level 6 Level 6 (12,260 points)

    this is old but maybe the command still exists in Mountain Lion. Sorry, I've got too many VMs running at the moment, so I can't check my Mt Lion VM.

     

    I presume you could use serveradmin to export settings to files and then restore them. This is a bit old but the process remains. But I suspect you won't get everything that way. I know that some settings, e.g. ldap binding policies, aren't done with serveradmin but other commands.

     

    The certificates are buried deep. While you can export and reimport what you find in Keychain Access, I'm not sure that will put them where they need to be.

     

    Also, you'd need to shutdown and migrate the postgres db. There's a script here for Lion, which gives you some ideas where the requite files are stored.

     

    I think I'd probably just clone the external to yet another external HD. Then I'd booting from that, use the uninstallers provided with the applications to free up space -- they usually do a better job at cleaning out the stuff that's hidden deep. Then I'd use CCC to something like a selective clone, e.g. leaving behind those unneeded apps.

  • Eric. Level 6 Level 6 (12,260 points)

    Eric. wrote:

     

    this is old but maybe the command still exists in Mountain Lion. Sorry, I've got too many VMs running at the moment, so I can't check my Mt Lion VM.

     

    Yep ServerBackup is still there. See the comments about ServerBackup on this note about Lion Server 10.7.2+ and Mountain Lion. Yes, it's about Time Machine and Server, but note the comments/commands about ServerBackup.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.