locked
Using MSDeploy to archive RRS feed

  • Question

  • User1009749980 posted

     I'm migrating from IIS6 to 7 and am following the instructions at http://technet.microsoft.com/en-us/library/dd569105.aspx where the procedure to migrate by archive is explained. When i run:

     msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1-dest:archivedir=c:\archive >msdeployarchive.log

    the command line echos back:

    Error:  The property 'value' is marked as secure. An encryption password must be
     specified in order to deploy this property.
    Error count: 1

    It's unclear what 'value' refers to.

    The designated archive location has copies of the source files themselves but I don't see where the metadata  is being stored. The log file itself makes no reference to errors and includes lines like:

     Action: Adding child metaKey (/lm/w3svc/1)

     but no indication of where such data is physically stored.

    Would appreciate some help interpreting this output.

    thx

    --steve...

    Friday, March 20, 2009 11:46 AM

Answers

  • User1912363967 posted

    As its explained here http://technet.microsoft.com/en-us/library/dd569001.aspx you need an encryption password to create the archive and to deploy the archive for your security. Please re-run the command as below

    msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1-dest:archivedir=c:\archive,encryptPassword=yourpassword >msdeployarchive.log

    and when deploying the archive to a server

    msdeploy -verb:sync -source:archivedir=C:\archive,encryptPassword=yourpassword -dest:auto,computername=PCName > msdeployarchive.log

    Let me know if you need more info.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, March 20, 2009 4:27 PM

All replies

  • User1912363967 posted

    As its explained here http://technet.microsoft.com/en-us/library/dd569001.aspx you need an encryption password to create the archive and to deploy the archive for your security. Please re-run the command as below

    msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1-dest:archivedir=c:\archive,encryptPassword=yourpassword >msdeployarchive.log

    and when deploying the archive to a server

    msdeploy -verb:sync -source:archivedir=C:\archive,encryptPassword=yourpassword -dest:auto,computername=PCName > msdeployarchive.log

    Let me know if you need more info.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, March 20, 2009 4:27 PM
  • User1009749980 posted

    that did it - thx!

    Saturday, March 21, 2009 8:30 AM
  • User820925153 posted
    ..
    Sunday, May 16, 2010 3:40 PM