Granular Backup and Restore in SharePoint 2010 (Part 2)Written By: Arshad Ali -- 11/3/2010 -- join -- contribute -- (0) comments --
Categories: Configurations, Infrastructure, SharePoint 2010, SharePoint Foundation 2010, System Administration Backing-up and Restoring Site Collection using STSADM (SharePoint Administrative) toolSTSADM is a SharePoint administrative tool which generally resides in... "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN" ...on a SharePoint 2007 server and in... "C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN" ...on a SharePoint 2010 environment. This command is run on the server, by the people who are member of Administrators group. In this section we are going to see how this tool can be used to backup a site collection and restore it back when required. These are general command formats for abackup and restore of site collection. stsadm -o
Backup -URL <url of the site collection to be backed up> -Filename <location
and name of the file which gets created to store backed up data> -Overwrite
stsadm -o
Restore -URL <url of the site collection to restore to> -Filename <location
and name of the backed up file to restore from> -Overwrite
The Overwrite switch is required to overwrite a file if it already exists on the specified location during a backup operation and, similarly, overwrite a site collection if it already exists with same name on the specified URL during restore operation. To learn about the parameters of this command, follow this link.
stsadm -o
Backup -URL http://mktaraliw2k8r2:8081 -Filename \\MKTARALIW2K8R2\SharePointBackupFolder\PrimarySiteCollection.dat
-Overwrite
stsadm -o Restore -URL http://mktaraliw2k8r2:8081 -Filename
\\MKTARALIW2K8R2\SharePointBackupFolder\PrimarySiteCollection.dat -Overwrite
Notes
Next Steps
|
|
Sponsor Information |
|
privacy | disclaimer | copyright | advertise | contribute | feedback | about Some names and products listed are the registered trademarks of their respective owners. MSSharePointTips.com | MSSQLTips.com |