<

Backup SharePoint site collections and sites with STSADM

Published on
6,457 Points
3,357 Views
1 Endorsement
Last Modified:
The STSADM command is extremely useful in the management of site collections and sub-sites.  Here are a few commands that I have used in my daily SharePoint backups:

*  Back-up an entire Site Collection to a single file:
 
stsadm -o backup -url http://sitecollection -filename c:\site_collection_backup

Open in new window


*  Back-up one site to a single file:  
 
stsadm -o export -url http://site -filename c:\site_backup

Open in new window


*  Restore a site collection from that file:  
 
stsadm -o restore -url http://sitecollection -filename c:\site_collection_backup

Open in new window


*  Restore a site from that file:  
stsadm -o import -url http://site -filename c:\site_backup

Open in new window

1
Comment
5 Comments
 

Expert Comment

by:vikassankla
Worth Full
0
 

Expert Comment

by:nme86
Great Thnx.
0
 
LVL 7

Expert Comment

by:meispisces
nice!
0
 

Expert Comment

by:KonfigurationKing
@adkinsmatthew

Does this command back up all Data Base Objects associated with the SP instance?
0
 

Expert Comment

by:iCandoall
Brilliant article!!!!!!!!1
0

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Join & Write a Comment

This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month