Link to home
Start Free TrialLog in
Avatar of fertigj
fertigj

asked on

Copy production Sharepoint server to a test server

Hello..

I am trying to copy a production sharepoint server/db {wss 3.0 v12.0.0.4518/sql2005} to a test lab.  

ie
  Sharepoint -->  Sharepoint-test
  Sharepointdb -->sharepointdb-test

I used stsadm to create a full backup {stsadm -o backup -dir \\someserver\someshare -backupmethod full} and after a little messing around I was
able to get it to finish without errors.   The strange part of this is the backup file is only 5 gigs, but I was expecting something close to 100gbs.  More specifically, the production sharepoint server only has 50gb's free at the moment...and when I tried to save the backup to the local drive stsadmin threw an error saying that it would need 100gb's for the backup.

So assuming my 5gb backup is good {just testing for now},  I setup a test sp box and sp db.   I ran the restore using stsadmin.    When I looked at the web application list, it was showing the restored applications with the production urls.   Will this impact the production environment?   If so how do I go about fixing this?

At this point I know I will prob need to rebuild the test environment, but in the end I need to have a copy that is as close to the production version if possible.   What is the best way to approach this?
Avatar of garignack
garignack

Make sure you update your alternate access mappings on the test environment.  Goto Central Admin -> Operations -> Alternate Access Mappings and update these to point to your test urls.

Also ensure that your IIS and DNS settings are correct to point traffic to the test servers / sites.
I recommend you use the SharePoint administrative toolkit v 4.0.  It come with tools to move site collections from farm to farm.  It has a lot of documentation with it as well.  It is what I use.  If in that excercise you have a specific question, put it out there and good luck!
ASKER CERTIFIED SOLUTION
Avatar of webmaister
webmaister

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fertigj

ASKER

Thanks...  I followed the procedure listed in the last comment and everything went as expected.   The only problem that i have to solve yet is there are some links on the test site that still refer to the production site.