SharePoint Designers

All about Branding & Customizations in SharePoint

Backup and Restore site in MOSS 2007

It happens to everyone that you need to move the same Microsoft Office SharePoint (MOSS) site to new location. At this time you can use the inbuild commands to backup the site from existing location and restore it to somewhere else.

MOSS has a powerfull command "stsadm" using that you can do it easily.

To use stsadm commands, open the command prompt and navigate to

c:\program files\common files\microsoft shared\web server extensions\12\bin


To Backup Site type the command

stsadm -o backup -url http://servername:portnumber/siteName -filename DestinationFolderPath/Backup Filename(c:\backupfilename)

This command will create a file to destination folder containing backup of the source site.

Once you have the backup file, that can be restored in MOSS by a single commands as below in sequence.
Steps to Restore Site
Create a web application and create a site with same site template using Central Administrator which you have backed up.
Type the command
stsadm -o restore -url http://servername:portnumber/siteName -filename backupfilepath(c:/backupfilename) -overwrite

This will restore the site to your defined location.

To get more information about sharepoint consulting visit http://www.binaryrepublik.com/

Views: 34

Tags: consulting, sharepoint

Comment

You need to be a member of SharePoint Designers to add comments!

Events

Birthdays

© 2013   Created by Christian Ståhl.

Badges  |  Report an Issue  |  Terms of Service