16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Best Practices<br />

Chapter 28: Disaster Recovery in SharePoint <strong>Products</strong> <strong>and</strong> <strong>Technologies</strong> 783<br />

database corruption, or any other form of data loss. A well-planned <strong>and</strong> thoroughly<br />

tested database recovery strategy <strong>and</strong> reliable database protection software are essential<br />

to maintain the availability of SharePoint <strong>Products</strong> <strong>and</strong> <strong>Technologies</strong> solutions.<br />

The first step in building a disaster recovery plan is to create a strategy to monitor<br />

server health. You can rely on performance counters (which are discussed in<br />

detail in Chapter 10, “Performance Monitoring in <strong>Microsoft</strong> Office SharePoint Portal<br />

Server 2003”) <strong>and</strong> diagnostic logging to provide this information. Actively capturing<br />

real-time event information is useful only if the responsible parties are proactively<br />

monitoring server health <strong>and</strong> ready to act upon this information when necessary. If<br />

problems arise, you should perform the following tasks:<br />

■ Minimize the impact of the problem.<br />

■ Perform a root-cause analysis to determine the exact nature of the problem.<br />

■ Correct the problem.<br />

■ Create a plan for providing a long-term solution <strong>and</strong> a reusable action plan<br />

should the problem reoccur.<br />

This section contains best practices that should be considered during the creation of<br />

a disaster recovery plan.<br />

Backup <strong>and</strong> Restore Strategy<br />

To provide the most flexibility when restoring your customer’s data, use the Share-<br />

Point Portal Server Data Backup <strong>and</strong> Restore utility in combination with using the<br />

Stsadm.exe utility to back up the Windows SharePoint Services site collections <strong>and</strong><br />

My Sites. The backups should be made directly to a shared disk location <strong>and</strong> then<br />

backed up to tape following your best practices.<br />

Back Up Regularly Using Scripts<br />

Create scripts using Stsadm.exe <strong>and</strong> Spsbackup.exe to back up all the databases <strong>and</strong><br />

indexes on a schedule. It is highly recommended that you perform backups when<br />

server usage is low. Because most large companies have defined requirements on<br />

mission-critical backups <strong>and</strong> restores, your schedule of backups will depend on<br />

your customer’s requirements. You might need to back up more or less frequently if<br />

your customer needs to meet a Service Level Agreement or has more stringent data<br />

recovery st<strong>and</strong>ards in place.<br />

The following code example uses the SharePoint Back And Restore tool to<br />

back up a portal site. The code can be copied into a batch file.<br />

"C:\Program Files\SharePoint Portal Server\BIN\spsbackup" /portal site<br />

"http://woodgrove /file C:\\backup\MyPortal siteBackup.bak /overwrite

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!