1 Reply Latest reply: Nov 18, 2012 2:21 AM by John H
John H Level 3 Level 3 (845 points)

Hi I would like to do clean install of server. Can any one tell me how to manually copy mail, wiki calendars and copy OD from an archive. I tried the migration but it seems to fail at the OD section.

  • 1. Re: Copy services from lion server
    John H Level 3 Level 3 (845 points)

    Hi All going well using migration except the OD stage

     

    WhenI try to restore from the old server in terminal I get the gollowing error

     

    mail:~ svradmin$ sudo slapconfig -restoredb /Volumes/Server\ HD/OD/nov\ 2012\ OD\ archive.sparseimage

    2012-11-18 10:13:21 +0000 slapconfig -restoredb

    2012-11-18 10:13:21 +0000 1 Mounting the archive

    2012-11-18 10:13:21 +0000 command: /usr/bin/hdiutil attach /Volumes/Server HD/OD/nov 2012 OD archive.sparseimage -readonly

    Enter disk image passphrase:

    2012-11-18 10:13:28 +0000 command: /usr/bin/hdiutil attach -stdinpass /Volumes/Server HD/OD/nov 2012 OD archive.sparseimage -readonly

    2012-11-18 10:13:30 +0000 Error: Command failed with exit code 1: out=, errmsg=hdiutil: attach failed - Authentication error

    2012-11-18 10:13:30 +0000 Unable to mount the archive (error = 1)

    2012-11-18 10:13:30 +0000 Removed file at path /var/run/slapconfig.lock.

    mail:~ svradmin$

     

    the spareimage appears to be read and write,

    cheers John