Sub topic 17
When to use a managed backup product
This chapter assumes you have read the earlier chapters on backup goals, the Data Export Service, the Salesforce CLI, and restore testing. You should know what RPO (recovery point objective, how much recent data you can afford to lose) and RTO (recovery time objective, how long a restore may take) mean. You should also know how the scripted approach in this tutorial works.
The methods covered so far cost little in licensing but take your time. You write the queries, schedule the jobs, store the files, and rehearse the restores. A managed backup product takes over some or all of that work for a fee. This chapter helps you decide whether that trade is worth it for your org.
What a managed backup product is
A managed backup product is a paid service or application that copies your org's data, and often its metadata, on a schedule and stores the copies for you. It also provides a way to browse and restore them. Some products are sold by Salesforce. Others come from third-party vendors, and some of those are installed in the org as a package. Others run outside Salesforce and connect through the APIs.
Under the hood, these products use the same interfaces you have already used: SOQL queries, the Bulk API, and the Metadata API. They do not read data any other way. Their value lies in the engineering around those interfaces, not in access to anything you cannot reach yourself.
What you get that scripts do not give you
Compare each item below with the scripted routine you built earlier.
- Backup frequency. The Data Export Service runs at most weekly or monthly, depending on the edition. A script you schedule can run daily. Many products run daily or more often, and some capture changes continuously. This directly improves your RPO.
- Incremental capture. A product tracks which records changed since the last run. It does not re-export everything each time. This saves API calls on large orgs.
- Point-in-time views. Many products keep multiple versions of a record. You can then compare the org today with the org last Tuesday.
- Restore tooling. This is usually the strongest selling point. The product can restore a single record, a branch of parent and child records, or a whole object. It handles the load order and Id remapping that you otherwise script by hand.
- Monitoring and alerts. The product reports failed or partial runs. A cron job that fails silently is a common weakness of scripted backups.
- Storage, encryption, and retention. The vendor manages these, and the product typically offers retention policies you can configure.
- Audit evidence. Reports on backup success can support compliance reviews.
What you give up
A managed product is not free of risk. Weigh these costs before you buy.
- Licensing cost. Pricing often scales with data volume or user count, so a large org pays more every year.
- A new third party holds your data. Your records are copied to a system you do not control. You must review where it is hosted, who can access it, and how it is encrypted. Your security and legal teams may need to approve it.
- Dependence on the vendor's roadmap. If the product does not support an object, a field type, or a new Salesforce feature, your backup has a gap you may not notice.
- API consumption. A product still uses your org's API limits. A daily incremental backup is lighter than a daily full export, but it is not free.
- Restore is not guaranteed. A product can promise backups and still fail on a complicated restore. Test it the same way you test your own scripts.
Comparing the approaches
| Concern | Scripted export (CLI, Data Loader) | Data Export Service | Managed product |
|---|---|---|---|
| Licensing cost | None beyond Salesforce | None | Paid |
| Setup effort | High | Low | Low to medium |
| Typical frequency | Whatever you schedule | Weekly or monthly | Daily or more often |
| Incremental backups | You build them with LastModifiedDate | No, full export each time | Usually built in |
| Metadata backup | You build it with a manifest | No | Often included |
| Single-record restore | Manual | Manual | Usually built in |
| Control of stored data | Complete | Complete after download | Shared with vendor |
Deciding whether you need one
Start from your recovery goals, not from the product list. Ask these questions in order.
- Could you tolerate losing a week of data? If yes, the Data Export Service plus a metadata retrieve may meet your RPO, and a product adds little.
- Could you restore within your RTO using scripts? A rehearsal answers this with a measured time. If restoring one account with its contacts and opportunities takes an engineer half a day, and the business needs it in an hour, you have a gap.
- Who will maintain the scripts? If the one person who understands them leaves, the routine decays. A product moves that burden to a vendor.
- Do rules require retention, audit trails, or encryption you cannot easily provide? Regulated industries often meet these requirements faster by buying a product.
- How large is the org? Large data volumes make full daily exports slow and API-hungry. Incremental capture in a product becomes more valuable as data grows.
Evaluating a product
When you assess candidates, test these points directly instead of relying on the sales material.
- Object coverage. Confirm that your custom objects, big objects, files, and attachments are included. Files and attachments are the most common gap.
- Metadata coverage. Confirm whether it backs up flows, Apex, and permission sets, and whether it versions them.
- Restore fidelity. Restore a parent record with children into a sandbox and check that lookups and master-detail links survive.
- Data location and access. Ask where data is stored, who at the vendor can read it, and whether you hold the encryption keys.
- Exit plan. Ask how you export your backups if you leave. A backup you cannot take out of the product is a form of lock-in.
- Limit usage. Ask how many API calls a daily run consumes in an org of your size.
A hybrid approach
You do not have to choose one method. Many teams keep a product for day-to-day recovery, such as a user deleting a batch of opportunities. They also keep the Data Export Service as an independent copy that does not depend on the vendor. The independent copy costs little. It protects you if the vendor has an outage or drops support for a feature. Keep the metadata manifest in version control either way, because that routine is cheap and gives you history the product may not.
Exercise
Your org has 4 million records, a business requirement to recover from data loss within one hour, and no one on staff who maintains scripts. A weekly Data Export Service file is your only backup today. Which option do you evaluate first, and what do you do before you commit to it?
Show answer
Evaluate a managed backup product, because the weekly export gives an RPO of up to a week and a manual restore is unlikely to meet a one-hour RTO. Before committing, run a restore rehearsal in a sandbox with a parent record and its child records, and confirm that relationships survive. Also check object coverage, data location, API usage, and how to export your backups if you leave. Keep the Data Export Service as an independent second copy.
Exercise
Name two things a managed product still depends on that scripts also depend on, and explain why this matters when sizing your backup.
Show answer
It depends on the same Salesforce APIs (SOQL, Bulk API, Metadata API) and therefore consumes the same org API limits. A product does not bypass limits, so you must confirm how many calls a run uses in an org of your size and make sure backups do not starve other integrations.