How do i move one site collection from one server to another server in wss 3.0??

Hii All Experts,
 i have wss 3.0 on dev and prod server. in prod server i have three site collections. so i need to move only one site collection from prod server to dev server. i can take whole farm back and restore. but i do not have option to back up only one site collection.

I just want to move only one site collection from prod to dev server.

Thank you in advance.
guessdipAsked:
Who is Participating?
 
Brad HoweConnect With a Mentor DevOps ManagerCommented:
Hi,

Ironically, I just ran through this today. Here is what I did.

First create the site collection on the second server. You at least need a site collection created with the required ContentDB.

Secondly, on 1st SERVER you will do the backup.
 1. Open CMD
 2. CD "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
 3. stsadm -o backup -url http://somedomain.com/sites/HR -filename c:\CorporateContent.bak
           results : Operation completed successfully.

Lastly, on 2nd SERVER you will do the restore.
 1. Open CMD
 2. CD "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
 3. stsadm -o restore -url http://somedomain.com/sites/HR -filename D:\SharepointBackups\CorporateContent.bak -     overwrite
            results : Operation completed successfully.

This restores the site collection, Theme, Content, sub-sites, and security.

Cheers,
Hades666
0
 
Brad HoweDevOps ManagerCommented:
Hi,

You can use Backup and restore: Stsadm operations (Office SharePoint Server):

To back up a site collection, you must use the following stsadm command.
http://technet.microsoft.com/en-us/library/cc287967.aspx

ex: stsadm –o backup –url <URL of the site collection> -filename <Name of the backup file>  

To restore a site collection, you must use the following Stsadm command.
http://technet.microsoft.com/en-us/library/cc288929.aspx

ex: stsadm –o restore –url <URL of the site collection> -filename <Name of the backup file>  

* for the restore you will need the same Content DB Name already available or you can use the [-newdatabaseserver] <new database server name>  option to create one on the fly.

Cheers,
Hades666
0
All Courses

From novice to tech pro — start learning today.