Skip to content

Privacy and preparation

Dataset retention copy inventory: 9 of 14 copy layers set no end date

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

A dataset retention copy inventory lists every copy a licensing project creates, from raw exports and working files to buyer samples, logs and backups, and ties each to the obligation it must follow and the record that proves it ended. Tool defaults will not do it: across 14 copy layers in 13 open-source backup, snapshot and workspace tools, 9 set no automatic end date, and the longest automatic policy keeps snapshots about 3 years.

Record timeline

Dataset retention copy

This page covers dataset retention copy inventory: 9 of 14 copy layers set no end date.Illustrative

Key takeaways

  • A licensing project creates copies a retention schedule never names: exports, working files, mapping tables, samples, check extracts, rejected records, logs and backups.
  • Of 14 copy layers in 13 open-source tools read at pinned commits, 9 set no end date of their own and 5 expire by default, from 24 hours (Litestream) to about 3 years (Kopia).
  • The pseudonym mapping table is the copy whose end date matters most: the ICO treats pseudonymised data as personal data because additional information such as a mapping table can re-identify people.
  • A canary expiry test, a planted fictitious record searched for after each end date, turns a retention policy into evidence; unlisted copies and surviving markers should both be zero.
  • Copies a supplier makes stay under its own schedule even after a license closes, so the inventory belongs to the supplier.

What does a dataset retention copy inventory need to list?

Every place a record from the project can still be read after its intended life ends, with the obligation that governs each copy and the evidence that the copy ended on time. A retention schedule usually names systems of record. A licensing project creates copies those schedules never mention: the raw export, staging tables, analysts' working files, the pseudonym mapping table, buyer samples, quality-check extracts, rejected and excess records, processing logs, and the backups and snapshots behind all of them.

The decision this page settles is whether a company preparing records for AI licensing can say, for each copy, which rule applies and when the copy ends. The evidence that settles it is not a policy statement. It is a reconciliation between the inventory and what a scan of the project's storage actually finds, plus a planted record that is deleted and then searched for after each stated end date.

This is general information about privacy and security practice, not legal advice. Which retention obligations apply depends on jurisdiction, contracts and record types, and counsel or a privacy specialist should review the specific facts.

Where do copies multiply during preparation?

At every hand-off between people, tools and stages. A typical preparation route creates copies at the points below, and each copy inherits the obligations of the records it holds, whoever made it and however briefly it was meant to exist:

At a glance

Where do copies multiply during preparation

Checklist · 9 items

  1. Source export: the first extract from the system of record, often a full table or mailbox rather than the approved scope.
  2. Staging and working files: the tables, spreadsheets and notebooks analysts use to profile, filter and fix records, plus the versions and checkpoints their tools keep.
  3. Pseudonym mapping table: the key that links replacement values back to people, which keeps every pseudonymised copy linkable while it exists.
  4. Buyer or reviewer samples: small extracts sent out for fit checks, which leave the company's systems earlier than anything else.
  5. Quality and redaction check extracts: records pulled into review queues, screenshots and test fixtures, usually the hardest and most identifying cases.
  6. Rejected and excess records: data removed from scope that still sits in the export or in a quarantine folder.
  7. Logs and error reports: processing logs, failed-job dumps and tickets that quote record values.
  8. Backups, snapshots, trash and version history: copies the infrastructure makes on its own, which nobody on the project created by hand.
  9. Transfer media: encrypted drives or shared storage used to move the prepared dataset.

0 of 9 ticked. Tick each item as you go.

What do backup and versioning tools keep if nobody configures them?

Often everything. Reading the default settings of 13 open-source backup, snapshot, versioning and workspace tools at pinned commits, 9 of 14 copy layers set no end date of their own: earlier copies stay until an operator sets or runs a removal policy, except that one trash bin empties when space runs short and one version store thins old versions without ever aging them out. The 5 layers that do expire by default keep copies for anywhere from 24 hours to about 3 years.

The no-end-date group is the bigger risk for a licensing project, because a working copy deleted at the end of preparation survives in backups nobody sized against the project's retention promise. restic removes snapshots only when an operator runs forget, naming snapshots or giving keep options, and then prune; Borg refuses to prune without at least one keep rule. Barman enforces no retention because its retention_policy option is not set by default. pgBackRest only warns that a repository may run out of space when full-backup retention is unset. WAL-G's delete command performs a dry run unless the operator adds a confirm flag.

Workspace tools behave the same way. Nextcloud's default trash setting keeps deleted files for at least 30 days and then deletes them only if space is needed, and its automatic version expiry keeps one version per week with no end to that interval, removing versions early only when space runs short, so an edited spreadsheet can keep its pre-redaction versions. Jupyter Server sends deleted files to the platform's trash by default. Git's garbage collection prunes only unreachable objects, so a file removed by a later commit stays in reachable history; after a history rewrite, reflog entries for unreachable commits expire after 30 days by default and git gc prunes unreachable objects only once they are two weeks old.

Among the tools that expire by default, horizons differ about a thousandfold: Litestream's snapshot retention is 24 hours, Velero's backup time-to-live 30 days, sanoid's default template keeps 6 monthly snapshots, zfs-auto-snapshot's shipped monthly job keeps 12, and Kopia's default policy keeps 3 annual snapshots. Each default as written in its own source:

What do backup and versioning tools keep if nobody configures them?
Copy layerDefault as writtenRemoves old copies on its own?Longest default horizon
restic and Borg snapshotsRemoval only when an operator runs forget and prune (restic) or prune with a keep rule (Borg)NoNo end date
Barman backupsretention_policy not set, so no retention is enforcedNoNo end date
pgBackRest full backupsRetention unset: a warning that the repository may run out of spaceNoNo end date
WAL-G backupsdelete performs a dry run unless --confirm is addedNoNo end date
Nextcloud trash and file versionsTrash: at least 30 days, then deleted only if space is needed; versions: one a week with no end, removed early only if space is neededTrash only when space runs short; versions thinned to one a week and removed early only when space runs short, never aged outNo end date
Git history and Jupyter Server deletesRemoved files stay in history; deleted files go to the platform trashNoNo end date; reflog 30 or 90 days after a rewrite
Litestream snapshotsSnapshot retention 24 hoursYes24 hours
Velero backupsBackup time-to-live 30 daysYes30 days
sanoid and zfs-auto-snapshotsanoid: 48 hourly, 90 daily, 6 monthly; zfs-auto-snapshot monthly job: keep 12YesAbout 6 and about 12 months
Kopia snapshots10 latest, 48 hourly, 7 daily, 4 weekly, 24 monthly, 3 annualYesAbout 3 years
A dot chart on a log time scale of default retention in 14 copy layers: Litestream 24 hours, Velero 30 days, sanoid 6 months, zfs-auto-snapshot 12 months and Kopia 3 years, then nine layers marked with no automatic end: restic, Borg, Barman, pgBackRest, WAL-G, Nextcloud trash, Nextcloud versions, Git history and Jupyter Server.
Default settings read from each project's source at pinned commits on 2026-10-28; configured systems can differ.

The copy inventory and privacy-utility review matrix

Give every copy class one row that states why it exists, what it exposes, when it ends and which record proves the end. The why column is the utility half of a privacy-utility review: a copy that serves no remaining purpose is the cheapest risk to remove, while a copy that carries the task, such as the prepared dataset itself, needs controls rather than deletion.

The rows are a starting matrix for a supplier preparing records for licensing. Each company fills the end-date column from its own retention schedule, privacy notices and contracts, reviewed by counsel, and adds the live backup and version settings that cover each location:

The copy inventory and privacy-utility review matrix
Copy classWhy it existsWhat it exposesEnds whenRecord that proves it
Source exportStarting point for selectionFull records, often beyond the approved scopeSelection is signed off; the original system keeps its own scheduleDeletion log naming the export file and its hash
Staging tables and working filesProfiling, filtering and fixesIdentifiable records, plus every edited versionPreparation closes, with versions and trash purged tooStorage listing showing no files, versions or trash entries
Pseudonym mapping tableConsistent replacements across filesThe link from pseudonyms back to peopleNo re-linking need remains, or as the agreement setsKey destruction record with date and method
Buyer or reviewer samplesFit and quality checksRecords outside the company before signingThe review ends and return or deletion is confirmed in writingRecipient's confirmation against a sample manifest
Redaction and quality check extractsProving the method workedHard cases, often the most identifyingResults are recorded without record textResults kept as counts; extract deletion logged
Rejected and excess recordsNone once excludedOut-of-scope and sometimes sensitive dataAs soon as the exclusion is confirmedQuarantine purge log with record counts
Processing logs and error dumpsProving which step ranRecord values quoted in messagesKept for evidence only after values are scrubbedLog settings plus a search for planted values
Backups, snapshots and transfer mediaRecovery from failure; moving dataEvery copy above, frozen in timeThe last backup holding project data expires; drives are sanitizedBackup policy with its end date; drive sanitization record

Which retention obligation governs each copy?

The obligation of the records the copy holds, under the law that applies to them; making a copy cannot relax it. In the UK, the ICO's guidance on the storage limitation principle of the UK GDPR says organizations need to think about, and be able to justify, how long they keep personal data, that the answer depends on the purposes for holding it, and that a policy setting standard retention periods is recommended wherever possible, with data no longer needed erased or anonymised. The ICO marks this guidance as under review following the Data (Use and Access) Act 2025.

Pseudonymisation does not take a working copy out of scope. The ICO's pseudonymisation guidance treats pseudonymised data as personal data, because it can be combined with additional information to identify people, while noting that pseudonymised data shared without that additional information may be anonymous in the recipient's hands. The ICO's glossary calls the additional information the pseudonymisation secret and lists a key, salts and peppers used for hashing, or a mapping table. That makes the mapping table the copy whose end date matters most: while it exists, every pseudonymised copy in the inventory stays linkable.

Backups get the same rule with a practical allowance. The ICO's right-to-erasure guidance expects steps for backup systems as well as live systems, shaped by the circumstances, the retention schedule for backups and the technical mechanisms available, with the key issue being to put backup data beyond use when it cannot be overwritten at once. For an inventory, that means a backup row is never blank: it names the restriction on restores and the date its rotation ends. This guidance is also marked as under review.

In the U.S. health context, the rule-maker places the clock elsewhere. HHS says the HIPAA Privacy Rule contains no medical record retention requirements, leaving the period to state law, while covered entities must keep safeguards in place for whatever period they maintain the information, through disposal. An inventory for health administration records therefore takes its end dates from state law and contracts and applies HIPAA safeguards to every copy that still exists.

For the inventory itself, NIST's Privacy Framework, Version 1.0 of January 2020, supplies the vocabulary: its Inventory and Mapping category expects data processing to be mapped, including the data actions, the data elements and the roles of owners, operators and third parties, and subcategory CT.DM-P5 reads that data are destroyed according to policy. The framework is voluntary and describes outcomes rather than legal duties.

The canary expiry test: proving a copy really ended

Plant a marked, fictitious record at the start, follow it through every copy class, end each copy the way the inventory says, and search for the marker after each stated end date. A copy that still returns the marker has failed, whatever the policy says. The test uses invented values only, so it adds no personal data to any system.

Two counts summarize the result for a reviewer: copies the storage scan found that the inventory did not list, and inventory rows whose marker was still present after the end date. Both should be zero before anyone signs a final deletion record. The steps:

  • Create canary records with unique, invented marker strings in fields every stage reads, such as a ticket subject and a free-text note.
  • Record where each marker should travel: export, staging, working files, samples, logs and backups, each tied to its inventory row.
  • Run preparation normally, then apply each row's end action: delete, purge versions and trash, expire backups, sanitize drives.
  • On each row's end date, search every location for the markers, including version history, trash, snapshots and backup catalogs.
  • Log each search with location, date, tool and result; a hit opens a fix, not a footnote.
  • Repeat the search after the longest backup horizon in the inventory, the date the last copy should disappear.

Final-delivery checklist for retention

Before the prepared dataset leaves, confirm each item and keep the evidence in the project file:

Checklist · 8 items

  1. Every copy class in the matrix has a row, an owner and an end date taken from a named obligation.
  2. A scan of project storage found no copy the inventory does not list.
  3. Rejected, excess and out-of-scope records are purged from exports, staging and quarantine, with counts logged.
  4. Samples sent for review have written deletion or return confirmations matched to their manifests.
  5. The pseudonym mapping table has a decided end date and destruction method on record.
  6. Logs keep evidence of steps without record values, and a search of the logs for canary markers returns nothing.
  7. Backup, snapshot, version and trash settings covering project storage were read from live configuration, and the longest horizon is written into the inventory.
  8. The final canary search is scheduled for the last end date, with a named person responsible.

0 of 8 ticked. Tick each item as you go.

What a copy inventory does not settle

It shows where records are and when each copy ends; it does not make the records safe to license. Removing direct identifiers, securing a transfer or deleting every working copy on time leaves indirect identification, rights and buyer fit untouched, and each of those needs its own review and evidence.

The inventory also stops at the company's boundary. Once a dataset is delivered under a signed license, what the recipient keeps is governed by that agreement rather than the supplier's schedule; the page on dataset retention after termination covers the artifact map a licensee keeps. And the defaults measured here describe software as shipped at the pinned commits. Configured systems can differ in either direction, which is why each inventory row records the live setting rather than the default.

Specialist review belongs at three points: counsel on which obligation governs each record type, a privacy reviewer on whether any retained copy is still personal data, and the system owner on whether backup settings can change without breaking recovery commitments.

Keeping the inventory when records go to SourceX

SourceX's trust page describes supplier files held in private storage and shared only through links that expire within minutes, and an audit trail that records every status change with who made it and when. It says that once SourceX gives the go-ahead, the data is "extracted, transferred and de-identified through approved processing routes," and that large datasets can stay in the supplier's own storage or ship on encrypted drives, which puts the drive on the supplier's inventory as transfer media. Transaction records, agreements and audit history sit in managed cloud infrastructure with automated backups.

Its how-it-works page adds two facts that belong in a supplier's inventory notes: if a deal does not close, the supplier receives a no-deal notice and declined data is deleted; once the fee is paid, SourceX's license to the de-identified dataset is permanent and survives termination of the agreement. The supplier's own copies, from exports and working files to samples and backups, stay under the supplier's schedule either way, so the inventory is the supplier's to keep. Whether a company's records qualify at all is checked first through a short company assessment, before any file changes hands.

Methods note: how the 14 defaults were read

Read on 2026-10-28 from partial clones of 13 public GitHub repositories at pinned commits: restic/restic dd09b6b, borgbackup/borg 62051de, EnterpriseDB/barman 7b8b3a5, pgbackrest/pgbackrest 01c269c, wal-g/wal-g 67cb69a, nextcloud/server 406c29b, git/git 37b3475, jupyter-server/jupyter_server f8169d7, benbjohnson/litestream bd4a2eb, vmware-tanzu/velero c0bb00c, jimsalterjrs/sanoid d39b51a, zfsonlinux/zfs-auto-snapshot 92db087, whose last commit is from 2019, and kopia/kopia c56a67b. One file per layer was read with git show; no code from any repository was run.

Unit and rules: a copy layer is one tool feature that keeps an earlier copy after data is deleted or changed at the source. Nextcloud contributes two layers, trash and versions, so 13 repositories give 14 layers. A layer counts as removing old copies on its own only when its shipped default deletes them by age without an operator setting or running a policy; Nextcloud's trash, which empties only when space runs short, and its versions, which are thinned to one a week and removed early only when space runs short, never aged out, count as having no end date. The longest horizon is the largest keep count times its interval for snapshot schedules, or the stated duration. The script xs0872_defaults.py prints the matched source line for every layer.

Not measured: how widely each tool is deployed, how operators configure it in practice, changes made by Linux distribution packages, commercial backup products, cloud provider recovery windows, and any company's actual copies. Defaults can change in later releases, so each row should be rechecked against the version a company runs.

Frequently asked questions

Do backups have to follow the same retention period as live data?

Under the UK GDPR, the ICO expects erasure steps to cover backup systems as well as live systems, while accepting that some backups cannot be overwritten at once; the key issue is putting that data beyond use until its rotation ends. An inventory should name each backup's restriction and end date rather than leaving the row blank.

Is a pseudonymised working copy still personal data?

Under ICO guidance it generally is, because it can be combined with additional information, such as a mapping table or key, to identify people. Shared without that information it may be anonymous in a recipient's hands, which is why the mapping table's end date matters most.

Why not rely on a backup tool's default retention?

Because many defaults never end. Of 14 copy layers read in 13 open-source tools, 9 set no end date unless an operator sets or runs a policy, and the longest automatic default, Kopia's, keeps annual snapshots for about 3 years. Record the configured value from live settings instead.

What is a canary record in a deletion test?

A fictitious record with unique marker strings, planted at the start of preparation and followed through every copy. After each copy's end date, every location, including trash, versions and backups, is searched for the marker; a hit means that copy did not end.

Who keeps the copy inventory when records are licensed to SourceX?

The supplier, for the copies it makes. SourceX's trust and how-it-works pages describe its own handling, including private storage, approved processing routes and deletion of declined data, while the supplier's exports, working files, samples and backups stay under the supplier's own schedule.

Sources

  • ICO (UK GDPR): organizations need to think about and justify how long they keep personal data, depending on their purposes, with a policy setting standard retention periods wherever possible; data no longer needed should be erased or anonymised. Source
  • ICO (UK GDPR): a valid erasure request requires steps for backup systems as well as live systems, depending on circumstances, the retention schedule for backups and available mechanisms; the key issue is putting backup data beyond use. Source
  • ICO: pseudonymised data remains personal data because it can be combined with additional information, though shared without that information it may be anonymous in the recipient's hands. Source
  • ICO glossary: the pseudonymisation secret is the additional information used to re-identify people, such as a key, salts and peppers used for hashing, or a mapping table. Source
  • HHS: the HIPAA Privacy Rule does not include medical record retention requirements, state laws generally govern retention, and safeguards apply for whatever period information is maintained, including through disposal. Source
  • NIST Privacy Framework Version 1.0 (January 2020): Inventory and Mapping expects data processing to be mapped, and CT.DM-P5 states that data are destroyed according to policy. Source
  • SourceX's trust page: private storage with links that expire within minutes, a full audit trail, processing through approved routes after the go-ahead, large datasets in supplier storage or on encrypted drives, and automated backups of transaction records. Source
  • SourceX's how-it-works page: declined data is deleted when a deal does not close, and once the fee is paid the license to the de-identified dataset is permanent and survives termination. Source
  • restic removes snapshots only manually by snapshot ID or through forget with a policy of one or more --keep-* options, followed by prune. Source
  • Borg's prune command raises an error unless at least one keep rule is given. Source
  • Barman's retention_policy option is not set by default, so no retention is enforced. Source
  • pgBackRest only warns that a repository may run out of space when full-backup retention is not set, and hints at indefinite retention. Source
  • WAL-G's delete command performs a dry run by default and deletes only with a --confirm flag. Source
  • Nextcloud's default trash setting keeps files at least 30 days and then deletes them only if space is needed. Source
  • Nextcloud's automatic version expiry keeps one version per week after the first 30 days, with no end to that interval, and removes versions early only when space runs short. Source
  • Git's reflog entries expire after 90 days by default, 30 days for unreachable entries, and git gc prunes unreachable objects older than two weeks. Source
  • Jupyter Server sends deleted files to the platform's trash or recycle bin by default. Source
  • Litestream's default snapshot retention is 24 hours. Source
  • Velero's default backup time-to-live is 30 days. Source
  • sanoid's default template keeps 48 hourly, 90 daily and 6 monthly snapshots, with autoprune on. Source
  • zfs-auto-snapshot's shipped monthly job keeps 12 monthly snapshots. Source
  • Kopia's default retention policy keeps 10 latest, 48 hourly, 7 daily, 4 weekly, 24 monthly and 3 annual snapshots. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies