+ Post New Thread
Results 1 to 1 of 1
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 ...
  1. #1
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 64 Times in 41 Posts
    Rep Power
    18

    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)

    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
    Found the article here https://discussions.apple.com/message/17804347#17804347 with the credit going to "Christoph Murauer" ​for the info
    Last edited by Carter; 20th November 2012 at 02:35 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. How to backup a VM
    By SimpleSi in forum Windows Server 2000/2003
    Replies: 11
    Last Post: 9th December 2010, 10:31 AM
  2. Terastation III - how to backup settings?
    By ronanian in forum Hardware
    Replies: 1
    Last Post: 8th January 2010, 03:38 PM
  3. Replies: 4
    Last Post: 3rd November 2009, 01:05 AM
  4. How to backup Outlook Express email folders and settings
    By alaines_m in forum How do you do....it?
    Replies: 2
    Last Post: 9th March 2007, 08:22 AM
  5. DC wipe - how to backup the users / AD etc?
    By tarquel in forum Windows
    Replies: 32
    Last Post: 24th October 2006, 08:53 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •