sharepoint evolution conference - sharepoint 2013 and data protection manager 2012

54
SharePoint 2013 Backup and Recovery with DPM 2012 IT111 Chris Whitehead and Sam Hassani

Upload: samhassa

Post on 08-May-2015

2.940 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

SharePoint 2013 Backup and Recovery with DPM 2012

IT111

Chris Whitehead and Sam Hassani

Page 2: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

2013 Ignite instructor

Page 3: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

2013 Ignite instructor

Page 4: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 5: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 6: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 7: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 8: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 9: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

ProtectingSharePointData

Page 10: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

The SharePoint (WSS) VSS Writer

Volume Shadow Copy Service (VSS)

A single VSS reference writer

Full farm backup and restore for catastrophe

Page 11: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Configuration

Create and configure a protection group

Configure the WSS Writer service with ConfigureSharePoint.exe

Install the DPM agent

Page 12: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

ConfigureSharePoint.exe

Page 13: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 14: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Backup: Data Flow

SharePoint Server Database Servers

DPM Server

VSS Writers

Page 15: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Backup: Data Flow

SharePoint Server Database Servers

DPM Server

VSS Writers

Page 16: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Demo

PROTECTING SHAREPOINT DATA

Page 17: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Under The Hood

Page 18: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Before Backup

DPM Filter – Volume Map

SQL Server 1

E:\

+ContentDB1.mdf

+ContentDB1.ldf

F:\

+ContentDB2.mdf

+ContentDB2.ldf

G:\

+ConfigDB.mdf

+ConfigDB.ldf

Page 19: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 20: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

1st change

1 2 3 4

Volume (actual disk blocks)

Time = 10:01

DPM Filter – Volume Map

File Write Changed Blocks Noted

Page 21: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 22: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 23: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 24: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 25: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 26: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 27: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 28: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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)

Page 29: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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)

Page 30: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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)

Page 31: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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)

Page 32: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 33: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 34: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 35: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 36: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 37: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 38: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 39: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 40: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 41: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 42: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Recovering

SharePoint

Data

Page 43: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Recovery: Data Flow (Databases)

SharePoint Server Database Servers

DPM Server

Page 44: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

SharePoint Server Database Servers

DPM Server

CMP

Page 45: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

SharePoint Server Database Servers

DPM Server

CMP

1010010 101 1101011 00010101 010010 10100 1010111 100 1010 01001

Page 46: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

SharePoint Server Database Servers

DPM Server

Recovery Farm

CMP

Page 47: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Demo

RECOVERING SHAREPOINT DATA

Page 48: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 49: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

DPM vs. SQL

Server Backup

Page 50: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 51: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 52: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

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

Page 53: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Summary

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

Page 54: SharePoint Evolution Conference - SharePoint 2013 and Data Protection Manager 2012

Thank you for attending!