Most backup schedules are set to answer "how much data can we lose?", not "how far back do we have to go to find a copy the attacker never touched?". Those are different questions. Ransomware and data destruction often follow days or months of quiet access, so the newest restore points may already contain the attacker's persistence, altered configuration or planted accounts. This guide shows infrastructure, backup and resilience leads how to design retention so that a clean restore point exists from before the intrusion began: grandfather-father-son (GFS) schedules, sizing restore depth against published dwell-time data, retention locks, the tension with data minimisation, cost, and how to prove the oldest point actually restores. It assumes you already follow the copy and isolation rules in the The 3-2-1-1-0 Backup Rule Explained and does not repeat them.
Key takeaways
- Retention is a security control. The oldest usable restore point sets the longest intrusion you can recover from without rebuilding from scratch.
- Size restore depth against the tail, not the median. Mandiant's M-Trends 2026 reports a 14-day global median dwell time for 2025 investigations, but a median means half of intrusions ran longer, and espionage cases had a 122-day median.
- GFS gives depth cheaply but thins out granularity. Daily points cover recent weeks; monthly and yearly points cover the long tail with gaps of a month or more, which is acceptable only if you plan for it.
- Retention that an attacker can shorten is not retention. Use a compliance-style lock (or a locked policy) on at least one copy so no administrator, and no stolen administrator credential, can expire restore points early.
- Long retention must still be justified and tested. Data protection law requires a reason for every period, and an untested yearly point is a hope, not a recovery option.
Why retention is a security decision
Backup policy has traditionally been driven by two numbers from the business impact analysis: the recovery point objective (RPO), which sets how often you back up, and the recovery time objective (RTO), which sets how fast you must restore. NIST SP 800-34 Rev. 1 frames contingency planning around exactly this impact-driven analysis. Neither number says anything about how long restore points must be kept, and that is the number an attacker exploits.
Two attacker behaviours make retention depth matter:
- Dwell before impact: intruders establish access, escalate and stage data before they encrypt or destroy. Every backup taken during that window captures their foothold.
- Attacks on recovery itself: MITRE ATT&CK tracks deletion of backups and shadow copies as T1490 Inhibit System Recovery, alongside T1486 Data Encrypted for Impact and T1485 Data Destruction. If the attacker can shorten retention or delete old points first, depth disappears before the encryption starts.
The practical consequence: when you sign off a retention schedule, you are deciding the longest undetected intrusion your organisation can roll back from. Make that a risk owner's decision, not a storage default.
GFS and other retention schemes
Grandfather-father-son is the most common scheme because it gives long reach with a modest number of stored points. Short-interval copies (sons) are kept briefly, a subset is promoted to weekly (fathers), and a smaller subset to monthly and yearly (grandfathers). The worked example below shows a typical design for a business system with a 24-hour RPO.
| Tier | Frequency | Copies kept | Reach (how far back) | Granularity in that window |
|---|---|---|---|---|
| Daily (son) | Every night | 14 | 2 weeks | Any day |
| Weekly (father) | Sunday copy promoted | 8 | About 2 months | One point per week |
| Monthly (grandfather) | Last weekly copy of the month promoted | 12 | 1 year | One point per month |
| Yearly | Year-end monthly copy promoted | 3 to 7 | 3 to 7 years | One point per year |
| Total | 37 to 41 points | Up to 7 years | Fine near term, coarse long term |
Without GFS, keeping a year of nightly points would mean 365 restore points. With it, 34 points (14 + 8 + 12) reach the same year. The price is granularity: if an intrusion began four months ago, your best clean point might be up to a month before it started, and everything changed since must be recovered another way (transaction logs, application exports, re-keying).
Other schemes and when they fit:
| Scheme | How it works | Best fit | Watch out for |
|---|---|---|---|
| GFS | Daily, weekly, monthly, yearly tiers by promotion | Most servers, databases, file shares | Month-wide gaps in the long tail |
| Snapshot schedules plus long-term copy | Frequent storage snapshots kept hours to days, with a separate long-term backup | Systems with tight RPO | Snapshots often share the production control plane and credentials |
| Continuous data protection or journaling | Changes logged so any point in a window can be chosen | Tier 0 databases, transactional systems | Journal windows are usually days, not months; pair with GFS for depth |
| Object versioning with lifecycle rules | Every overwrite keeps the prior version; lifecycle rules expire noncurrent versions after N days | Object storage, data lakes, SaaS exports | Lifecycle rules can be edited by anyone with bucket admin rights unless locked |
The Backup and Recovery Policy Template gives a place to record the chosen scheme per system tier.
Dwell time and restore depth
Dwell time is the period between an attacker's first access and the moment the victim detects it. It is the single most useful external input to restore depth, but it changes every year and differs sharply by attack type, so quote only a named report and year.
- M-Trends 2026 (Mandiant, Google Cloud), covering 2025 investigations: global median dwell time of 14 days, up from 11 days. Espionage and North Korean IT worker incidents had a median of 122 days, and the BRICKSTORM backdoor campaign showed dwell times of nearly 400 days.
- M-Trends 2025, covering 2024 investigations: global median of 11 days, with 26 days when an external party notified the victim, 10 days when the organisation found the activity itself, and 5 days when the adversary announced itself, often as an extortion demand.
Three lessons follow for retention design:
- Medians are the wrong target. A 14-day median means half of investigated intrusions lasted longer. Two weeks of daily backups would leave you without a clean point in roughly half of cases in that dataset.
- Detection source changes the window. Intrusions found by outsiders ran more than twice as long as those found internally in the 2025 report. If your detection capability is immature, plan for the longer figure.
- Threat profile matters. Organisations likely to be espionage targets (government suppliers, defence, telecoms, research) should plan for months, not weeks.
A workable rule: clean restore depth should exceed your realistic worst-case dwell time plus your investigation time. Investigation time counts because points keep expiring while you work out when the intrusion began. A defensible starting position for most organisations is at least 90 days of weekly or better granularity and at least 12 months of monthly points for business systems, with deeper retention for systems that hold the organisation's identity foundation (directory services, PKI, privileged access tooling), because those are what attackers modify first. Treat these as a starting point for your own risk assessment, not a standard.
Also plan an incident hold: the moment a serious intrusion is suspected, suspend expiry on all restore points (a legal hold or an equivalent retention extension) so the clean point you need is not deleted mid-investigation. The Identity Recovery Guide covers choosing a clean directory point.
Immutability and retention locks
Retention that an administrator can shorten protects you from accidents, not attackers. The isolation and immutability architecture is covered in the Backup Security and Immutable Backup Guide; here the question is which lock mode enforces the retention you designed. Most platforms offer two modes, and the names differ by product.
| Property | Governance-style lock (AWS S3 governance mode, Azure unlocked policy) | Compliance-style lock (AWS S3 compliance mode, Azure locked policy) |
|---|---|---|
| Delete or overwrite during retention | Blocked for most users; privileged users can bypass | Blocked for everyone; AWS states this includes the account root user |
| Shorten retention | Possible with special permission (S3 s3:BypassGovernanceRetention) or while the Azure policy is unlocked | Not possible |
| Extend retention | Possible | Possible (Azure: at most five increases for a container-level locked policy) |
| Intended use | Testing and operational protection | Regulatory WORM retention and ransomware resistance |
| Risk | A stolen privileged credential can still expire points | A mistaken long retention cannot be undone, and you pay for the storage |
Design points:
- Test in governance, then commit: AWS describes governance mode as useful for testing retention before applying compliance mode, and Microsoft recommends locking an Azure time-based policy within a reasonable time, typically less than 24 hours, using the unlocked state only for short-term testing.
- Know what the lock covers: S3 Object Lock protects individual object versions; it does not stop new versions or delete markers being added.
- Legal holds are separate from retention: both AWS and Azure offer holds with no fixed duration that keep data immutable until removed. Restrict who can place and remove them, because a hold is also how an incident team freezes evidence.
- Protect the identities, not just the bucket: the permissions to bypass governance mode, edit lifecycle rules or remove a hold are the real target. See the Backup Identity Isolation Guide.
The CISA #StopRansomware Guide recommends maintaining offline, encrypted backups of critical data and enabling delete protection or object lock on storage resources often targeted in ransomware attacks, plus versioning to keep multiple variants of objects.
Legal and regulatory retention
Restore depth and legal retention are often confused. Legal retention says how long a record must or may be kept; restore depth says how far back you can recover a system. They pull in different directions.
- Data minimisation: UK GDPR Article 5(1)(e), the storage limitation principle, says personal data must not be kept longer than needed. The ICO expects a retention policy with a justification for each period and warns against keeping data just in case. It also notes that offline storage is not the same as deletion.
- Erasure and backups: the ICO's right to erasure guidance says that when a valid request is received you must take steps to erase from backup systems as well as live systems, and that where immediate overwriting is not possible, backup data must be put "beyond use": held only until replaced on an established schedule and not used for anything else. You must be transparent about this with individuals.
- Sector retention minimums: financial, health and public sector records often have statutory minimum periods. Those apply to the records, which may be better served by an archive with its own retention than by stretching operational backups.
How to reconcile them:
- Separate backup (for recovery) from archive (for records). Keep backups long enough for security restore depth, and keep archives as long as law requires.
- Write the security justification for backup depth into the retention schedule (for example "90 days daily and weekly, 12 months monthly: restore from intrusions up to the dwell-time tail").
- Document how erasure requests are handled for data in locked backups: suppression lists applied on restore, and expiry on the normal schedule.
The Data Retention and Secure Deletion Guide covers retention schedules for records and disposal.
Cost and storage trade-offs
Depth costs less than most teams assume, because long-tail points are few and deduplicate well.
| Lever | Effect on cost | Effect on recovery |
|---|---|---|
| Fewer daily points, more weekly | Lower | Coarser recent granularity; higher data loss for recent incidents |
| Move monthly and yearly points to a colder storage tier | Much lower per GB | Slower retrieval, retrieval fees, minimum storage durations; test the RTO from that tier |
| Deduplication and incremental-forever chains | Lower | Long chains depend on every link; a corrupted base breaks many points |
| Compliance-style locks | Locks in cost for the full period | Strongest protection; size it carefully before committing |
Decision guidance by size:
- Small organisations: a single GFS policy across all systems, a locked cloud copy with 12 months of monthly points, and an annual test of the oldest point is a sound baseline.
- Mid-sized organisations: two or three tiers (critical, standard, rebuildable), with directory services and finance systems in the deepest tier.
- Large or highly targeted organisations: per-system depth set from the threat profile, journaling for tier 0, locked copies in a separate account or tenant, and depth reviewed each year against the latest dwell-time data.
Testing restore depth
Most restore tests use last night's backup. That proves the pipeline works; it says nothing about the point you will actually need after a long intrusion. NIST SP 800-53 Rev. 5 CP-9(1) asks for backups to be tested for reliability and integrity, and CSF 2.0 RC.RP-03 asks for backup integrity to be verified before restoration. Apply both to the oldest points.
- Inventory restore points per system: list the oldest restorable point for each tier-0 and tier-1 system, from the backup catalogue, not from the policy document. Policies and reality drift.
- Restore the oldest point each quarter for one critical system: rotate through systems so each is tested yearly. Restore to an isolated network.
- Check it is usable, not just present: can it boot, do applications start, can it authenticate against a directory of the right age, are encryption keys and certificates from that period still available?
- Measure the time: record the end-to-end RTO including retrieval from cold storage.
- Roll back safely: if a test reveals a broken chain or missing key, keep the existing policy, raise a risk, and fix before changing retention settings, so a fix does not expire old points.
The Backup and Recovery Testing Checklist gives a test record format.
Metrics
- Clean restore depth: the age of the oldest successfully tested restore point per critical system (target: above your dwell-time planning figure).
- Retention conformance: percentage of systems whose catalogue matches the approved schedule.
- Locked coverage: percentage of critical systems with at least one compliance-locked copy.
- Oldest-point test success rate: successful deep restores divided by attempts over 12 months.
Alert on any reduction in retention period, deletion of restore points outside the schedule, lifecycle rule edits and governance bypass use. These events are an early sign of T1490 activity.
Common failure patterns
- Retention set to the RPO: 14 or 30 days of nightly points chosen for data loss tolerance, leaving no clean point for an intrusion that ran longer.
- Lock on the wrong layer: storage is locked but the backup catalogue or encryption keys are not, so restore points exist but cannot be used.
- Governance mode treated as immutable: the bypass permission is held by the same administrators, or the same automation identity, that an attacker compromises first.
- Expiry continues during the incident: no hold is placed, and the last clean point ages out while the team investigates.
- Oldest points never restored: yearly copies in archive storage depend on retired software versions, lost keys or incompatible hardware.
Framework mapping
| Framework | Reference | Relevance to retention design |
|---|---|---|
| NIST CSF 2.0 | PR.DS-11 | Backups of data are created, protected, maintained and tested |
| NIST CSF 2.0 | RC.RP-03 | Integrity of backups verified before restoration |
| NIST SP 800-53 Rev. 5 | CP-9, CP-9(1), CP-9(8) | System backup, testing for reliability and integrity, cryptographic protection |
| NIST SP 800-53 Rev. 5 | CP-4, CP-10 | Contingency plan testing; system recovery and reconstitution |
| NIST SP 800-53 Rev. 5 | SI-12 | Information management and retention |
| CIS Controls v8.1 | Control 11 Data Recovery | Recovery process, protected and isolated recovery data, recovery testing |
| ISO/IEC 27001:2022 | Annex A 8.13 | Information backup |
| MITRE ATT&CK | T1490, T1485, T1486 | Attacks on recovery, destruction and encryption that deep, locked retention counters |
Practitioner checklist
- Record, per system tier, the longest intrusion you can roll back from, and get a risk owner to approve it.
- Set restore depth above the dwell-time tail for your threat profile, citing a named report and year, and review it annually.
- Use GFS or a hybrid so long reach does not need hundreds of restore points.
- Put at least one copy of each critical system under a compliance-style lock.
- Restrict and monitor governance bypass, lifecycle edits and legal hold permissions.
- Build an incident hold step into the response plan so expiry stops when an intrusion is suspected.
- Separate operational backups from records archives and justify each retention period.
- Document how erasure requests apply to locked backups and keep that data beyond use.
- Restore the oldest point of one critical system every quarter in an isolated environment.
- Track clean restore depth and locked coverage as standing resilience metrics.
Standards and references
- NIST: SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems
- CISA: #StopRansomware Guide
- Google Cloud (Mandiant): M-Trends 2026
- Google Cloud (Mandiant): M-Trends 2025
- ICO: Principle (e): Storage limitation
- ICO: Right to erasure
- AWS: Locking objects with Object Lock
- Microsoft Learn: Time-based retention policies for immutable blob data
Related NHI Mgmt Group resources: The 3-2-1-1-0 Backup Rule Explained · Backup Security and Immutable Backup Guide · Backup Identity Isolation Guide · Backup and Recovery Testing Checklist · Data Retention and Secure Deletion Guide