A full sandbox and a partial copy sandbox are not the same masking problem wearing different names. Full sandbox masking is a volume problem: every record, every object, every related child row needs a pass. Partial copy masking is a scope problem: a sampling template decides which records show up, and that template can quietly drag PII into an environment that was supposed to be smaller and safer.

Treat them with the same masking policy and you will either waste hours masking data that a partial copy never pulled in, or miss PII that a full sandbox refresh brought over in its entirety. Neither mistake is harmless. One burns runtime, the other burns your GDPR position.

Why sandbox type changes the masking calculus

A full sandbox is a byte-for-byte copy of production, metadata and all. Every contact, every case comment, every custom object record with a free-text field comes along for the ride. If your masking policy has gaps, a full sandbox refresh exposes those gaps at full production scale.

A partial copy sandbox uses a sampling template to pull a defined subset of records, typically by object and a record count or filter criteria. That sounds safer on paper. It is not automatically safer in practice, because the template author chooses which objects to include, and it is easy to forget a child object that carries sensitive fields even when the parent object is in scope.

Sampling also breaks referential assumptions. A partial copy might include an Account but only some of its related Contacts, or include Opportunities without their associated Quote line items. Masking policies built against a full data model can misfire when the data underneath is partial and inconsistent.

Full sandbox masking: the volume problem

Full sandbox refreshes run on a schedule, often quarterly or at major release checkpoints, precisely because they are expensive in time and compute. Masking has to run inside that same window, and masking jobs that were tuned against a mid-size data set can fall over when they hit a seven-figure Contact table.

The practical issue is runtime stacking. Salesforce's own refresh takes hours on a large org. Add a masking pass that processes every object sequentially and you can turn a weekend refresh into a multi-day event, which pushes back every team waiting on that sandbox for UAT or release testing.

The fix is not a smaller masking policy. It is a masking engine that can batch and parallelize across objects, mask in place rather than export-mask-reimport, and prioritize high-risk objects first so admins can hand over a usable sandbox before the entire job finishes. MaskEzee runs object-level masking in parallel batches specifically because full sandbox volume punishes sequential tools.

Partial copy masking: the scope problem

Partial copy sandboxes fail differently. The data set is smaller, so runtime is rarely the issue. The issue is coverage: did the masking policy account for every object the sampling template actually pulled in, including the objects nobody remembers adding six months ago when someone needed test data for a new integration?

Sampling templates get edited more often than teams expect. A developer adds Case and its attachments to debug a support issue. A sales engineer adds Opportunity Contact Roles to test a quoting flow. Each addition potentially introduces a PII-bearing object that was outside the original masking policy's scope.

This is where static masking configurations quietly rot. A policy written against last year's sampling template does not automatically track changes to this year's template. Admins need a masking tool that flags newly included objects before a refresh runs, not after someone notices unmasked emails in a partial copy three weeks later.

Configuration differences that matter

The two sandbox types also diverge on scheduling and trigger behavior, which affects how masking has to be wired in.

FactorFull SandboxPartial Copy
Refresh frequencyTypically quarterly or release-gatedOften monthly or on demand
Primary masking riskRuntime at scaleScope gaps from template drift
Data completenessFull object graph, consistent relationshipsPartial, filtered, sometimes orphaned records
Who requests refreshesRelease management, QA leadsIndividual dev teams, integration owners
Masking trigger pointPost-refresh, before handoffPost-refresh, but needs faster turnaround

That last row matters more than it looks. Partial copy sandboxes get refreshed more casually, sometimes by individual developers rather than a central release team. If masking is not automatically triggered on every partial copy refresh, it depends on someone remembering to run it manually. That is a weak control, and auditors will say so.

One policy, two profiles: how to structure it

You do not need two separate masking tools. You need one masking policy engine with two profiles, one tuned for each sandbox type, both pointed at the same field-level rules for what counts as PII in your org.

The shared layer should define which fields are sensitive: names, emails, phone numbers, addresses, national ID fields, free-text fields known to carry PII. That definition does not change based on sandbox type. What changes is execution: full sandbox profiles prioritize batching and parallel processing across the complete object list, while partial copy profiles prioritize fast re-validation of scope against the current sampling template before every run.

Automating the trigger is the part most teams skip. Masking should fire as part of the refresh pipeline itself, whether that is a scheduled full sandbox job or an on-demand partial copy pull, so there is never a window where unmasked production data sits live in a non-production org waiting for someone to notice.

Mistakes we see repeatedly

The most common error is applying a full sandbox masking policy to a partial copy without re-checking object scope. The policy runs, reports success, and still misses an object the sampling template added last quarter. Success logs from a masking tool only cover what the tool was configured to look at.

The second common error runs the other direction: teams build a tight, fast masking profile for partial copies and then reuse it for a full sandbox refresh, assuming it will just take longer. It does not just take longer. It can time out, fail partway through, or leave a subset of objects unmasked because the profile was never built to handle full production volume in the first place.

Both mistakes come from the same root cause: treating masking configuration as a one-time setup instead of something tied to sandbox type and kept in sync with how that sandbox is actually used. Review masking scope every time a sampling template changes, and review masking runtime performance every time a full sandbox grows past its last benchmark. Neither review takes long. Skipping both is how PII ends up in a sandbox that someone assumed was already covered.

Frequently Asked Questions

Does a partial copy sandbox need the same masking rules as a full sandbox?

The underlying PII field definitions should be identical across both, since a field is either sensitive or it is not regardless of sandbox type. What differs is scope and execution: a partial copy only needs masking applied to whatever objects its sampling template actually pulls in, which can change whenever someone edits that template.

Why does masking take longer on a full sandbox than a partial copy?

A full sandbox carries the complete production data set, so masking has to process every record across every object rather than a filtered subset. Partial copy sandboxes are smaller by design, which is why runtime is rarely the bottleneck there, but scope coverage is.

Can a sampling template accidentally expose PII in a partial copy sandbox?

Yes. If a developer or admin edits the sampling template to include an additional object, and that object was not part of the original masking policy, the next refresh can pull in unmasked PII without anyone noticing until someone reviews the data directly.

Should masking run automatically on every sandbox refresh or only full sandboxes?

Masking should trigger automatically on every refresh regardless of sandbox type, because partial copy sandboxes are often refreshed more casually and by individual teams rather than a central release process. Relying on someone to remember a manual masking step is a weak control that most compliance reviews will flag.

How often should masking policies be reviewed for full sandbox vs partial copy environments?

Review the full sandbox masking profile whenever data volume or the object model changes meaningfully, such as after a major feature rollout. Review the partial copy profile every time the sampling template is edited, since that is the point where scope gaps most often get introduced.