snapshot
A saved copy of some state at one moment, kept so it can be restored later.
In more detail
Snapshots let you go back to, or compare with, the exact state at an earlier moment, and are used for backups, tests and undoing changes. Efficient systems do not copy unchanged data into each snapshot; they point at what already exists.
Examples
onMutate snapshots the cached list; onError restores it.Git stores each commit as a snapshot of the whole project; unchanged files point at the same blobs.For virtual machines and cloud instances, snapshots are the forensic image: take one, export it, hash it on export and record it in the custody log.Related terms
- optimistic update — Showing the result of a user’s action on screen immediately, before the server confirms it, and undoing it if the server says no.
- rollback — Returning a system to a previous known-good version after a bad change.
- Persistent Disk — Durable network block storage for Compute Engine VMs, available as zonal or regional disks.
- commit — A saved snapshot of the whole project in Git, together with its author, committer, time, message and a pointer to the commit before it.
- tree object — The Git object that lists one directory: each entry's name, file mode and the ID of the blob or sub-tree it points at.
- forensic image — An exact bit-for-bit copy of a disk or memory, including deleted and unused space, made for examination.
- virtual machine — A complete pretend computer, with its own operating system, running as software on a real computer.
Taught in
- Old X-Rays At Hot Prices: Tiers, Lifecycle Rules And Undelete — Microsoft Azure Administrator (AZ-104) Exam Prep
- The Leeds Share Was Emptied: Azure Files, Snapshots And Identity — Microsoft Azure Administrator (AZ-104) Exam Prep
- Ninety-Nine Percent Full: Disks, Sizes And Availability — Microsoft Azure Administrator (AZ-104) Exam Prep
- Restore It From Last Tuesday: Backup Vaults, Policies And Site Recovery — Microsoft Azure Administrator (AZ-104) Exam Prep
- Seventy-Two Percent, Now What? The Full Mock And Your Review Plan — Microsoft Azure Administrator (AZ-104) Exam Prep
- Two Domain Controllers, One Host: Virtualisation — CompTIA Cloud+ (CV0-004) Exam Prep
- Thirty Eight Percent More: Billing Models And Tags — CompTIA Cloud+ (CV0-004) Exam Prep
- Thursday, Twenty Past Two: Backup And Recovery — CompTIA Cloud+ (CV0-004) Exam Prep
- No Patch Is Coming: The Life Cycle Of Cloud Resources — CompTIA Cloud+ (CV0-004) Exam Prep
- The Intern Who Could Delete Backups: Identity And Access — CompTIA Cloud+ (CV0-004) Exam Prep
- Backup Architectures: 3-2-1, Immutability & Air-Gaps — Cybersecurity Fundamentals, GRC & Cryptography
- Security Architecture Gap Analysis — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography
- Database Access & Migrations: ORM & Data Layers — Production Full-Stack Engineering
- Optimistic UI Architecture: Cache & Rollback Protocols — Production Full-Stack Engineering
- Compute Engine — Google Cloud Associate Cloud Engineer Exam Prep
- Tooling: Infrastructure As Code And AI Assistants — Google Cloud Associate Cloud Engineer Exam Prep
- Running Compute Engine — Google Cloud Associate Cloud Engineer Exam Prep
- Running Cloud Run And AI Workloads — Google Cloud Associate Cloud Engineer Exam Prep
- Service Accounts — Google Cloud Associate Cloud Engineer Exam Prep
- The Full Mock And Your Review Plan — Google Cloud Associate Cloud Engineer Exam Prep
- What A Commit Really Is — Advanced Git Internals & Distributed Workflows
- The Three Areas: Working Tree, Index, Repository — Advanced Git Internals & Distributed Workflows
- Staging Deliberately: status, add, add --patch — Advanced Git Internals & Distributed Workflows
- Committing, And What A Good Message Says — Advanced Git Internals & Distributed Workflows
- Ignoring Files, And The Tracked File Trap — Advanced Git Internals & Distributed Workflows
- Recovery & System Validation Testing — Security Operations & Threat Hunting (SOC)
- Forensics Principles, Custody & Imaging — Security Operations & Threat Hunting (SOC)
References
- TanStack Query: Optimistic updates (via the cache)
- Disk snapshots
- Pro Git: What is Git? (snapshots, not differences)
- AWS: Amazon EBS snapshots