Skip to content

Systems and records

Archiving old Salesforce records to cut storage without losing history

By SourceX Editorial · Updated

Short answer

Salesforce data archiving cuts storage by moving old records out of standard objects while keeping them retrievable. Deleting frees space fastest but destroys history; archiving inside Salesforce keeps records close to users; archiving off-platform keeps full history outside the org. The rule: never delete a record family until a verified copy, with its IDs and relationships, exists elsewhere.

Key takeaways

  • Salesforce storage has two pools, data storage for records and file storage for attachments and files, and each needs its own plan.
  • Deleting a parent record can remove related child records, so deletion loses more history than the rows you selected.
  • Big objects and archiving products keep records on the platform but change how search, reporting and automation work.
  • Record IDs and lookup fields are what let an off-platform archive rebuild the link from email to case to account.
  • Under the Salesforce Main Services Agreement, data must be requested within 30 days after termination or it may be deleted.

What is actually filling your Salesforce storage?#

Salesforce storage fills from two separate pools: data storage, used by records such as accounts, cases, tasks and email messages, and file storage, used by attachments, Salesforce Files and documents. The storage usage page in Setup shows which objects take the most space, and it is the first screen to open before anyone proposes deleting anything.

In software companies the usual culprits are predictable. Email-to-Case creates an email message record for every inbound and outbound email, activity capture tools log tasks and events in bulk, integrations write log records nobody reads, and closed cases pile up with their attachments. Each is a different archiving decision.

Write down the top objects, how old their records are and who still opens them. A storage problem driven by integration logs is solved very differently from one driven by years of customer email.

Delete, archive inside Salesforce or archive off-platform?#

The choice between deleting, archiving inside Salesforce and archiving off-platform comes down to what you need later: the history itself, everyday access from the record page, or neither. Every option frees storage, but only two of them keep history.

Delete, archive inside Salesforce or archive off-platform?
OptionEffect on storageEffect on historyLater access
DeleteFrees space once records are permanently removedGone, along with related records removed by cascadeNone, unless a backup exists and can be restored
Archive inside Salesforce (big objects or an archive product)Moves records out of standard storageKept on the platformUsers can often view archived records, with limits on search, reports and automation
Archive off-platform (database, warehouse or archive vendor)Frees space once records are removed from the orgKept in full if IDs and relationships are exportedThrough BI tools, a lookup app or a restore process
Export to files, then deleteSame as deleteKept only as CSV filesHard to search until the files are loaded somewhere
  1. 01Your work records
  2. 02Personal details removed
  3. 03You approve the release
  4. 04Licensed to AI developers
How it works with SourceX: Your work records → Personal details removed → You approve the release → Licensed to AI developers.Illustrative

What deleting really costs#

Deleting Salesforce records costs more than the records themselves, because related data goes with them. Deleting a parent can remove child records, email messages lose the case they explained, and reports built on multi-year trends silently change.

Deleted history is also history you cannot use later. Support cases linked to product releases, opportunity stage changes and the notes behind lost deals explain how the business actually worked. They support audits, renewals and disputes, and they are the kind of operating record AI developers now license from established companies.

If deletion is right for a record family, such as integration logs with no business meaning, document the decision, the date range covered and who approved it.

How big objects and archiving tools work#

Salesforce big objects store very large volumes of records on the platform for data that must be kept but is rarely touched. They are built for volume rather than daily use, so search, reporting, sharing and automation work differently than on standard objects. Check what your users actually need before moving records there.

Archiving products, from Salesforce and from AppExchange vendors, package the same idea: they move old records out of standard storage on a schedule and let users view or restore them. When comparing tools, ask each one the same questions.

  • Are parent-child relationships kept, such as case to email message to account?
  • Are files and attachments archived, or only records?
  • Can users see archived records from the original record page?
  • Can records be restored with their original IDs?
  • Where is the archive stored, and can you export it in full if you leave the tool?
  • How are privacy deletion requests applied to archived records?

Get a complete copy before anything moves#

A complete copy is the safety net under every archiving option, and the Salesforce Data Export Service is the simplest place to start. According to Salesforce Trailhead, a manual export can run every 7 days in Enterprise, Performance and Unlimited Editions, while Professional and Developer Editions can generate backup files only every 29 days.

The export can include images, documents and attachments, plus Salesforce Files and CRM Content document versions, at the cost of longer processing, and it arrives as zip files of CSVs. One Salesforce partner's guide says the zip files are deleted 48 hours after the notification email and that the feature is not available in sandboxes, so download promptly into controlled storage.

Large orgs usually need API-based tools for volume. Whatever the route, keep every record ID and lookup field, because IDs are what let you rebuild the link from an email message to its case and from the case to the account.

Illustrative: a vertical SaaS company over its storage limit#

Illustrative: a fictional company selling scheduling software to commercial cleaning contractors runs support in Service Cloud with Email-to-Case. Storage alerts start arriving, and the CFO is asked to approve extra storage.

The IT lead's first proposal is to delete closed cases from the product's early years. The head of support objects: those cases link to engineering issues and explain how the scheduling logic was fixed release by release. Instead, the team exports cases, email messages and attachments with their IDs, loads them into the company's data warehouse, checks counts against Salesforce reports and only then removes old email messages from the org.

Storage falls back under the limit, agents still see case summaries on each account, and the full threads stay queryable in the warehouse. When leadership later asks whether its support history could be licensed, the archive is already complete and linked.

What should stay inside Salesforce?#

Salesforce should keep the records people use to serve customers today, and the archive should hold the rest. Draw the line by how each record family is used, not by one cutoff date for every object.

What should stay inside Salesforce?
Record familyKeep in the orgMove to the archive
Accounts and contactsActive customers and open prospectsLong-inactive records, with IDs preserved
OpportunitiesOpen deals and recent closed deals used in forecastsOlder closed-won and closed-lost history
CasesOpen cases and those inside your support lookbackOlder closed cases with full threads
Email messages and activitiesRecent threads agents still readOlder email bodies, tasks and events
Field historyWhat your org retains by defaultCaptured copies, if change history matters
Integration logsOnly what troubleshooting needsUsually deleted after a documented review

How SourceX looks at archived CRM history#

SourceX looks at an archived Salesforce history as one of the stronger forms of operating records, because a well-built archive keeps cases, emails, opportunities and accounts linked by ID. In the fit check, a company describes the archive with metadata only: objects, years covered and whether threads and outcomes are complete.

Under the SourceX Enterprise Data Value Framework, linked history rates well on human-generated signal and domain expertise, while privacy burden and preparation cost reduce net value, since customer names, email addresses and signatures in threads all need removing. Rights review checks customer contracts and platform terms, and every approved package carries a SourceX Evidence Packet.

Frequently asked questions

What happens to our data if we leave Salesforce entirely?

Under the Salesforce Main Services Agreement, if you ask within 30 days after termination or expiration, Salesforce makes your Customer Data available for export or download. After that period it has no obligation to keep it and will delete it unless legally prohibited. Negotiated order forms can differ, so check yours and export well before the end date.

Does archiving off-platform change who owns the records?

No. Moving records to your own database or an archive vendor changes where they are stored, not who owns them. Read the archive vendor's terms on data use, storage location and export on exit, because you are adding a new processor to the chain.

Can we still report on archived records?

Yes, if the archive is built for it. Off-platform archives in a warehouse can feed BI tools, and some in-platform archive products allow limited reporting. List the historical reports leadership actually uses and confirm they still work before removing records from the org.

Should field history be part of the archive?

If change history matters, yes. Standard field history tracking is not designed as a permanent archive, so capture it alongside the records. Stage changes on opportunities and status changes on cases are often the most revealing history a CRM holds.

Do privacy deletion requests apply to archived records?

Often, yes. A deletion request under laws such as CCPA may reach copies in archives and backups, depending on the law and the exceptions that apply. Make sure your archive can find and remove one person's records, and review your obligations with counsel.

Sources

  • According to Salesforce Trailhead, the Data Export Service allows a manual export once every 7 days (weekly) or every 29 days (monthly). Weekly exports are available in Enterprise, Performance and Unlimited Editions, while Professional and Developer Editions can generate backup files only every 29 days. Source
  • Sage People's guide to the Salesforce Data Export screen says export zip files are deleted 48 hours after the notification email is sent (not counting weekends), and that the data export feature is not available in sandbox environments. Source
  • Salesforce's Data Export Service has options to include images, documents and attachments and to include Salesforce Files and CRM Content document versions. Adding this content increases export processing time. The export arrives as zip files of CSVs, split into multiple files when large. Source
  • Under the Salesforce Main Services Agreement, if the customer asks within 30 days after termination or expiration, SFDC makes Customer Data available for export or download. After that 30-day period SFDC has no obligation to maintain or provide Customer Data and will delete or destroy all copies unless legally prohibited. Source

Related resources

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies