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:

  1. PowerShell To Add Secondary Site Collection Admin
  2. PowerShell To Create a New Site Collection
  3. PowerShell To Delete Site Collection
  4. PowerShell To Retrieve All Site Collections for Web Application
  5. PowerShell To List Site Template

2 Comments so far »

  1. 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.

  2. 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.

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Comment moderation is enabled. Your comment may take some time to appear.

Alpesh Nakar's Blog Alpesh Nakar's Blog | SharePoint Consultant's Notes From The Field

Alpesh Nakar's Blog

« Previous Page
SharePoint 2007 Presentations: Enterprise Search Deep Dives « Alpesh Nakar's Blog

SharePoint 2007 Presentations: Enterprise Search Deep Dives

New on MSDN – 6 presentations on Enterprise Search. Dive into it!

Overview

This download presents packaged presentations and videos of the following conference sessions:

  • Enterprise Search Strategy and Opportunities (SharePointServer2007SearchDeepDiveA.exe)
    This session starts with an overview of Microsoft’s enterprise search strategy, reviews the various products that it affects, and outlines what is new in SharePoint Search for the 2007 Microsoft Office system. Lastly, it discusses opportunities for partners building on the platform.
  • SharePoint Search Extensibility (SharePointServer2007SearchDeepDiveB.exe)
    This session addresses the core extensibility scenarios in Microsoft Office SharePoint Server 2007 (MOSS) search, such as customizing the user interface, custom search using client applications, and crawling new repositories, including line-of-business data. It also covers the administration object model.
  • Protocol Handlers and IFilters (SharePointServer2007SearchDeepDiveC.exe)
    Learn about the overall architecture of Microsoft Office SharePoint Server 2007 (MOSS) search. Protocol Handlers and iFilter interfaces are described in detail with code examples.
  • Customizing and Extending Search in Office SharePoint Server 2007 (SharePointServer2007SearchDeepDiveD.exe)
    Learn how to customize Microsoft Office SharePoint Server 2007 (MOSS) search user interface and build search based applications in this session. Branding, Web parts and extending search using the object model and Web services are discussed.
  • Business Data Search (SharePointServer2007SearchDeepDiveE.exe)
    The Business Data Catalog (BDC) enables search to reach into line-of-business repositories and provide integrated search results. Learn about the Business Data Catalog including the design motivations, scenarios, and the apis.
  • SharePoint Search Deployment Scenarios(SharePointServer2007SearchDeepDiveF.exe)
    This session reviews both Windows SharePoint Services 3.0 and Office SharePoint Server 2007 search topologies, and various deployment scenarios such as a collaboration environment, enterprise portals, and internet facing portals.

Downloads from here

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Comment moderation is enabled. Your comment may take some time to appear.

PowerShell: Free Bumper Sticker « Alpesh Nakar's Blog

PowerShell: Free Bumper Sticker

Show your support for Microsoft Windows PowerShell with a FREE PowerShell Logo bumper sticker!  image
Enter your shipping information in the form below and we will send you a couple stickers – one for your car, one for you laptop, etc.  For showing your PowerShell support, you will automatically be entered for a chance to win this new PowerShell Skinned XBox 360.
You will also get special offers and discounts for /n software products including our NetCmdlets for Windows PowerShell, and our upcoming PowerShell Remoting solution.

Sign up here

Comments so far »

  1. University Update - Microsoft Windows - PowerShell: Free Bumper Sticker said,

    Wrote on August 23, 2007 @ 12:46 am

    [...] PowerShell: Free Bumper Sticker » This Summary is from an article posted at SharePoint Consulting, SharePoint Installations, [...]

  2. TipsoSaurus said,

    Wrote on August 25, 2007 @ 9:25 pm

    its interesting one. Although, its mostly for administrators and there won’t be a huge use of this shell for desktop based computers.

  3. Brandon Chapa said,

    Wrote on February 6, 2008 @ 5:12 am

    Just looking forward to recieving those stickas bub!
    Brandon Chapa
    22 third st.
    Bangor,ME 04401

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Comment moderation is enabled. Your comment may take some time to appear.