<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Backup SharePoint site collections and sites with STSADM

Published on
6,521 Points
3,421 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

IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Join & Write a Comment

Basic Overview of office 365 user portal
Check How effective MS Exchange Expert thinks Exchange Mailbox Recovery by SysTools IS. Visit the Official site to get detailed information:- https://www.systoolsgroup.com/exchange-recovery.html (https://www.systoolsgroup.com/exchange-recovery.h…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month