Mac Thread, How to backup & restore an Apple Profile Manager database in Technical; Today I needed to look at rebuilding or at least testing out a new Profile Manager Server setup but wanted ...
20th November 2012, 02:32 PM #1
How to backup & restore an Apple Profile Manager database
Today I needed to look at rebuilding or at least testing out a new Profile Manager Server setup but wanted to move all the clients and groups from the old PM server to the new test server but Apple has nothing in place to just export and import this. I found a topic on the Apple Discussions that has quick terminal commands to backup and restore PM Server. As a quick test I did this with our MacMini PM Server and moved restored it on a MacBook Pro running the latest version of PM Server. (OS X Server 1.5.0 --> OS X Server 2.1.1)
Found the article here https://discussions.apple.com/message/17804347#17804347 with the credit going to "Christoph Murauer" for the info To backup the DB in Terminal : sudo pg_dump -U _postgres -c device_management > $HOME/device_management.sql To restore the DB in Terminal : sudo serveradmin stop devicemgr sudo serveradmin start postgres sudo psql -U _postgres -d device_management -f $HOME/device_management.sql sudo serveradmin start devicemgr
Last edited by Carter; 20th November 2012 at 02:35 PM.
By SimpleSi in forum Windows Server 2000/2003
Last Post: 9th December 2010, 10:31 AM
By ronanian in forum Hardware
Last Post: 8th January 2010, 03:38 PM
By albertwt in forum Thin Client and Virtual Machines
Last Post: 3rd November 2009, 01:05 AM
By alaines_m in forum How do you do....it?
Last Post: 9th March 2007, 08:22 AM
By tarquel in forum Windows
Last Post: 24th October 2006, 08:53 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)