« Previous Next »

Thread: backing up site configuration but not sites in iis6

Last post 03-27-2009 8:14 AM by dogstar10. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-26-2009, 4:30 PM

    backing up site configuration but not sites in iis6

    hi,

    i'm having some trouble trying to backup my iis6 settings to move them to my new server with IIS 7...

    on the iis6 server i'm using the following command in the deployment command box :

    msdeploy -verb:sync -source:webserver60 -dest:archivedir=c:\site1archive,encryptPassword=password > -disableLink:contentExtension

    when i run this it looks like its backing up all my sites, which is good, but it also starts backing up the files, which i don't need as i'm copying those seperatly...

    can anyone please help me with what command i need to use to do this and then to import them correctly into the iis7 ?

    also, as the ip address is different on the new server, is there a way of changing the ip address for all of the sites either before or during the import into iis7 ?

    thanks in advance for any advice

     

  • 03-26-2009, 7:02 PM In reply to

    Re: backing up site configuration but not sites in iis6

    msdeploy -verb:migrate -source:webserver60 -dest:archivedir=C:\site1archive,encryptPassword=password -disableLink:contentExtension -verbose > msdeploy.log

    This should create a backup of all your sites and -verbose switch will give you a detailed information of what its backing up in the msdeploy.log file created by piping the trace information.

    For importing it

    msdeploy -verb:sync -source:archivedir=C:\Site1archive,encryptPassword=password -dest:webserver60,computername=<NewServer>

     

     

  • 03-27-2009, 8:14 AM In reply to

    Re: backing up site configuration but not sites in iis6

    excellant, thats just what i needed :)

    thanks very much for clarifying that...

    the only thing i needed to change on the importing was to lose the ",computername=<NewServer>" as i wasn't using the remote service but manually copying over the configuration details myself...

    thanks :)

Page 1 of 1 (3 items)
Microsoft Communities