sharepoint evolution conference - sharepoint 2013 and data protection manager 2012

Post on 08-May-2015

2.938 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SharePoint 2013 Backup and Recovery with DPM 2012

IT111

Chris Whitehead and Sam Hassani

Chris Whitehead, Premier Field Engineer, MCSM, MCM: SharePoint 2010 Microsoft Premier Field Engineering (PFE) http://sharepoint.microsoft.com/blogs/fromthefield chris.whitehead@microsoft.com @mrwhitey PFE EMEA SharePoint Tech Lead, PFE SharePoint

2013 Ignite instructor

Sam Hassani, Principal Consultant, MCSM, MCM: SharePoint 2010 BrightStarr - http://www.brightstarr.com/ sam@samhassani.com www.samhassani.com @samhassa SharePoint 2013 Beta Engineer, PFE SharePoint

2013 Ignite instructor

Agenda

SharePoint Backup/Restore Recap What Does DPM Give Us? Protecting SharePoint Data Under the Hood Recovering SharePoint Data DPM vs. SQL Server Backup Summary

SharePoint Backup/Restore Recap

SharePoint backup/restore capabilities Configuration settings Service Applications Unattached content database recovery SQL Snapshot support

SharePoint backup/restore limitations In-line item level recovery Configuration and Central admin database restore

What Does DPM Give Us?

DPM capabilities In-line item level recovery Configuration and Central Admin database restore Less storage required for backups Backup to the cloud Role based backup and recovery management and

administration Protection of other Microsoft products e.g. Hyper-V

DPM limitations Service applications

DPM 2012

Online Snapshots

Disk-Based

Recovery

Active Directory

Tape-Based

Backup

Data Protection Manager

Up to

Every 15 minutes

Disaster Recovery

with offsite replication and tape

Data Protection Manager

DPM Scalability

100 DPM servers or 50,000

data sources centrally

managed

Then, per DPM server…

2000 SQL Server databases

100 production servers and 3000 Windows client machines

80TB Exchange data

25TB SharePoint data

ProtectingSharePointData

The SharePoint (WSS) VSS Writer

Volume Shadow Copy Service (VSS)

A single VSS reference writer

Full farm backup and restore for catastrophe

Configuration

Create and configure a protection group

Configure the WSS Writer service with ConfigureSharePoint.exe

Install the DPM agent

ConfigureSharePoint.exe

One Tick ‘Farm’ Protection

SQL Server 1

E:\

+ContentDB1.mdf

+ContentDB1.ldf

F:\

+ContentDB2.mdf

+ContentDB2.ldf

G:\

+ConfigDB.mdf

+ConfigDB.ldf

SQL Server 2

D:\

+ContentDB3.mdf

+ContentDB3.ldf

E:\

+ContentDB4.mdf

+ContentDB4.ldf

Backup: Data Flow

SharePoint Server Database Servers

DPM Server

VSS Writers

Backup: Data Flow

SharePoint Server Database Servers

DPM Server

VSS Writers

Demo

PROTECTING SHAREPOINT DATA

Under The Hood

Before Backup

DPM Filter – Volume Map

SQL Server 1

E:\

+ContentDB1.mdf

+ContentDB1.ldf

F:\

+ContentDB2.mdf

+ContentDB2.ldf

G:\

+ConfigDB.mdf

+ConfigDB.ldf

Start of Synchronisation Window

SQL Server 1

E:\

+ContentDB1.mdf

+ContentDB1.ldf

F:\

+ContentDB2.mdf

+ContentDB2.ldf

G:\

+ConfigDB.mdf

+ConfigDB.ldf

Volume (actual disk blocks)

Time = 10:00

DPM Filter – Volume Map

1st change

1 2 3 4

Volume (actual disk blocks)

Time = 10:01

DPM Filter – Volume Map

File Write Changed Blocks Noted

2nd change

7

1 2 3 4

5

6

8 9

Volume (actual disk blocks)

Time = 10:06

DPM Filter – Volume Map

File Write Changed Blocks Noted

3rd change

11 7

1 2 3 4

12

5

6

15

8 9

10 13 14

Volume (actual disk blocks)

Time = 10:18

DPM Filter – Volume Map

File Write Changed Blocks Noted

Synchronisation starts (express full backup)

11 7

1 2 3 4

12

5

6

15

8 9

10 13 14

Volume (actual disk blocks)

Time = 10:30

DPM Filter – Volume Map

Synchronization VSS Snapshot Taken

Synchronisation starts (express full backup)

11 7

1 2 3 4

12

5

6

15

8 9

10 13 14

11 7

1 2 3 4

12

5

6

15

8 9

10 13 14

Volume (actual disk blocks)

Time = 10:30:01

DPM Filter – Volume Map

Synchronization Changed Blocks Sent to DPM

4th change

11 7

1 2 3 4

19 12

5 16 17 18

6

15

8 9

10 13 20 14

Volume (actual disk blocks)

Time = 10:30:02

DPM Filter – Volume Map

Synchronization File I/O ContinuesFile Write

Synchronisation ends

11 7

1 2 3 4

19 12

5 16 17 18

6

15

8 9

10 13 20 14

Volume (actual disk blocks)

Time = 10:30:03

DPM Filter – Volume Map

VSS Snapshot Released

Volume Map ResetFile Write

19

16 17 18

20

Efficient disk storage without duplication

A B C D E F G

Production Data

H A B C D E F G

DPM Replica

H

Original Data (10:00)

Time = 10:00

Efficient disk storage without duplication

Time = 10:15 – Data changes

A B I D E J G

Production Data

H A B C D E F G

DPM Replica

H

Original Data (10:00)

Efficient disk storage without duplication

Time = 10:30 – Data is protected

A B I D E J G

Production Data

H A B C D E F G

DPM Replica

HI J

Original Data (10:00)

1st

Express Full Backup (10:30)

Efficient disk storage without duplication

Time = 10:30 – Data is protected

A B I D E J G

Production Data

H A B

C

D E

F

G

DPM Replica

HI J

Original Data (10:00)

1st

Express Full Backup (10:30)

Efficient disk storage without duplication

Time = 10:30 – Data is protected

Production Data DPM Replica

DPM Recovery Point Area

C F

A B I D E J G H A B D E G HI J

Original Data (10:00)

1st

Express Full Backup (10:30)

Efficient disk storage without duplication

Time = 10:52 – Data changes

Production Data DPM Replica

C F

K B I D E J L H A B D E G HI J

Original Data (10:00)

1st

Express Full Backup (10:30)

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:00 – Data is protected

Production Data DPM Replica

C F

K B I D E J L H A B D E G HI JK L

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:00 – Data is protected

Production Data DPM Replica

C F

K B I D E J L H

A

B D E

G

HI JK L

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:00 – Data is protected

Production Data DPM Replica

K B I D E J L H B D E HI JK L

AC F G

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:07 – Data changes

Production Data DPM Replica

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

B D E HI JK L

AC F G

K B I D M N O P Q

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:30 – Data is protected

Production Data DPM Replica

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

3rd

Express Full Backup (11:30)

B D E HI JK L

AC F G

K B I D M N O P QM N O P Q

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:30 – Data is protected

Production Data DPM Replica

AC F G

K B I D M N O P Q B D

E H

I

J

K

L

M N O P Q

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

3rd

Express Full Backup (11:30)

DPM Recovery Point Area

Efficient disk storage without duplication

Time = 11:30 – Data is protected

Production Data DPM Replica

K B I D M N O P Q B DIK M N O P Q

AC EF G HJ L

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

3rd

Express Full Backup (11:30)

DPM Recovery Point Area

Efficient disk storage without duplication

To recover to: 11:00

Production Data

A

B

C

D

EF G

DPM Replica

H

I

J

K

L

M N O P QK B I D E J L H 8 Blocks Restored

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

3rd

Express Full Backup (11:30)

DPM Recovery Point Area

Efficient disk storage without duplication

To recover to: 10:00

Original Data (10:00)

1st

Express Full Backup (10:30)

2nd

Express Full Backup (11:00)

3rd

Express Full Backup (11:30)

Production Data

A

B

C

D

EF G

DPM Replica

H

I

J

K

L

M N O P QA B C D E F G H 8 Blocks Restored

DPM Recovery Point Area

Recovering

SharePoint

Data

Recovery: Data Flow (Databases)

SharePoint Server Database Servers

DPM Server

Recovery: Data Flow (Sites, Lists, and Items)

SharePoint Server Database Servers

DPM Server

CMP

Recovery: Data Flow (Sites, Lists, and Items)

SharePoint Server Database Servers

DPM Server

CMP

1010010 101 1101011 00010101 010010 10100 1010111 100 1010 01001

Recovery: Data Flow (Sites, Lists, and Items)

SharePoint Server Database Servers

DPM Server

Recovery Farm

CMP

Demo

RECOVERING SHAREPOINT DATA

Recovering SharePoint Data

Recovery farm needed in some cases Recovery farm web application must be named

“DPMRecoveryWebApplication” Full farm recovery requires same farm

configuration Caveats of SharePoint export/import

DPM vs. SQL

Server Backup

SQL Server Backups

250 GB of SQL Server databases

30 GB 15 GB 12 GB 18 GB

Assume 70%

compression during

backup

75 GB per backupFor 2 weeks:

75 GB x 14d = ~1 TB

100 GB 50 GB 40 GB 60 GB

DPM Backups

250 GB DPM replica

For 2 weeks:

250 GB + 375 GB = 625 GB

100 GB 50 GB 40 GB 60 GB

375 GB DPM recovery point area

250 GB of SQL Server databases

10 GB 5 GB 4 GB 6 GB

Assume 10% data

change rate per day25 GB per day x 13

days

DPM Backups

250 GB DPM replica

For 2 weeks:

250 GB + 168 GB = 418 GB

100 GB 50 GB 40 GB 60 GB

168 GB DPM recovery point area

250 GB of SQL Server databases

5 GB 2.5 GB 2 GB 3 GB

Assume 5% data

change rate per day12.5 GB per day x 13

days

Summary

DPM compliments the out of the box backup and recovery tools, providing simple, fast, and automated backup and recovery

Thank you for attending!

top related