Back up and Restore Flashcards

1
Q

What are the 2 main recovery models?

A

Simple and Full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the work loss exposure using simple recovery model?

A

Changes since the most recent backup are unprotected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the work loss exposure using full recovery model?

A

Normally none.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What 4 database features are not available under simple recovery model?

A
  • Log shipping
  • Always On or Database mirroring
  • Media recovery without data loss
  • Point-in-time restores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a differential backup?

A

Backup any changes since the last complete backup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What 5 types of backups can you create under the simple recovery model

A
  • Complete backups
  • Differential backups
  • File and/or Filegroup backups
  • Partial backups
  • Copy-Only backups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In order to restore to a point in time what back ups would need to be made?

A

Full or differential backups together with transaction log back ups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In 5 steps how would you recover following a failure in a database which uses full recovery model with differential and transaction log backups?

A

1) Backup active transaction log (Tail of dog)
2) Restore last full backup with no recovery
3) Restore most recent partial backup with no recovery
4) Each transaction log in order since last partial backup with no recovery
5) The tail of do with recovery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give 4 steps to recover a mission-critical database system for which a full database backup is created daily at midnight, a differential database backup is created on the hour, Monday through Saturday, and transaction log backups are created every 10 minutes throughout the day. To restore the database to the state is was in at 5:19 A.M. Wednesday

A

1) Restore full backup Tuesday midnight
2) Restore partial created at 05:00
3) Restore 05:10 log
4) Restore 05:20 log with transactions before 05:19

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a partial backup

A

It contains all the data in the primary filegroup, every read/write filegroup, and any optionally-specified read-only files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is log shipping

A

The transaction log files are backed up to a location and used to restore secondary servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What state must the destination database be in for log shipping to be used

A

No recovery mode or Standby mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does SQL server mirroring differ to log shipping?

A
  • Mirroring: Works by redoing all inserts, deletes and updates (active transactions) on the primary, as quickly as possible
  • Log shipping: Transaction log files are backed up to a location and used to restore secondary servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which option of log shipping or mirroring is best used for high availability?

A

mirroring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which option of log shipping or mirroring is best used for disaster recovery?

A

log shipping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In what version of SQL server was mirroring deprciated

A

SQL Server 2014