Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Grandfather-Father-Son

Direct answer

Grandfather-father-son (GFS) is a rotation scheme that keeps daily (son), weekly (father) and monthly or yearly (grandfather) backups, giving long history with a limited number of copies.

When to use this

Use this when choosing a rotation that keeps daily, weekly and monthly or yearly backups.

First 30 seconds

1. Grandfather-father-son: daily (son), weekly (father), monthly (grandfather) backups.

2. Long history with few copies.

3. Implement with retention rules.

4. Add yearly if required.

5. Check pruning works.

Operational verification

daily → weekly → monthly tiers

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Monthly/yearly copies stored on the same repository as dailies.
  • GFS points created from a failed backup without verification.
  • Too many yearly points kept without a reason.
  • Not documenting which day becomes the weekly/monthly point.
Platform / version applicability
Data protection and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformData protection and recovery
Scope / prerequisiteUse this when choosing a rotation that keeps daily, weekly and monthly or yearly backups.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Sons are dailies, fathers weeklies, grandfathers monthlies or yearlies.
  • Long history with a limited number of copies.
  • Retention must match legal and business needs.
Key checks
  • restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 — GFS example
  • backup job schedule — sons/fathers/grandfathers
  • tape rotation log — GFS on tape
ReferenceHow it works1 section · depth on demand

GFS example

LevelKept
Son (daily)7–14 days
Father (weekly)4–5 weeks
Grandfather (monthly)12 months
Yearly7–10 years (optional)

Most backup tools implement GFS as flags on restore points; with immutable storage, the lock period must match the GFS retention for each point.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

Grandfather-father-son as a concrete policy

GFS keeps three tiers: frequent short-lived copies (son, usually daily), fewer medium-term copies (father, weekly) and few long-lived copies (grandfather, monthly or yearly).

TierTypical ruleRestore granularity
Son7 dailyAny day of the last week
Father4–5 weeklyOne point per week for a month
Grandfather12 monthly (+ yearly)One point per month for a year

Expressed with restic

$ restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 5 --dry-run
$ restic snapshots --compact

The restic documentation explains that each --keep-* period counts calendar periods that contain at least one snapshot, and that a snapshot is kept if it matches any rule — so the newest snapshot of a week can be both a "daily" and the "weekly" copy. That overlap is why GFS needs fewer copies than the sum of the tiers.

Storage cost

With deduplicating tools (restic, Borg, ZFS snapshots) each extra point costs only changed data. With full copies on tape or disk, GFS directly multiplies storage:

RuleFull copies kept (approx.)
7 daily + 4 weekly + 12 monthly~23
+ 5 yearly~28

Pitfalls

  • Weekly and monthly copies must come from a successful backup; alert on failed jobs, or the "monthly" may be weeks older than expected.
  • Keep at least one tier offline or immutable — GFS alone does not protect against an attacker who can delete the repository.
  • Test restores from the oldest tier; old formats and keys are where restores fail.

*The daily, weekly, monthly and yearly snapshot rules demonstrate a backup rotation schedule; no actual snapshot inventory is supplied.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Worked example

Grandfather-father-son (GFS) keeps short-term, medium-term and long-term restore points with different retention:

TierCreatedKeptPoints
Son (daily)Every day7 days7
Father (weekly)Sunday4 weeks4
Grandfather (monthly)Last Sunday of month12 months12
Yearly (optional)December7 years7

That is 30 restore points covering seven years instead of 2 555 daily ones. In disk-based tools GFS points are flags on synthetic or active fulls, not separate data copies.

Example

LevelKept
Son (daily)14 days
Father (weekly, Sunday)8 weeks
Grandfather (monthly, last Sunday)12 months
Yearly (optional)5–7 years

Restore points needed: 14 + 8 + 12 + 5 = 39 points instead of thousands of daily copies.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docData protection and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Backup Strategy → Grandfather-Father-Son. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/34/r1/final · confidence 94%
Confirmation

Confirm action

Continue?