💻
Database Magazine
GlossaryBest Practices and TipsFAQsResources
  • Database Magazine
  • Glossary of Terms
    • A
      • Archive
      • Active backup for Office 365
      • AWS Backup
      • Active Directory
      • Agent
      • Anti-ransomware solutions
    • B
      • Backup
      • Backup and Recovery
      • Backup as a service
      • Bare-metal backup
      • Backup repository
      • Backup schedule
      • Backup Solutions
      • Business Continuity
    • C
      • Cloud Backup
      • Continuous Data Protection (CDP)
      • Compression
      • Consistency check
      • Cold Backup
      • Cloud Data Management (CDM)
    • D
      • Data Deduplication
      • Disaster Recovery (DR)
      • Differential Backup
      • Disk-to-Disk (D2D) Backup
      • Disaster Recovery (DR)
    • E
      • Encryption
      • Endpoint Backup
      • Erasure Coding
      • Export/Import
      • Enterprise Backup Software
    • F
      • Full Backup
      • Failover
      • File-Level Backup
      • File Sync and Share
      • Fireproof and Waterproof Storage
    • G
      • Grandfather-Father-Son (GFS)
      • Granular Recovery
      • Geographically Dispersed Backup
      • Ghost Imaging
      • Global Deduplication
    • H
      • Hybrid Backup
      • Hot Backup
      • High Availability (HA)
      • Hard Disk Drive (HDD)
      • Hybrid Cloud Backup
    • I
      • Incremental Backup
      • Image-based Backup
      • Instant Recovery
      • Integrity Check
      • Infrastructure as a Service (IaaS)
    • J
      • Journaling
      • Job Scheduler
      • Just-in-Time Recovery
      • Journal-Based Recovery
      • Jumbo Frames
    • K
      • Key Management
      • Kernel-Based Recovery
      • Kickstart
      • Kept Versions
      • Kill Switch
    • L
      • Long-Term Retention
      • Log-Based Recovery
      • Local Backup
      • Latency
      • Load Balancing
    • M
      • Metadata
      • Mirroring
      • Multi-Site Replication
      • Media Rotation
      • Mounting
    • N
      • Nearline Storage
      • Network-Attached Storage (NAS)
      • Non-Destructive Recovery
    • O
      • Offsite Backup
      • Online Backup
      • Object Storage
      • Offsite Replication
      • Open File Backup
      • Overwrite Protection
      • One-Click Restore
    • P
      • Point-in-Time Recovery
      • Primary Storage
      • Physical Backup
      • Private Cloud Backup
      • P2V (Physical-to-Virtual) Conversion
    • Q
      • Quiesce
      • Quick Recovery
      • Quota Management
      • Quality of Service (QoS)
      • Query-Based Recovery
    • R
      • Recovery Point Objective (RPO)
      • Recovery Time Objective (RTO)
      • Replication
      • Restore
      • Retention Policy
    • S
      • Snapshot
      • Storage Area Network (SAN)
      • Secondary Storage
      • Single Point of Failure (SPOF)
      • Synthetic Full Backup
    • T
      • Tape Backup
      • Two-Factor Authentication (2FA)
      • Thin Provisioning
      • Test Restore
      • Transaction Log
    • U
      • Universal Restore
    • V
      • Versioning
      • Virtual Machine (VM) Backup
      • Verification
      • Vaulting
      • Virtual Tape Library (VTL)
    • W
      • Warm Site
      • Workload Mobility
      • WAN Acceleration
      • Write-Once, Read-Many (WORM)
      • Windows Backup
    • X
      • XOR (Exclusive OR)
    • Y
      • Yearly Backup
    • Z
      • Zero Data Loss
  • Best Practices and Tips
    • How to backup Microsoft 365 using third-party backup tools
  • FAQs
    • Does Office 365 have backups?
    • What is the best backup for Office 365?
    • How do I backup my Office 365 backup?
    • What is the backup tool for Office 365?
    • Does Office 365 have storage?
    • Is OneDrive a reliable backup solution?
    • What is an Incremental Backup?
    • Does VMware have a backup tool?
    • What is VMware considered backup?
    • What are the types of backup in VMware?
    • Is VMware snapshot a backup?
    • What is the best way to backup a Hyper-V VM?
    • How do I create a backup in Hyper-V?
    • Should you backup a Hyper-V host?
    • What is the difference between Hyper-V snapshot and backup?
    • What is the disaster recovery in IT industry?
    • What should an IT disaster recovery plan include?
    • What are the main steps in IT disaster recovery?
    • What is the difference between IT security and disaster recovery?
    • What is a NAS backup?
    • How do I backup my NAS data?
    • Can NAS be used as a backup?
    • What is Nutanix used for?
    • What is Nutanix storage?
    • What is RPO and RTO in Nutanix?
    • What is MSP backup?
    • What is managed backup service?
    • How do I restore my MSP backup?
    • What is Azure Backup?
    • What is the purpose of Azure Backup?
    • What are the different types of Azure cloud backups?
    • Is Azure Backup a PaaS?
    • What are the downsides of Backblaze?
    • Does Backblaze backup everything?
    • Is Backblaze better than Google Drive?
  • Resources
Powered by GitBook
On this page
  • Definition
  • Explanation
  • Related terms
  1. Glossary of Terms
  2. L

Log-Based Recovery

Understand the concept of Log-Based Recovery in the context of backup and recovery.

Definition

Log-Based Recovery, in the context of backup and recovery, is a technique that leverages transaction logs to restore data to a consistent state following a system or application failure. It involves replaying the recorded transactions from the transaction logs to recover data changes made since the last backup.

Explanation

Log-Based Recovery is a commonly used method in backup and recovery strategies, particularly in database systems and applications that maintain transaction logs. When a failure occurs, such as a system crash or application error, Log-Based Recovery enables the restoration of data to a consistent state, ensuring that all committed transactions are reapplied and any uncommitted changes are rolled back.

The process of Log-Based Recovery involves several steps. First, a full backup of the database or application is taken, capturing the initial state of the data. Subsequently, transaction logs are continuously recorded, documenting all changes made to the data over time. In the event of a failure, the backed-up data is combined with the recorded transaction logs to restore the database or application to a consistent state.

During the recovery process, the transaction logs are analyzed and applied in the order they were recorded. Committed transactions are replayed, reapplying their changes to the data, ensuring data consistency. Any uncommitted or incomplete transactions are identified and rolled back, ensuring the integrity of the restored data.

Log-Based Recovery offers several advantages. It enables point-in-time recovery, allowing organizations to restore data to a specific moment in time before the failure occurred. This capability is crucial in scenarios where data corruption or accidental changes need to be undone, or when data needs to be rolled forward to a specific state for consistency.

Related terms

  • Transaction Logs: Records that capture the sequence of database or application transactions, including data modifications, for recovery and auditing purposes.

  • Point-in-Time Recovery: The ability to restore data to a specific moment in time using transaction logs or other recovery mechanisms.

  • Data Consistency: The state of data where all changes and modifications adhere to predefined integrity constraints and business rules.

  • System Failure: An unexpected event or condition that causes a system or application to cease functioning properly.

  • Rollback: The process of undoing or reverting incomplete or uncommitted transactions to maintain data integrity.

Log-Based Recovery is a powerful technique that ensures data consistency and enables point-in-time recovery. By leveraging transaction logs, organizations can recover data to a consistent state after a failure, minimizing data loss and maintaining data integrity in critical systems and applications.

PreviousLong-Term RetentionNextLocal Backup

Last updated 1 year ago