Help shape GoConqr. What should we add next?

Flashcards

Configuring and Maintaining a Backup Strategy

Michael Mahfouz SQL Server 2012 70-462 English 24 cards

Cards in this deck (24)

  1. 1Backup types- Full database backups
    - Differential backups
    - Transaction log backups
    - File and filegroup backups
    - Copy-only backups
  2. 2Full database backupIncludes all database objects, system tables and data. Transactions that occur during the backups are also recorded. Also allow you to perform a complete restoration of the database as it existed at thge time the backup operation is performed.
  3. 3Differential backupsBacks up data that has altered since the last full backup. Require less time than full database backups. Also record transactions that occur during the differential backup process. You use differential backups in conjunction with the last full backup.
  4. 4Transaction log backupsRecords the changes that have occurred since the previous transaction log backup and then truncates the transacation log. A truncation removes transactions from the log that have been committed to the database or cancelled. This backup represents the state of the transaction log at the time the backup is initiated rather than at the time the backup completes. this functions incrementally rather than differentially. Must restore in sequence
  5. 5File and filegroup backupsBack up individual database files amd filegroups rather than performing a full database backup. This method backs up very large databases. You must back up the transaction log when performing a file and filegroup backup. You cannot use this method if the "Truncate Log On Checkpoint" option is enabled.
  6. 6Copy-only backupsFunctionally the same as full database or transaction log backups but do not affect the backup sequence.
  7. 7RPORecovery Point Objective - Enables you to measure the amount of data that might be lost in the event of failure
  8. 8RTORecovery Time Objective - Maximum amount of time it can take to restore data to the RPO
  9. 9Recovery Model Types- Simple
    - Full
    - Bulk-logged
  10. 10Simple recovery modelNo transaction log backups are taken. It is possible to recover to the most recent database backup only; it does not allow point-in time-time recovery.
  11. 11Full recovery modelRequires you to take transaction log backups and full backups. Depending on the type of failure, you can recover either to the point of the last full backup or to the point of the last transaction log backup. If the active transaction log is still available, you might be able to recover to the most recent committed transaction. Enables point-in-time recovery.
  12. 12Bulk-loggedSpecial recovery model that minimises transaction log activity during bulk operations. You cannot perform point-in-time recovery by using this model.
  13. 13Backup requirements for system databasesmaster - Regularly
    model - Not regularly
    msdb - After changes to jobs and alerts
    tempdb - N/A
    Resource (RDB) - Externally to MS SQL
    Configure Distribution - Same frequency as backups of publication and subscription databases
  14. 14Backing Up Replicated Databases Orderpublisher, distributor, subscriber (database instances)
    master, msdb, database instance
    For snapshot and transactional replication, sync with the Backup option on for both the publication and distribution databases.
  15. 15Backing up Mirrored DatabasesCan only back up the principal database and not the mirrored database in a a mirroring session
  16. 16Backing Up AlwaysOn ReplicasDepends on the automated backup preference setting applied at the availability group level. Can choose from the following options:
    - Prefer Secondary
    - Secondary Only
    - Primary
    - Any Replica
  17. 17Prefer SecondaryThis is default. Backups should occur only on a secondary replica, which allows backups to be taken on the primary replica if that is the only replica online.
  18. 18Secondary OnlyAll automatic backups occur on secondary replicas. Backups should not be taken if the primary replica is the only replica online
  19. 19PrimaryBackups should always be taken on the primary replica. This allows differential backups to be taken.
  20. 20Any ReplicaBackups can occur on any replica in the availability group. Automated backups use the backup priority setting applied in the preference when choosing a replica as the target for a backup
  21. 21Database CheckpointWrites all modified pages held in memory to disk and then records that information in the transaction log. The Database Engine manages checkpoints automatically; usually a checkpoint occurs every minute.
  22. 22Media SetCan include a single file, multiple files, a tape or multiple tapes. A single media set can include up to 32 backup devices. You create a media set by adding backup devices as destinations. A media set cannot be a combination of tape and files.
  23. 23Mirrored backup media setsEnable you to have multiple copies of a media set. a mirrored media set contains between two and four mirrors, Corresponding volumes in each mirror store identical contents. Mirrored media sets provide redundancy for the backup.
  24. 24Viewing Backup HistoryEvents are written to the SQL Server log from the backup source. Also written to the Application Event Log on the host computer

Information

Description
70-462 SQL Server 2012 Flashcards on Configuring and Maintaining a Backup Strategy, created by Michael Mahfouz on 11/01/2016.
Created by
Michael Mahfouz
Views
2
Rating

More on Database Backup, Recovery and Replication

Feedback

What is it about?

What should we add next?