RE: Change site type

From: Wei-Dong XU [MSFT] (v-wdxu_at_online.microsoft.com)
Date: 02/11/05


Date: Fri, 11 Feb 2005 06:07:01 GMT

Hi Bill,

I have two suggestions on this issue for you:
1. use stsadm command
you can use the stsadm to backup the subsites and then remove/recreate the
top-level site with the template you prefer. After that, use the stsadm to
restore the sub site. The commands:
back up site:
stsadm.exe -o backup -url http://server_name/site -filename backup.dat
restore site:
stsadm.exe -o restore -url http://server_name/site -filename backup.dat
Backing Up and Restoring Web Sites
http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/
stsf19.mspx

2. programmatically
You can develop one console/window type utility to use the SPS Ojbect model
on the back up and restore. All the operations above can be accomplished by
the SPS OM. The corresponding methods are listed for you:
Backup Method (SPSiteCollection class)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/tsamSPSiteCollectionBackup_SV01013147.asp

Restore Method (SPSiteCollection class)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/tsamSPSiteCollectionBackup_SV01013147.asp

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: Backup/Restore and Access Sync
    ... it is never a good idea to restore a backup with a previous ROM ... As far as Access support goes, there isn't any currently, and really hasn't ...
    (microsoft.public.pocketpc.activesync)
  • Re: stsadm.exe
    ... Stsadm only works at the site collection level. ... Yes, Stsadm will create the site for you on restore, and it will maintain ... >only backup. ... > environment is IIS/WSS on one server, SQL Server on another. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Backup and Restore
    ... There is another utility beside stsadm called ... this option will not backup ... will not need an SQL backup to restore your content. ... site collections you'll have to either back up SQL databases, ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Backing up and restoring SBS Sharepoint Services SQL database with
    ... I have carried out both an smigrate to disk as well as an stsadm to disk as ... > SPS Backup is only available with SPS 2003 and only backs up SPS 2003. ... > syncronization of several databases that SPS 2003 does. ... The restore process you intend to use. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Backup and Restore
    ... you can use an app by webfox inc. called Backup ... STSADM backs up the entire Site Collection. ... will not need an SQL backup to restore your content. ... site collections you'll have to either back up SQL databases, ...
    (microsoft.public.sharepoint.windowsservices)