Storage · Backup Strategy
Grandfather-Father-Son
Cheat sheet · https://pcornel.dk/topic.php?topic=4269
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.
Remember
- Sons are dailies, fathers weeklies, grandfathers monthlies or yearlies.
- Long history with a limited number of copies.
- Retention must match legal and business needs.
First checks
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12— GFS examplebackup job schedule— sons/fathers/grandfatherstape rotation log— GFS on tape
Verify in this order
daily → weekly → monthly tiers
Where it usually breaks
First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4269