« Previous Next »

Thread: Archive Import Issues

Last post 06-29-2009 2:04 PM by n2ntech. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-29-2009, 11:41 AM

    • n2ntech
    • Not Ranked
    • Joined on 06-29-2009, 10:56 AM
    • Posts 2

    Archive Import Issues

    I've successfully archived a website from a SBS2003 server and then I copied over the archived folder to the new SBS2008 folder. From there I had to edit the "archive.xml" file to force the website to import into the C partition instead of the E (E is where the inetpub folder was located on the SBS2003 server). The command successfully runs and creates a website in IIS7 on the SBS2008 server, but none of the content is there. I've pasted the command that I'm running below for suggestions. I'm guessing maybe I don't want to manually edit the archive.xml file, but I can't even get the import to run until I remove in references of the old E:\Inetpub from the SBS 2003 server.

     Archive Command being run on the SBS 2003 server:
    C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:sync  -source:metakey=l
    m/w3svc/10 -dest:archivedir=e:\troop101archive > msdeployarchive.log

    Archive Import Command being run on the SBS 2008 server:
    C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:migrate -source:archive
    dir=c:\troop101archive -dest:metakey=lm/w3svc/10 > msdeploysync.log

    Thanks in advance for the assistance.

  • 06-29-2009, 2:04 PM In reply to

    • n2ntech
    • Not Ranked
    • Joined on 06-29-2009, 10:56 AM
    • Posts 2

    Re: Archive Import Issues

    I was able to fix this by running the command prompt as "Administrator".

    Thanks

Page 1 of 1 (2 items)
Microsoft Communities