Skip to content

Clarify partial data transfer stage filtering and preservation behavior - #3376

Closed
pwizla wants to merge 5 commits into
mainfrom
repo/data-transfer-partial-sync-docs
Closed

Clarify partial data transfer stage filtering and preservation behavior#3376
pwizla wants to merge 5 commits into
mainfrom
repo/data-transfer-partial-sync-docs

Conversation

@pwizla

@pwizla pwizla commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

This PR documents the partial data-transfer behavior clarified in strapi/strapi#27322: stages omitted via --only or --exclude preserve destination data, while transferred stages are replaced.

  • Adds an "Understanding partial transfers and stage filtering" section to the transfer page, with a stage preset table and a flags table aligned on the upstream engine matrix
  • Warns that --exclude files only skips the assets stage, so media library records still transfer with content and can point at binaries that were never transferred, and that --exclude media-library preserves both
  • Corrects the two quoted CLI confirmation prompts to match the strings in command.ts, and scopes the --force caution to the stages actually transferred
  • Fixes a contradictory warning on the import page, which claimed excluded types are deleted on the target instance
  • Adds the missing --throttle, --no-checksums and --verbose rows to the transfer table in the CLI reference, and harmonizes the --exclude-content-types wording across the export, import and transfer tables
  • Records the four stage-filtering mistakes found here in the inki known-pitfalls catalog, so future reviews catch them automatically

Documents #27322

Direct preview link 👉 here

Add documentation explaining how --only and --exclude filters work with
data transfer stages (content, files, config). Clarifies that omitted
stages preserve destination data and documents the content-replace-keep-config
workflow with a stage transfer matrix.

Related to strapi/strapi#27322
@pwizla pwizla added the auto-doc-healing Automatically generated documentation PR label Aug 20, 2026
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview Aug 21, 2026 3:27pm

Request Review

@strapi-cla

strapi-cla commented Aug 20, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ pwizla
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: CMS labels Aug 20, 2026
@pwizla pwizla modified the milestones: 7.1.1, 7.1.0 Aug 20, 2026
@pwizla pwizla self-assigned this Aug 20, 2026
@pwizla pwizla added the flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR label Aug 20, 2026
@pwizla pwizla changed the title docs: clarify partial data transfer stage filtering and preservation behavior Clarify partial data transfer stage filtering and preservation behavior Aug 21, 2026
pwizla added 4 commits August 21, 2026 17:17
The matrix contradicted the upstream engine matrix in strapi/strapi#27322 on
--exclude files, omitted the --exclude media-library row, and claimed nothing is
preserved by default. Media library records travel with content, so excluding
files leaves records pointing at untransferred binaries. Also corrects the two
quoted CLI prompts to match command.ts and scopes the --force caution to the
stages actually transferred.
The warning claimed excluded types are deleted in the target instance, the
opposite of the transfer page. Verified that import and transfer share the same
parseRestoreFromOptions call, so the semantics are identical: omitted stages are
preserved.
Adds the --throttle, --no-checksums and --verbose rows that were missing from
the strapi transfer table, and harmonizes the --exclude-content-types wording
across the export, import and transfer tables.
Four entries derived from the review of this PR, each verified against
parseRestoreFromOptions, TransferGroupPresets and expandMediaLibraryPreset:
the files preset covers binaries only while media library records ride the
content stage, the default command always preserves admin and ignored types,
omitted stages are preserved rather than deleted across import and transfer,
and the quoted CLI confirmation prompts must be checked against command.ts.
@pwizla

pwizla commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #3385.

@pwizla pwizla closed this Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants