10.7.2: still can't replicate 10.6 Open Directory or restore from backup

I am trying to migrate my Open Directory (OD) database from an Xserve running 10.6.8 to an iMac running 10.7.2 now. As before the update to 10.7.2, I am unable to make the Lion server an OD replica of the OD database running on Snow Leopard.
This is what I do (please let me know, if anyting I do is wrong):
On the Snow Leopard Server (SLS) in the Server Admin utility, I go to the Open Directory service, the "Archive" subsection, choose a target directory for "Archive In", and click on the Archive button. I am then asked to name my archived database and provide a password. Let's say, it is "OD Archive," the file generated will be "OD Archive.sparseimage".
I copy this Sparseimage to the deskop of my Leopard Server (LS).
I then open the same place in the Server Admin utility on the LS. In the "Restore from" section I browse to the LS desktop and "Choose" the saved Sparseimage. I click on "Restore," at which point I am asked for the password of the archived OD database. When I supply it, it appears that my OD archive is being imported.
However, going into the Workgroup Manager on the LS, and logging in as diradmin, into /LDAPv3/127.0.0.1, shows no users from my SLS having been migrated. Why has this still not been fixed?
Likewise, when I try to make the LS an Open Directory replica of the SLS, I again, even after this updated informed that my OD database admin credentials are incorrect, when they are not. I had surely expeced a fix for this by the time we reached 10.7.2.

Historically you have not been able to mix versions between an Open Directory Master and Replica, that is both would either have to be Snow Leopard, or both would have to be Lion.
I have not tried upgrading to Lion this way (I am currently leaving my servers on Snow Leopard) but I can suggest the following based on experiences with Snow Leopard Servers.
As you already appear to have done, in Snow Leopard Server make an Archive of your Open Directory setup
Make sure you also have a backup of the entire Snow Leopard Server so you can go back to it if you can't successfully move to Lion
Setup the hostname, IP address and DNS records (which might mean setting up a DNS server) for the new Lion Server
Check this using the command line
sudo changeip -checkhostname
Make the new Lion Server in to a new empty Open Directory Master
Test this new Open Directory Master by creating a test user and then deleting afterwards
Now move on to the restoring of the Open Directory Archive, when I did this last time, I found that I was given two choices, either to completely replace the Open Directory with the one from the Archive, or to merge the two together. I found that trying to replace failed and resulted in an empty Open Directory like you report, I found that chosing merge did work successfully
If the above still does not work, then you might have to consider the following alternative approach.
On the Snow Leopard Server in Workgroup Manager export all the user accounts except the Admin and DirAdmin accounts
Optionally export all the Groups
Optionally export all the Computer Groups
Setup the new Lion Server
Create a new empty Open Directory
Import the files exported from Workgroup Manager
This will not keep the original passwords. You will have to set a password for each account.

Similar Messages

  • Can I select or deselect what all is restored from backup? Not enough space

    I was low on space. Did a backup in itunes. Deleted a bunch of stuff and was having trouble restoring so I did a software upgrade. I didn't have enough room to do the software upgrade before deleting all my stuff. Now that I have updated the software, I cannot restore from backup. Is there anyway to deselect some items to be restored? I would like my messages back. I can manually put pics and songs back on. Thanks for your help.

    yes you could exclude the system folders and whatever else you want.
    If you have space on your external drive, I would recommend letting it back up everything. If something did happen, you could restore your whole system much more easily that way. All you would have to do is insert and boot off the Leopard install DVD and follow the menu's to restore your machine from a Time Machine Backup.
    If you don't backup your entire drive (including the system folders, etc). then you would have to reinstall Leopard, reinstall all your applications, and then restore your files from your time machine backup.

  • Still can't get iTunes to open

    After help from this DB I uninstalled every part of my iPod Nano and iTunes from my computer, re-installed everything and still can't get iTunes to open. It thinks about it and then just doesn't open, doesn't run, nothing. I even tried going on iTunes on here and surfing around and can't get the Music Store to open. If I click on it, it opens for 1/2 a second and then flips back to the main page. Any thoughts? Sorry to be such a PITA. I'm just frustrated with a new iPod and no music.

    Okay, it seems I am not the only one with this problem. Sorry... did not see the other post until I typed this. But this is frustrating. Anyone know if I can use a later version and still use my Nano?

  • I just got a new iPhone 6 but when I did the restore from backup of my old iPhone 4; none of my pictures were there and almost all of my calendar was missing. Can anyone help?

    Hi, I just bought an iPhone 6, 64GB and had everything ready to do the "restore from backup" from my old iPhone 4 8GB. It kept stopping and I'd have to start over from the beginning. When I finally got it to do something with the help of my provider(who had walked me thru from the beginning anyway); I figured I was all set. Then I went to see my pics to use one for my lock screen and there were NO PICTURES AT ALL and only part of my calendar came over. I'm missing a lot of future appointments that I know are set up. I made sure not to wipe out my old one yet; as I will have to since I did the trade in plan; so I still have my old iPhone 4 and it has everything in it, in addition to having the backup on two computers in the house.
    I also tried syncing it after the restore since things were missing, but that didn't work either.
    I would appreciate any help so I can use my phone and get going with it.
    Thanks!

    Did you choose the wrong back up? There should be a drop box when you go to "Restore from Back up" in iTunes and your iPhone is plugged in, on the Summary page. Choose the correct back up. If you can't find one, and you still have your device, back up your iPhone 4 again and then choose that back up. Or check for an old iCloud back up if you have one.

  • How can I restore my iPhone 4's iOS5 backup without restoring iOS if the option to "Restore from Backup" doesn't appear when I right click it in the device list?

    (Lengthy question, I know Let me explain.)
    A few days ago, I decided to clear out the music on my computer. So, I copied everything out of iTunes to my external hard drive (podcasts, music, movies, tv shows, books, and apps) and deleted all that I could find, including the iTunes folder. I forgot that the iTunes library files were in there, and those went too; unsurprisingly, I was greeted with an empty library when I next opened iTunes.  After adding all my files back from my external hard drive, everything's all good there - no lost files, everything seems fine. However, since my library is a "new" library, iTunes wishes to erase everything on my iPhone 4. Which is also fine, for everything except my apps.  I'd really rather not lose all my application settings and data that are saved in my backup.  But, I cannot just "Restore from Backup" by right-clicking my device in the list in iTunes, so... I haven't synced my iPhone since I did this, so all of my data is still on there, but it's in the backup as well.  If I have to erase all iTunes content, I definitely have to be able to restore the backup over it since I don't want to lose all my settings and Springboard layout.  I'd prefer not to restore iOS because I don't want to go from iOS5 to 5.0.1, nor do I have 8 hours to download the IPSW file on my super-speedy internet connection   Any guidance on restoring my iPhone from its backup?

    Here's an interesting bit: iTunes will let me restore my iPod touch from backup: it's still running iOS 4.3.3. I figured as much... there's backups showing in the Preferences -> Devices list for both devices (and even my old, long gone iPod touch 2G), but my iPhone (on iOS5) isn't giving me any such option. I remember I had to downgrade before to get the backup restored (something went haywire in the setup assistant, and I couldn't restore a backup from iTunes there)... If it was possible to go to iOS 5.0 rather than 5.0.1 I would just do the same thing again, but iOS 5.0.1 isn't an option. I attached a screenshot. Hopefully Apple can get this nonsense sorted out; I think iOS 5 might be the root of this, somehow.

  • My iPhone's "Other" capacity has suddenly jumped to 56G out of 64G. Yes, you read that right. Every time I try to sync to recalculate, it gets worse! Please help! Can't even restore from backup now, since my backup is all "other"!

    I have fully up-to-date everything on my iPhone and computer and iTunes. I have an iPhone5 and MacBook Pro. I synced my iPhone this morning and it has 12 or so gigs of free space (even with my music and some photos on it). Then I deleted some voice memos in iTunes, and wanted to sync again to reclaim the space. When I tried, it said I had 29G of "other" data and that my phone was way over capacity and can't sync. I tried a few online solutions to force it to recalculate, but now it says it is about 90% "other"!! Only 8G of 64G free, and "other" is the ONLY thing in the summary bar.
    I un-checked music for syncing, thinking that must be the problem. It did not help.  Now there is nothing on my phone except "other", according to iTunes (not even photos).
    I cannot restore from backup now, since the backup includes the giant "other". I don't want to delete my info on my phone knowing a corrupted backup is my only alternative.
    Help!

    Thanks so much Meg. Unfortunately, iTunes is the program I use to perform syncing. I don't really have other outside options. It is also the location of the backup I would use to restore my phone, and my only way to reclaim important data. I am concerned that, since the last backup occurred when the "other" bar was only moderately huge (around 29G I think), that a backup would replicate the problem back onto my phone. 
    My contacts, etc. are all in address book and the calendar app on my Mac.  As far as I know, iTunes is the way to get them back, but iTunes is where the problem is. 
    Any thoughts on this?

  • After restoring from backup on a new phone (same model, just replacement) all my apps are showing as waiting....I have sync'd but still without any joy - this has been going on for hours

    After restoring from backup on a new phone (same model, just replacement) all my apps are showing as waiting....I have sync'd but still without any joy - this has been going on for hours

    It just means some spammer is using your email address as the sender address for their spam. This is very easy to do - anyone can do it simply by changing the From email address in their email program. It does not mean your account was hacked or you have a virus (there are no current Mac viruses on the loose anyway, nor has there been for years).
    There's nothing you can do about it. It can happen to anyone and the spammers will move on to using someone else's email address before long.

  • Hello. I have updated my iphone 4 to ios7 after doing a backup to itunes. I am caught in a loop of being asked to 'restore from backup' as part of setup and that restore failing because the phone already has it's content I believe. Please help if you can.

    Hi. I have an iphone 4 that I have just installed ios7 onto. I had backed up the phone prior.
    After the software install the phone rebooted and showed the 'Hello' setup. I am stuck because as part of the setup it asks me to 'restore from backup via itunes". I dont understand why i need to do this as I thought the ios7 install procedure would restore the phone with it's content.
    I tried to restore from backup but it says I cant because there is not enough space on the phone. If I connect the phone to itunes, it shows that the phone has all my content, especially since iphoto launches and I can see all the photos it wants to download to iphoto off the phone.
    I am caught in a loop. My phone has it's content, but the startup procedure on the phone will not let me progress until I have restored from backup via itunes. But it cant because the phone has no space!!
    The only other option it gives is 'Set up as new phone".
    Can anyone help please. Thanks.

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • Hi, I upgraded my girlfriend's iPad 2 using my iMac, however, her iPad was sync with her PC. Although I've made backup earlier, when I restore from backup the apps doesn't sync back, neither her documents on pages. How can I put then back to her iPad?

    Hi, I upgraded my girlfriend's iPad 2 using my iMac, however, her iPad was sync with her PC. Although I've made backup earlier, when I restore from backup the apps doesn't sync back, neither her documents on pages. How can I put then back to her iPad?

    The backup saves many settings, but it copies photos and other files from the computer back to the iPad after IOS5 wipes the disk.   Plugging it into her computer will re-sync it.

  • How can I see my messages after restoring from backup?

    I have 2.1gb of messages saved in my storage on my 4s but they're not in messages after restoring from backup.
    How can I get all my messages back in my message app because I know they're their it's just a matter of getting them restored into the app.

    When you restored your phone from an old backup, it wiped ALL data from your phone and replaced it with the data from that backup.  It's like your phone went back in time. 
    Your data that was on the phone before you did the restore is now gone forever.  There is no way to get these data back.

  • I backed up my phone because I was upgrading hardware but when I went to "restore from backup" it wasn't listed in iTunes. I can see the files in a folder but not in iTunes.  Is there any way of backing up my phone from the most recent backup?

    Please help

    The following says how to restore from backup.
    iOS: How to back up
    If you go to iTunes>Preferences>Devices you can see if you have an iTunes backup. You need one dated before or the exact time you started the restore.

  • Time Machine will not let me restore from backups after June, 2013.  I can see the files on the external hard drive but Time Machine skips all of them and goes back to June, 2013. Does anyone have any idea what the problem is?

    Time Machine will not let me restore from backups after June, 2013.  I can see the files on the external hard drive but Time Machine skips all of them and goes back to June, 2013. Does anyone have any idea what the problem is?

    rtilghman wrote:
    telling me to buy a new router is NOT a solution.
    And why not? Apple is selling these things like BigMacs. They can't make enough of them. You've been suffering since May because you refuse to get a decent router.
    Can you imagine if a company that makes a refrigerator told me that I needed to upgrade my electrical system to rectify a problem with their device? What kind of response IS that?!?!
    What if the problem with their device is that it requires a new-fangled "grounded" outlet and your circa 1890 house doesn't have grounded outlets. Would you refuse to purchase a $ 25 adapter on principle?

  • Can I back up computer with time machine on lion then reinstall snow leopard and restore from backup safely

    Can I back up computer with time machine on lion then reinstall snow leopard and restore from backup safely?

    If your machine came with Snow Leopard or earlier and you have your install disks, yes, you can reinstall SL. However, you will need to erase the entire hard drive so you will lose all your files. Also note that there are some apps (such as Mail) which can't be downgraded "automatically" such as with a restore from Time Machine. Here is some info on TM:
    http://pondini.org/TM/14.html

  • I had to re-install XP on my laptop. I installed itunes. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active. I have an ipod nano

    I had to re-install XP on my laptop. I then installed itunes again. Now I want to restore my music from backup CD's. But the option device under file is greyed out. I can't select restore from backup. How do I make the restore option active? i have an IPOD nano.

    I think it's QuickTime player causing the problem, when I try to open it I get the windows error that an error has occured
    Let's try swapping out your QuickTime again, taking a few extra explicit precautions this time.
    Head into your Add/Remove programs. uninstall QuickTime.
    Next, we’ll manually remove any leftover program files and folders.
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx. (If “Hide filename extensions for known file types” is enabled on the PC, then those two files will appear as “QuickTime” and QuickTimeVR”.)
    7. Restart your computer.
    Now download and save a copy of the latest standalone QuickTime installer to your hard drive. (We'll run the install from there rather than online.)
    Latest Quicktime Installers … get the one that doesn’t mention iTunes
    Switch off antivirus and antispyware applications prior to the install. Start the install by doubleclicking the QuickTimeInstaller.exe.
    If that install goes through okay, restart the PC and try launching iTunes again. Does your iTunes launch properly now?
    (If you get an error message on the QuickTime uninstall or standalone reinstall, let us know what it says. Include error message numbers if you're getting any.)

  • I had backed up all my info on iCloud on my new iPhone. I am setting up the new phone- I checked back up by iCloud-  Now it says no back up available.  You can set up as a new iPhone or restore from iTunes back up-What should I do?

    I just got a replaced iphone and I checked back up on icloud, entered apple id and password.  Now it says no backups available.  You can set up as a new iphone or restore from an iTunes back up.  What should I pick because I had checked back up with icloud and all of my info was supposed to be backed up?

    You may need to update the software. For now, set up as a new iPhone and then go to Settings > General > Software Update. Update to the latest iOS (5.1.1), then go to Settings > General > Reset > Erase All Content and Settings to go through setup again and see if your backup appears.

Maybe you are looking for

  • Issue with Agent in OBIEE11g(11.1.1.7) - In attachment getting unresolved column error

    Hi All, I have created an agent and scheduled to run for specific time with analysis as my delivery content. It appears in my homepage as well as i can able to receive through email. But in the attachment i am getting the error below: State: HY000. C

  • How to get Firefox to display pdf file in browser (Win 7, FF 19.0, AA 10.1.6, IE 9)?

    After Firefox updated to version 19, when I tried to view a pdf file, the file appeared in a strange new viewer. Seemed to work OK, but I was concerned (didn't know that it is apparently a new feature of FF 19), and wanted the Adobe viewer back. Afte

  • Deprecation guessing game

    Good day, As per the title of this forum "New to Java Technology", I'm expecting to find information for the new comers Regardless how powerfull Java is/could be, finding clear and precise information is a real nightmare! I have an applet which attem

  • How To: Make A Photo Montage

    I have four photos, closeups of people. What I want to do is to arrange them in a semi-circle, next to each other. And I'd want each photo boundary to fade into the photo next to it. What I'm trying to do is to create a label to paste onto CDs. I hav

  • Adjusting User Interfaces

    Hello Experts, I'm trying to find a way to hide the Talent Group and the 9 box grid from the Employee's Profile for Managers (all Talent Assessment and Talent Information screens).  The issue is that I only want to hide the 9 Box and the Talent Group