Did you know... how to copy an entire SharePoint site

3:46 PM

Use stsadm.exe to create a backup of the entire site.

Open the command line and enter:

"c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe" -o backup -url http://www-dev-19/ -filename c:\fullbackup -overwrite

The root SharePoint site at www-dev-19 is backed up in its entirety to a file on C:\ called fullbackup. The exported site generated a 411Mb file on C:\.

Now go into your SharePoint Administration tool, and create a new Site Application. Make note of the site name and port number. In this case, we created a new site application on port 2091.

Then go back into the command line and enter:

"c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe" -o restore -url http://www-dev-19:2091/ -filename c:\fullbackup -overwrite

The data is imported from the file into the new site application database.

We have now created a duplicate of our original site on port 80 on port 2091.

You Might Also Like

0 comments

Popular Posts

Like us on Facebook