Backing up Sites with STSADM utility



Similar documents
Using SMIGRATE to Backup, Restore and Migrate Team Sites in SharePoint Products and Technologies 2003

SharePoint Best Practices

DISASTER RECOVERY PLANNING

SharePoint Backup and Recovery along with Best practices for My Sites. Daniel Glenn, MCTS

SharePoint Backup Guide

GeBro-BACKUP. Die Online-Datensicherung. MANUAL SHAREPOINT

SPHOL205: Introduction to Backup & Restore in SharePoint Hands-On Lab. Lab Manual

SharePoint 2010 Backup and Restore Using Central Administrator & Powershell

How to Copy A SQL Database SQL Server Express (Making a History Company)

Implementing and Administering an Enterprise SharePoint Environment

The Essential Guide to Meeting Administrative Challenges in Multi-Tiered SharePoint Environments

SPHOL207: Database Snapshots with SharePoint 2013

Backing Up CNG SAFE Version 6.0

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

Acronis SharePoint Explorer. User Guide

"Charting the Course to Your Success!" MOC B Configuring and Administering Microsoft SharePoint Course Summary

Item Audit Log 2.0 User Guide

By Robert Crane. 11 June 2008

Getting Started with SharePoint: The Basics

PASS4TEST 専 門 IT 認 証 試 験 問 題 集 提 供 者

SharePoint List Synchronizer for Excel. Documentation

Course: 10174B: Configuring and Administering Microsoft SharePoint 2010

FaxCore 2007 Application-Database Backup & Restore Guide :: Microsoft SQL 2005 Edition

Meeting the SLA challenge of Enterprise Backup and Restore for SharePoint. European Microsoft SharePoint Conference 2007

Migrating from SharePoint 2007 to SharePoint

Restoring Sage Data Sage 200

EMC Documentum Connector for Microsoft SharePoint

Mindjet on-premise Installation Instructions for Microsoft SharePoint 2007

Administering the Web Server (IIS) Role of Windows Server

Administering the Web Server (IIS) Role of Windows Server 10972B; 5 Days

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

EMC Replication Manager and Kroll Ontrack PowerControls for Granular Recovery of SharePoint Items

Avatier Identity Management Suite

Planning, Implementing and Managing a Microsoft SharePoint 2003 Infrastructure

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Backup and Restore with 3 rd Party Applications

SharePoint 2010

Microsoft SharePoint 2010 Overview

Philadelphia Area SharePoint User Group June 27th, Ken Choyce RJB Technical Consulting, Inc.

Usage Analysis Tools in SharePoint Products and Technologies

Assured PackOut Best Practices: Create a Back-Up

ITMC 2079 MCTS Configuring and Administering Microsoft SharePoint 2010

Cloud Attached Storage

10972B: Administering the Web Server (IIS) Role of Windows Server

How to move a SharePoint Server bit environment to a 64-bit environment on Windows Server 2008.

MarkLogic Server. Connector for SharePoint Administrator s Guide. MarkLogic 8 February, 2015

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Configure Single Sign on Between Domino and WPS

Application Note - JDSU PathTrak Video Monitoring System Data Backup and Restore Process

Microsoft Administering the Web Server (IIS) Role of Windows Server

How to Configure Microsoft System Operation Manager to Monitor Active Directory, Group Policy and Exchange Changes Using NetWrix Active Directory

TS: Microsoft SharePoint 2010, Configuring

Ten Things to Look for in a SharePoint Recovery Tool

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Myriad Technologies Training 5 Day Level 200 Introduction

DocAve 4.1 Backup User Guide

Course Syllabus. 2553A: Administering Microsoft SharePoint Portal Server Key Data. Audience. At Course Completion.

Central Administration User Guide

Course 10174B: Configuring and Administering Microsoft SharePoint 2010

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

App-V Deploy and Publish

CREDENTIAL MANAGER IN WINDOWS 7

Backing Up and Restoring Microsoft Exchange Server Cloud Attached Storage. August 2012 Version 3.2

Configuring and Administering Microsoft SharePoint 2010

Release Notes RSA Authentication Agent for Web for IIS 7.0, 7.5, and 8.0 Web Server

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

Cascaded Lookup 5.0 User Guide

Database Backup and Restore Instructions. Version 6.5. Instructions

HOWTO: Installation of Microsoft Office SharePoint Server 2007

SumITUp. A Complete Summary for Our Practice Test. TS: Microsoft Windows SharePoint Services 3.0, Configuring

Eylean server deployment guide

DocAve 6 SQL Server Data Manager

Configuring and Administering Microsoft SharePoint 2010 Course 10174B; 5 Days, Instructor-led

Configuring and Administering Microsoft SharePoint 2013 Curso Personalizado en

Archive Attender Version 3.5

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

(DODD own SharePoint 2013 enterprise edition CAL and no license required for external users)

Migrating SharePoint Databases

HarePoint Analytics. For SharePoint. Administrator Guide

Third-Party Backup and Restore Tools

Integrating Business Portal 3.0 with Microsoft Office SharePoint Portal Server 2003: A Natural Fit

Informatica MRS Backup

SharePoint Password Change & Expiration 3.0 User Guide

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

JapanCert 専 門 IT 認 証 試 験 問 題 集 提 供 者

AXIS 70U - Using Scan-to-File

ElearningForce COPY SHAREPOINT LMS PRODUCT SUITE INSTALLATION CHECKLIST. Version: 1.0

Backup and Disaster Recovery Restoration Guide

FaxCore 2007 Database Migration Guide :: Microsoft SQL 2008 Edition

Installing LearningBay Enterprise Part 2

KEYWORDS InteractX, database, SQL Server, SQL Server Express, backup, maintenance.

Contents. Chapter 1: Introduction to SharePoint Chapter 2: Installing Windows SharePoint Services 21. Acknowledgments Introduction

SharePoint 2013 Logical Architecture

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

PageScope Router. Version 1.5. Configuration Guide

TABLE OF CONTENTS. Features - SharePoint Server idataagent. Page 1 of 72 OVERVIEW SYSTEM REQUIREMENTS - SHAREPOINT SERVER IDATAAGENT INSTALLATION

Configuring and Administering Microsoft SharePoint 2010

Transcription:

Backing up Sites with STSADM utility In this video, we will take a look at backing up a Windows SharePoint Services Site Collection using the command line tool STSADM.exe. We will examine the backup process as well as possible business scenarios that would benefit from this procedure. Keep in mind this video explores backing up an entire Site Collection. Please return to SharePoint Screencasts.com for more information on backing up only a specific Site, List, or Library or for more information on backing up an entire SharePoint server. Here we go. Before we get started with the backup procedure itself, just a quick reminder, STSADM.exe is a command line utility for SharePoint. Therefore it operates under the Operating Systems authority. You must have Administrator privileges in the Windows Server Operating System in order to perform STSADM commands. If your SharePoint server is a member server in a domain, you will need to visit Computer Management. Once in Computer Management, you want to make sure that your User account is a member of the Administrator s local group of your server or has been granted similar rights and permissions. If, however, your SharePoint server is also a domain controller, which is not a Microsoft best practice, but can be found in smaller shops, then you want to visit Active Directory Users and Computers, making certain that your User Account is at least a member of the built in group administrators. It is not necessary, however, to make your User a Domain Admin. As membership in Domain Admins would be granting far too much privilege for simply executing STSADM commands. Lastly, keep in mind that STSADM will be executed from the command prompt of the Operating System of the local equipment. Let us get started. Here we have Collaboration Portal, the topmost site in a Site Collection. There are several sites underneath including News, Document Center, Reports, Search, and even the WSS Collaboration Site called Triple H Farms. This entire Site Collection will be backed up using STSADM. Here we are at the command line, notice the path, you need to run STSADM from this residence path of BIN in the 12 hive for SharePoint, or you have to add this entire destination to your path search in your Operating System. Launching STSADM.exe with a /? provides the help files for the Utility. You can see the bevy of operations that can be performed within STSADM. We are going to focus on Backup and

Restore. Notice also that for any more information about any individual operation, you can always type in STSADM.exe help and then name the operation. For instance, here I have used the Help mechanism to look at the Backup operation. For a Site Collection backup, all I need to execute is the STSADM with a o for operation name and the name backup. Then I can provide the following parameters, the url, which is the http call in its entirety to the topmost site in the Site Collection; file name parameter will allow me the UNC path and file name of the destination backup file; overwrite will overwrite the contents of that file name as opposed to the default behavior which is to append. For the purpose of this video, we will focus on Site Collection backups. However, notice the backup operation of STSADM can also be utilized for Catastrophic backups. All you need to do is supply the backup method parameter in place of the URL parameter. This will allow you to perform a backup of an individual Database, Web Application or the entire SharePoint server farm. If you decide to perform a Catastrophic backup, please revisit SharePoint Screencasts.com and check out the video on performing Catastrophic backups using STSADM. Now just a reminder this is our Pre backup Structure We have the Collaboration Portal home, we have several Sub Sites underneath, some of which have children sites of their own. So back here at the Command Prompt, when we execute our STSADM command to backup the portal.home.local topmost site, we simply follow the syntax instructions o for operation, url to specify the entire http called to the topmost site, file name to specify the destination of the backup. I am going to put it this in stsbackups folder that I created just for this purpose and I will call it scbackup.bak. Now if they were already in scbackup.bak file in this folder and it contained the results of a previously issued backup statement, I might want to use the overwrite parameter to replace the contents. It is not necessary at this point since this is the first backup we are creating into this bak file. We will let this run and well our operation completed successfully. Just to prove it, we will take a look at Windows Explorer in that stsbackups folder, sure enough there is a scbackup.bak file and you can see that it contains some content. Now let us go modify the structure. Since we have created a backup, we will go and add Endeavor News underneath the News site. We will also make some changes to the security of Collaboration Portal. So, here we go to the News site and we

will go into Site Actions to create a Sub Site under News. And now that the new Endeavor News site is created we will return to Collaboration Portal and we will go under Site Actions Site Settings People and Groups to a New Group, and we will name this one Endeavor Designers, and we will return to Collaboration Portal. So we have made a couple of changes we have changed the structure, we added Endeavor News under the News site, you can see it in the drop down and then we also changed some of the security parameters of Collaboration Portal by adding a new SharePoint group. Now let us say in our business scenario, the reason we performed our backup before making those two changes to Collaboration Portal was just to follow a Microsoft best practice of backing up a Site Collection before making significant configuration changes to it. Remember this is the way it looked before we added the New Site and this is what it looks like now with the new Endeavor News. So, our management has asked us to return to this structure and we will perform a Restore to make this happen. Now remember a Restore operation in STSADM is really very similar to the backup operation. The parameters are very similar url to the topmost site; filename to point to the backup file that contains the backup content we wish to restore; you also have the overwrite to overwrite the existing contents, we will use these parameters because we are going to be overwriting a healthy existing Site Collection. The only time you do not need overwrite is when you are restoring the Site Collection into a new location such as a separate Web Application, perhaps for testing or sandbox reasons and there is not an existing web site already in that location of the same URL. You also can include custom host headers and it will help SharePoint find the exact content in the Sequel Content Database. Notice this is a Site Collection restore, since we performed a Site Collection Backup, this is the procedure we will use. However you can also restore Catastrophic backup files and for more information on Catastrophic backups and restores, please return to SharePoint Screencasts.com for more advanced videos on Catastrophic recovery. Just one more note before we get started with Restore In order to perform a restore of a Site Collection, you have to be connected to SharePoint as a Site Collection Administrator for the Site Collection being restored. It is not enough to simply be in the Operating System Administrator s Group.

So, we will go ahead and execute the STSADM operation to restore the URL as portal.home.local and the file name that contains the backup we wish to restore is that scbackup.bak file that I placed earlier into the stsbackups folder. We will use the overwrite parameter to make sure it overwrites the existing content. Keep in mind also that this Restore process is replacing data contained in a Sequel Content Database over in Sequel Server. So please make sure that you are using the correct Windows or Sequel Authentication as dictated by your sequel DBA and make sure you are connecting into the sequel instance that contains your SharePoint databases with the authority to write into this SharePoint content database. Well, our operation completed successfully. And just to prove it, let us go and look at the Collaboration Portal. Sure enough, under News, the Endeavor News Sub Site has disappeared and under All Groups in People and Groups, there is no Endeavor Designers SharePoint group. There are many business scenarios that can make use of a Site Collection Backup. Reverting back to Prestructures Only One, another reason might be to move or copy an entire Site Collection to an alternate location. For more information on relocating a Site Collection, please return to SharePoint Screencasts.com for the video on moving a Site Collection using STSADM. This can be performed using the Backup and Restore you just witnessed or the Import Export operations available in STSADM. And yet another might be for the purpose of automating or scripting. STSADM is a non interactive command lying tool. Notice at no point during this demonstration did it prompt us for any additional input, it only accepted the parameters that we typed in the original statement. That makes STSADM a wonderful candidate for automating in a.bak script scheduling with Windows Servers Scheduled Tasks Utility. In this presentation, we examined backing up a Site Collection using STSADM.exe backup operation and reverting to a pre backup structure using STSADM s Restore operation. We explored the use for this procedure, either to Revert a Site Collection or it can be used to move a Site Collection from one web application to another. For more information on other backup options regarding SharePoint and/or moving Site Collections using alternate STSADM operations, please revisit SharePoint Screencasts.com for more videos.