Reference desk

Snapshot retention planner

Choose how often snapshots are taken and how many hourly, daily, weekly and monthly ones to keep. The planner lists the snapshots each rule keeps, counts each one once, and shows how far back the oldest reaches. Every figure is an estimate from a simple model, not a reading from DSM.

Form R-1 Your schedule
hours

0 to 720

days

0 to 366

weeks

0 to 260

months

0 to 240

Example plans:

Ledger Estimate

42snapshots kept at steady state

329 days 15 hoursback from the calculation hour to the oldest kept snapshot

Estimate: the rules make 47 selections across 42 unique snapshots, and those 42 are kept at steady state. The oldest is from Wed, 31 Dec 2025 at 23:00 UTC, 329 days 15 hours before the calculation hour.

What each rule selects
RuleSelectionsRepeat selectionsUnique added
Hourly24024
Daily725
Weekly422
Monthly12111
Total47542

A repeat selection is a snapshot that a finer rule has already selected, so it is stored once. In the footer, repeat selections are the total selections minus the unique snapshots.

Each shelf is one rule and each mark one kept snapshot, from now (left) back to the oldest (right). The time line is logarithmic. Hollow marks are repeat selections of a finer rule. The calculation hour is Thu, 26 Nov 2026 at 14:00 UTC: the example hour until the script runs, then the current UTC hour on the device clock, updated when the plan changes and at each new hour.

How the estimate is worked out

Each rule keeps the latest snapshot taken in each of its last N periods, counting the current period as one. The planner builds the list of snapshots for every rule, then counts them. The calculation hour is the start of the current UTC hour, and only snapshots taken at or before it count, so the current hour holds a snapshot only if one is scheduled exactly on that hour:

  • Kept at steady state = the number of unique snapshots in the four lists (a snapshot picked by two rules is stored once).
  • Selections = how many snapshots each rule picks. The total is the sum of the four rules. A snapshot picked by more than one rule is a repeat selection and is stored once, so unique snapshots = selections minus repeat selections.
  • Reach = the calculation hour minus the time of the oldest kept snapshot. The current period counts as one, so the reach depends on where the calculation hour falls inside the active periods: it is not simply N times the period length.

Assumptions

  • The schedule choices (every 1, 2, 3, 4, 6, 8, 12 or 24 hours) and the largest counts (720 hourly, 366 daily, 260 weekly and 240 monthly periods) are settings of this planner, not DSM limits. Snapshots run on the hour, lined up with midnight UTC. With a 6-hour schedule, for example, they run at 00:00, 06:00, 12:00 and 18:00 UTC. Hours convert to days at 24 hours and days to weeks at 7 days (ECMAScript time constants).
  • Hours and days are UTC. Weeks run Monday to Sunday, as in ISO 8601 (NASA's explanation). Months are calendar months, leap days included. Daylight-saving changes are ignored.
  • An hour, day, week or month with no scheduled snapshot in it keeps nothing, so a rule can keep fewer snapshots than you asked for.
  • "Steady state" means the schedule has run for longer than the reach, every scheduled snapshot was taken, and none was deleted or locked by hand.
  • The count can change when one or more calendar periods roll over. The figures are worked out for the current UTC hour on your device's clock, when the page loads, when you change the plan and at each new hour.
  • It does not estimate storage. The space snapshots use depends on how much data changes between them.

What it does not tell you

DSM's Snapshot Replication package has its own retention settings and its own limits on how many snapshots a shared folder or LUN can hold. How a given DSM version applies and counts its rules can differ from this model, so check Synology's documentation for your version before relying on a figure. Local snapshots stay on the same volume as the data, so they do not replace a backup on another device. Synology documents replication to another server as a separate feature.

References

  1. Snapshot Replication Technical Specifications (DSM 7.4), Synology Inc. Vendor settings, limits and remote replication.
  2. What is the Smart Retention policy in Snapshot Replication?, Synology Knowledge Center. The latest-snapshot-per-period and deduplication rules.
  3. International Standard Date and Time Notation, NASA. Weeks run Monday to Sunday.
  4. Time-related Constants, ECMAScript Language Specification, Ecma International (TC39). Hour and day conversions.