Ask a questionAsk a question
 

QuestionRestore from Backup did not create IIS Website

  • Wednesday, November 04, 2009 4:32 PMPedro Samuel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    I'm having a problem with a restore from backup process.

    When the restore runs, it tells there is a concurrency problem with the OWTimer service, and because of that, the content database isn't attached to the Web Application.

    Ok, so far I thought that adding the content database, through stsadm or via central administration would work. It did in a VM i tried, however in a production machine it didn't create the IIS Web Site when the web application was created.

    Any thoughts to what could cause this behaviour?

    Regards

All Replies

  • Wednesday, November 04, 2009 5:42 PMAndré Lage Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When you say your restore by stsadm, what commands are you using?
    How are you making the Backup?
    Do you have develomp and a WSP solution?
    Backup and restore will only backup databases, you will need to prevent other situation like you "c:\inetpub\wwwroot...\virtualdirectories\[name]", make a backup and restore on production, there are the web.config and safe controls you add to use on your sharepoint site, and other support files. 
    IIS Web Site are on metabase file, will not came on your Sharepoint backup, you will need to create on your production sharepoint Site.

    You can use stsadm to backup/Restore command on your Site collection to restore your Sharepoint content Database on production Server  

    Backup: Stsadm operation (Office SharePoint Server)
    example:
    stsadm -o backup -url [site] -filename [path]
    on link verify other properties you can use on backup

    Restore: Stsadm operation (Office SharePoint Server)
    stsadm -o restore -url [site] -filename [path]
    on link verify other properties you can use on restore



    André Lage Microsoft SharePoint, CRM and Sybase Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/
  • Wednesday, November 04, 2009 6:19 PMPedro Samuel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for your reply.

    Well now, I just have a problem, when I restored, it wrote in the restore xml file that my configuration database was the one of the old server. Is there a simple way to change this? When i access the iis site i get the message: "Cannot connect to the configuration database." which makes sense since I don't have permissions on my application pool id account to access it, so I need to change it to the new configuration database to access the new web site.