Guides
Choosing a backup retention schedule: three worked examples for a law office, a clinic, and an MSP client base
Backup frequency decides how much you lose; retention decides how far back you can reach. Three worked retention ladders for a law office, a clinic and an MSP client base, each with a policy line you can paste straight into Duplicati.
A retention schedule answers one question: when you finally notice something went wrong, is there still a clean copy from before it happened? How often you back up decides how much work you can lose. How long you keep versions, and how densely, decides how far back you can reach.
Most teams set backup frequency carefully and leave retention on a default. That works until the problem is a file that was overwritten six weeks ago, or an intruder who sat quietly in the network for a month before encrypting anything.
This article walks through three concrete retention ladders, for a law office, a medical clinic and an MSP running many client sites, and explains the reasoning behind each rung. Every example ends with a single --retention-policy line you can paste into Duplicati and adjust. It builds on backup deduplication explained, because deduplication is what makes long ladders affordable.
The three inputs that set every ladder
Every rung in a retention ladder should trace back to one of three things: how long problems stay hidden, what each kept version costs, and what your sector expects you to be able to recover.
1. Dwell time: how long problems stay hidden
Dwell time is the gap between something going wrong and someone noticing. For attacks, Mandiant's M-Trends 2026 report put the global median at 14 days for 2025, up from 11 the year before, and espionage-style intrusions averaged around 122 days. A median means half of all intrusions lasted longer.
Non-malicious problems hide too. A corrupted spreadsheet, a template saved over by mistake, or a sync client that quietly deleted a folder is often found only at month-end, quarter-end or when someone reopens an old matter.
The practical rule: keep daily versions for at least as long as your realistic detection window, and weekly versions for comfortably longer. If your daily rung is 7 days and the attacker was in for 14, every daily version you hold may already be tainted.
2. Storage cost: what each kept version actually adds
With block-level deduplication, a new version stores only the blocks that changed since the last one. Keeping 30 versions of a 1 TB file share does not cost 30 TB. It costs the first version plus the unique changes the other 29 captured.
That changes the trade-off. The expensive rungs are the dense, recent ones on data that churns, not the long yearly tail on documents that rarely change. The storage section below shows rough numbers.
3. Sector expectations: what customers, insurers and regulators assume
Each sector has its own idea of normal. Law firms are expected to recover a document as it stood at a past point in. Clinics are expected to restore patient-facing systems quickly and to show their backups are exact and retrievable. MSPs are expected to deliver whatever their service tiers promise, consistently, across every client.
One distinction matters here. A backup ladder is for recovery, not for records retention. If you must keep closed client files or medical records for years, that belongs in an archive or records system with its own policy. The yearly rungs below give a safety net, not a substitute for that archive.
How a ladder is written in Duplicati
Duplicati's --retention-policy option takes a comma-separated list of timeframe:interval pairs. Each pair is a bucket: within that timeframe, keep one version per interval. U as the interval means keep every version; U as the timeframe means forever.
Timeframes count back from now, so the buckets nest rather than add up. The built-in "Smart backup retention" default reads like this:
For the most recent week, keep one version per day
Out to 4 weeks, keep one per week
Out to 12 months, keep one per month
Anything older than 12 months is deleted
A few behaviors worth knowing before you copy anything:
Pruning runs at the end of each backup, and Duplicati never deletes the last remaining version.
Deleted versions free their space when a later compact rewrites the remote volumes, so storage drops in steps, not instantly.
The buckets are intervals, not calendar dates. A "monthly" version is one roughly every month, not necessarily the 1st.
A missed backup leaves a gap in that bucket; it is not filled in later.
The Duplicati documentation covers the option in full, and our earlier article on GFS-style retention explains the grandfather-father-son idea behind it. The rest of this article is about choosing the numbers.
Example 1: A 20-person law office
The setup. A file server holding client matter folders and templates, about 1 TB, mostly Word and PDF documents. Microsoft 365 for email. Backups run every 4 hours during the working day, so about three versions a day.
What goes wrong here. The typical loss is quiet: a pleading saved over with the wrong draft, a matter folder dragged into the wrong client, a precedent template edited badly and reused for weeks. These surface when a matter is reopened, often months later. Law firms are also attractive ransomware targets, so the attack dwell window matters too.
The ladder.
Rung | Fragment | Why |
|---|---|---|
Every version, 2 days |
| Undo today's and yesterday's mistakes to within a few hours |
Daily, to 21 days |
| Covers the 14-day median attack dwell time with a week to spare |
Weekly, to 3 months |
| Catches errors found at month-end or quarter-end billing |
Monthly, to 2 years |
| Matters are reopened; you can show a folder as it stood any month |
Yearly, to 7 years |
| A long, cheap safety net under the records archive |
Paste this:
At steady state this keeps roughly 60 versions. Because legal documents are mostly written once and rarely rewritten, each extra monthly or yearly version adds very little. The cost is dominated by the first full version and the 2-day dense window.
What to adjust. If your firm reopens matters routinely after two years, stretch the monthly rung to 36M:1M rather than adding more yearly versions. If backups only run nightly, 2D:U collapses to two versions, so consider 7D:U instead.
What this is not. Closed matter files that your professional rules require you to keep belong in the firm's records archive under its own retention policy. The yearly rung is there in case that archive itself fails.
Example 2: A multi-doctor clinic
The setup. A practice-management database (scheduling, billing, notes), scanned referrals and consent forms, and a file share for admin work, about 500 GB in total. Backups run every 2 hours while the clinic is open, about six versions a day. The database is exported to a dump file before each run so the backup captures a consistent state.
What goes wrong here. Two very different things. The urgent one is downtime: if the scheduling system is down, patients wait, so the most recent clean version must be fast to find and restore. The slow one is silent corruption or tampering in records that may not be looked at again for weeks. Healthcare is also heavily targeted by ransomware, and attackers increasingly go after backups first.
The ladder.
Rung | Fragment | Why |
|---|---|---|
Every version, 3 days |
| A long weekend's worth of 2-hour restore points |
Daily, to 30 days |
| Double the median dwell time; a clinic may not run a security team |
Weekly, to 6 months |
| Records reviews and billing disputes often reach back a quarter or two |
Monthly, to 2 years |
| Shows the state of the system at any month-end |
Yearly, to 6 years |
| Matches the 6-year horizon many US practices already use for compliance documentation |
Paste this:
This keeps roughly 90 versions, and the dense recent rungs are where the cost sits. A database dump changes throughout and deduplicates less well than documents, so each daily version of it adds noticeably more than a daily version of the scan archive.
What to adjust. Consider two backup jobs instead of one. Run the database job with the full ladder above. Run the scan and document job with 7D:U,30D:1D,26W:1W,24M:1M,6Y:1Y at a lower frequency, because scans are written once. Keep a second copy at a separate destination, so a single compromised credential cannot remove every version.
A note for EU and UK clinics. Data protection rules pull the other way: personal data should not be kept longer than needed. If your records policy says a patient file must be erased after a set period, a 6-year backup tail can conflict with that. Decide the yearly rung together with whoever owns your records policy, and document the reasoning. Our earlier article on backup compliance for GDPR and NIS2 covers that tension in more depth.
What this is not. In the US, HIPAA expects a backup plan that can restore exact copies of patient data; it does not say the backup itself must hold 6 years of history. Medical record retention periods are set by state or national rules and belong in the EHR or records archive.
Example 3: An MSP with 40 client sites
The setup. Forty small and mid-sized clients: accounting firms, retailers, a couple of dental practices, an engineering office. Some have one server, some have a dozen endpoints and a NAS. The MSP manages every backup from one console.
What goes wrong here. Not the restore itself, but drift. When each client gets a hand-tuned policy, nobody can say what any given client is actually protected against, and the promises in the service agreement stop matching the configuration. The fix is a small number of standard ladders, one per service tier, applied everywhere.
The ladders.
Tier | Backup frequency | Paste this | Versions kept (approx.) | Who it fits |
|---|---|---|---|---|
Essential | Nightly |
| 30 | Small offices with mostly cloud apps and a file share |
Business | Every 4 hours, working day |
| 65 | Most clients with on-premises servers or line-of-business databases |
Regulated | Every 2 hours, working day |
| 100 | Legal, healthcare, finance and anyone with audit obligations |
The Essential tier deliberately replaces the "Smart" default. That default keeps daily versions for only 7 days, which is half the median attack dwell time. Stretching the daily rung to 14 days costs little and closes that gap.
Running it across a client base.
Name the policy after the tier, not the client, and apply it from the console. When a client upgrades, change the tier rather than editing numbers.
Write the tier's ladder into the service description in plain language ("daily restore points for 30 days, monthly for 2 years"), so sales and engineering promise the same thing. Our article on writing a backup SLA MSPs can keep covers the commitments side.
Allow exceptions, but record them. A client whose insurer asks for 90 days of daily versions gets
90D:1Din their ladder and a note in their file.Price on stored data, not version count. With deduplication, moving a client from Essential to Business usually adds far less storage than the jump from 30 to 65 versions suggests.
Be careful when shortening a ladder. Pruning runs after the next backup, so versions outside the new buckets are removed straight away. Lengthening a ladder only takes effect going forward; it cannot bring back versions that were already pruned.
What the ladders cost in storage
The long tail is cheap; dense rungs on churning data are not. Retention overhead is driven by how much unique data changes between kept versions, not by how many versions you keep.
The figures below are illustrative, built on stated assumptions rather than measured customer data. They show the shape of the trade-off; your own numbers will differ.
Law office | Clinic | MSP client, Business tier | |
|---|---|---|---|
Source data | 1 TB documents | 500 GB, incl. a database | 800 GB mixed |
First version after compression and dedup | ~0.5 TB | ~0.3 TB | ~0.4 TB |
Versions kept | ~60 | ~90 | ~65 |
Assumed character of change | Mostly new files, few rewrites | Database rewritten daily | Mixed |
Extra storage for the full ladder | +20 to 40% | +60 to 120% | +30 to 60% |
Two things follow. First, adding the 7-year yearly rung to the law office ladder barely moves the total, because few old documents are rewritten. Second, the clinic's cost sits almost entirely in its 3-day and 30-day rungs on the database, which is why splitting it into two jobs pays off.
Measure, don't guess. Run a new ladder for a month and compare the destination size against the source size. Duplicati reports the remote size after each backup. If the overhead grows faster than you expected, the culprit is almost always a dense rung on a high-churn source, such as a database dump, a VM disk or a mailbox export, not the yearly versions.
Choosing your own ladder: a checklist
Start with detection. How long could a problem go unnoticed in this environment? Make the daily rung at least that long, and never shorter than 14 days.
Match the dense rung to your backup frequency.
2D:Uwith nightly backups is only two versions. With hourly backups it may be fifty.Ask when people look back. Month-end, quarter-end, year-end, a reopened case, an audit. Each is a reason for a weekly or monthly rung of that length.
Separate recovery from records. Long yearly rungs are a safety net, not an archive. Agree them with whoever owns records retention.
Split jobs by churn. Databases and VM disks get a shorter dense window; documents and scans can carry the long tail cheaply.
Keep a second copy elsewhere. A ladder protects against time; a second destination protects against losing the first one.
Measure after a month, then review yearly. Compare stored size with the estimate, and revisit the ladder when the business or its obligations change.
The three ladders here are starting points, not answers. What makes them useful is that each rung has a reason you can say out loud: this rung covers dwell time, this one covers month-end, this one covers the year someone reopens an old file. If you can explain every rung in your own policy that way, you have a retention schedule, not just a default.



