Sie sind auf Seite 1von 5

30/1/2019 Librería

Lab Answer Key: Module 5: Recovery Models and


Backup Strategies
Es
te
do
cu
Lab: Understanding
me
nto
pe
SQL Server Recovery Models
rte
No lui ne
es sg ce
tán u ille aL
pe rm uis
rm oc G
Exercise 1: Plan
as a eBackup
a@
uil
ler
m
Strategy
itid orr
las gm oC
co ail orr
pia .co ea
ss m Lo
in pe
au ra.
tor
Task 1: Prepare the Lab Environment
iza
c ión
.

1. Ensure that the 20764C-MIA-DC and 20764C-MIA-SQL virtual machines are


Eboth
ste
running, and then log on to 20764C-MIA-SQL as
do
ADVENTUREWORKS\Student
cu
me
with the password Pa55w.rd.
nto
pe
rte
2. Ino ethe D:\Labfiles\Lab05\Starter
N l u isg ne
ce folder, right-click Setup.cmd, and then click
stá uil aL
np ler uis
Run aseradministrator.
mi
mo
co Gu
tid rre ille
as a @ rm
las gm oC
co a orr
3. In the User Account pia
ss
Control
il.c
om dialog
ea box, click Yes to run the command file, and
Lo
in pe
wait for the script to finish. au
tor
ra.
iza
ció
n.

Task E2: Review the Business Requirements


ste
do
cu
me
nto
ert p
• Review
No the
lui supplied
en
e business requirements in the supporting documentation for
es sg ce
tán ille u aL
this exercise.
pe rm
o
uis
rm co Gu
itid rre ille
as a@ rm
las gm oC
co ail orr
pia .co ea
ss m Lo
in pe
au ra.
tor
iza
ció
Task 3: Determine an Appropriaten. Backup Strategy

• The options provided below are an example strategy that would meet the
https://skillpipe.com/?lang=es-ES#/reader/book/24820548-a5cd-4cbe-80fd-0658d7f0f8c4 1/5
30/1/2019 Librería

requirements. Review these suggestions.

For the MarketDev database:

Es
te
oc d
Full Recovery
um
e
Model
nto
pe
rte
No lui ne
es sg ce
tán u ille aL
Notes: pe rm uis
rm oc Gu
itid orr ille
as ea rm
las @ oC
gm
orr co ail
.co ea pia
ss m Lo
• Full database backup should
in
au complete pe in approximately 3.4 hours (20 GB/100 MB
ra.
tor
iza
per minute). This means that you ció cannot employ a full database backup strategy
n.
only as it would not meet the RPO. The full database backup should complete by
22:24, which is within the available time window for backups.
E
ste log backup should complete in approximately 3.4 minutes (1 GB per hour/3
• Each d oc
me u
log backupsnto per hour/100 MB per minute). This fits within the 20-minute interval
pe
ten r
andNomeets
e
lui the RPO.
sg ec
e
stá uil aL
np uis ler
erm mo
co Gu
• Full databaseidarestore
i t
sl
r r ea should
@
ille complete in approximately 4.3 hours
rm (20 GB/80 MB
as gm oC
per minute). Log file c op restore il.c should orr
ea complete in approximately 2.1 hours (10 hours
a
ias om Lo
sin pe
* 1 GB per hour/80 MB per au minute) and
tor
ra. meet the RTO.
iza
ció
n.

For the Research Database:


Es
te
do
cu
me
Simple Recovery
nto Model
pe
rte
No lui ne
es sg ce
tán u ille aL
pe rm uis
rm oc Gu
tid i orr ille
Type of Backup as ea rm Schedule
la @ oC
sc gm
op ail orr
ias .co ea
sin m Lo
Full pe
au ra. 18:30 daily
tor
iza
ció
n.
Notes:

https://skillpipe.com/?lang=es-ES#/reader/book/24820548-a5cd-4cbe-80fd-0658d7f0f8c4 2/5
30/1/2019 Librería

• Recovery to last full daily database backup complies with the RPO.

• Daily backup should complete in approximately 2 minutes (200 MB/100 MB per


minute).

• Full
E
restore should complete in approximately 2.5 minutes and complies with RTO
ste
do
(200 MB/80 MB per minute).
cu
me
nto
pe
rte
No lui ne
es sg ce
tán u ille aL
pe uis rm
rm Gu oc
i o r ille
Result: At thetidend
as ofrethis a@ exercise, rm you will have created a plan to back up two
las gm oC
databases. co
pia
ail
.co
orr
ea
ss m Lo
in pe
au ra.
tor
iza
ció
n.
Exercise 2: Configure Database Recovery Models

Task E1:
ste Review and Adjust Database Recovery Models
do
cu
me
nto
pe
rte
N l u ne
1. Ono e the taskbar,
stá
isg
uil
ceclick Microsoft SQL Server Management Studio.
ler aL
np mo uis
erm co Gu
itid rre ille
2. In the Connect as
las
to Server
a @ rmdialog box, in the Server name box, type MIA-SQL,
oC
gm
co ail orr
and then click Connect. p ias . co
m
ea
Lo
sin pe
au ra.
tor
iza
3. In Object Explorer, expand cDatabases, ión right-click MarketDev, and then click
.
Properties.

4. On the Options page, in the Recovery model list, click Full, and then click OK.
Es
te
oc d
5. In Object
um Explorer, under Databases, right-click Research, and then click
e nto
pe
Properties. rte
No lui ne
es sg ce
tán u ille aL
rm u
6. On thepeOptions
rm
i or
is verify that the Recovery model is set to Simple, and
oc page,Gu
i
tid rea lle
sl a @ rm
then click Cancel.
as
c
gm
ail
oC
orr
op .co ea
ias m Lo
sin pe
ra. au
7. Close SSMS without saving
tor
i
any changes.
za
ció
n.

https://skillpipe.com/?lang=es-ES#/reader/book/24820548-a5cd-4cbe-80fd-0658d7f0f8c4 3/5
30/1/2019 Librería

Result: At the end of this exercise, you will have modified the database recovery
models where required.

Exercise 3: Challenge Exercise: Review Recovery Models and


Es
Strategy
te
do (if time permits)
cu
me
nto
pe
rte
No luine
e sg ce
Task 1: Review
stá
np
uil the RPO
ler a L and RTO Requirements for the Databases
m uis
erm oc Gu
itid orr ille
as ea rm
las @ oC
gm
co ail orr
pia .co ea
• The supporting documentation ss m includes Lo details of the business continuity
in pe
au ra.
requirements for the databases. tor
iza Review this documentation.
ció
n.

Task E2:
st Review the Existing Recovery Models and Backup Strategies
ed
oc
um
en
to
pe
rte
• Theosupporting
N l u i ne
documentation also includes details of the backup strategy for the
es sgu ce
tán ille aL
rm uis
databases. pe Review
rm oc this
orr
documentation.
G uil
itid e ler
as a @ mo
las gm Co
co ail rre
pia .co aL
ss m op
in era
au .
tor
iza
ció
Task 3: Indicate Whether or Not nthe . Strategy Would Be Successful

1. For the CreditControl database, a full backup would take approximately 3.4
Es
ed t
hours
oc (20 GB/100 MB per minute). This would not satisfy the requirements for
u me
the timenwindow,
to
pe because the Wednesday 06:00 full backup would not complete
rte
Noe uis ec l n
before
st office
gu hours
i
e a start.
án lle Lu
pe rm is
rm Gu oc
itid ille orr
ea
2. For the PotentialIssue
a sl
as
@
gm
database,
rm
oC the 15-minute log backups would meet the
co ail orr
RPO. A full restore pia should .co takeeaapproximately 24 minutes ((200 MB + (7 days *
ss m Lo
in pe
au ra.
24 hours) * 10 MB per hour)/80 tor
iza MB per minute) which meets the RTO. The full
ció
database backup would complete n. in approximately two minutes (200 MB/100
MB per minute) which means that the full database would complete in the

https://skillpipe.com/?lang=es-ES#/reader/book/24820548-a5cd-4cbe-80fd-0658d7f0f8c4 4/5
30/1/2019 Librería

available time window. The backup strategy for the PotentialIssue database
meets the business requirements.

Result:
E At the end of this exercise, you will have assessed the backup strategy.
ste
do
cu
me
nto
pe
rte
No lui ne
es sg ce
tán u ille aL
pe rm uis
rm oc Gu
itid orr ille
as ea rm
las @ oC
gm
co ail orr
pia .co ea
ss m Lo
in pe
au ra.
tor
iza
ció
n.

Es
te
do
cu
me
nto
pe
rte
No lui ne
es sg ce
tán u ille aL
pe rm uis
rm oc Gu
itid orr ille
as ea rm
las @ oC
gm
co ail orr
pia .co ea
ss m Lo
in pe
au ra.
tor
iza
ció
n.

Es
te
do
cu
me
nto
pe
rte
No lui ne
es sg ce
tán u ille aL
pe rm uis
rm oc Gu
itid orr ille
as ea rm
las @ oC
gm
co ail orr
pia .co ea
ss m Lo
in pe
au ra.
tor
iza
ció
n.

https://skillpipe.com/?lang=es-ES#/reader/book/24820548-a5cd-4cbe-80fd-0658d7f0f8c4 5/5

Das könnte Ihnen auch gefallen