Lab Modulo 5 SQL Server
Lab Modulo 5 SQL Server
• 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
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.
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.
• 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.
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