I have SharePoint Prod and Sharepoint Dev farm envirenment, In my SharePoint Dev I have already "Site1b" an older copy of webapp "Site1a" from Prod and I would like to update it How should I proceed?
Back–up content database from the Source SP2010 SQL server and restore it in Destination SP 2010 SQL Server.
Make Sure that the new Content DB has corect permissions (read & write).
In SharePoint Central Admin create a new WebApplication, (e.g. ttp://application/sitename.
Open SharePoint Management Shell and run the command
Test-SPContentDatabase -name -webapplication http://application/sitename
This command will check the compatibility of the web application with the restored content database.
In SharePoint Central Admin, Navigate to Content Database settings, and remove any existing Content Databases associated with the Web Application http://application/sitename.
Now that you have a Web Application without a content database, you can now Mount the restored content database and attach it to the web Application.
Mount-SPContentDatabase -DatabaseServer -WebApplication http://application/sitename
After the migration completes, then you can configure User profile service for the newly created web application.
Finally you can deploy your custom web part, custom master page, timer job.