PowerShell To Backup Site Collection
With Windows PowerShell you can now back up your SharePoint Site Collections either one off or using scripts that can be scheduled.
Although you can use the Central Administration to back up your site collection as a once off task, you get additional options using Windows PowerShell, such as using SQL Snapshots for backing up SharePoint 2010 Site Collections.
Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak
Get-SPSiteAdministration http://server_name/sites/site_name | Backup-SPSite -Path C:\Backup\site_name.bak
Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak –UseSqlSnapshot
Note: You can use the UseSqlSnapshot parameter only if you are hosting your content database on SQL Server Enterprise Edition / SQL Server Developer Edition.
Windows PowerShell also gives you the flexibility of backing up several site collections using the thread parameter.
Related posts:
- thanks....
- Great Dude!! This work arround really help me! Thanks a l...
- Hello Alpesh, Thanks for above. I tried the above, more spe...
- This could also be achieved by deactivating the farm feature...
- How do I disable social media components for a particular si...
- We have created My site on sharepoint 2010, and recently som...
- Anything in the event viewer?...
- For Windows 7 the path is: C:\Users\USERNAME\AppData\Roamin...
- Just what I was looking for! Thank You!!!! You just made my ...
- Hi i keep getting 0x80070005 access denied error when tryin...







Kane said,
Wrote on May 5, 2010 @ 2:08 pm
Hi, I need to ask something that regard the lookup field for the sharepoint site custom template.
Once I create a site based on the custom template, all the lookup field for the list are empty.
Any solution for this? please.
Bill Smith said,
Wrote on May 7, 2011 @ 5:41 am
Could you kindly give me the instruction to use PowerShell to backup a site collection.