Repository navigation
ECH found-snapshots: same organization and region for the default repository - #8617
Conversation
…anization and region.
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
There was a problem hiding this comment.
Docs review summary
Issue satisfaction
Satisfied — the diff implements exactly what the PR description promises: a single reusable snippet states the organization+region restriction on the default found-snapshots repository, and it's included consistently in snapshot-and-restore.md, elastic-cloud-hosted.md, and manage-snapshot-repositories.md, while ece-restore-across-clusters.md states the requirement and links to the restrictions page. Linked issue elastic/support-tech-lead#1973 isn't publicly accessible to independently verify the underlying claim, but it's cited as the source and the PR body's stated intent matches the diff.
Follow-up outside this PR
- In
deploy-manage/deploy/elastic-cloud/restrictions-known-problems.md, the same snippet is included as plain body text (lines 146–147) rather than inside theDefault repository: same organization and same regionadmonition used in the other three pages. Wrapping it the same way would make the reused content read consistently wherever it appears.
Review coverage
- Content type: how-to / reference pages describing snapshot repository behavior in {{ech}}; the change is a factual correction and consolidation of an existing restriction, consistent with the pages' established structure.
- Checked: user focus, technical accuracy, applicability, maintainability, language, and style.
Generated from Docs review agent
| A snapshot taken using the default `found-snapshots` repository can only be restored to deployments in the same region. If you need to restore snapshots across regions, create the destination deployment, connect to the custom repository, and then restore from a snapshot. | ||
|
|
||
| From within {{ech}}, you can restore a snapshot from a different deployment in the same region. | ||
| ::::{admonition} Default repository: same organization and same region |
There was a problem hiding this comment.
This new Default repository admonition is immediately followed by the existing {{important}} admonition at line 28, separated only by a blank line. That's a stacked pair of different-type admonitions, which the formatting guide advises against ("avoid stacking admonitions of different types ... consider rewriting the content"). Folding the first sentence of the Default repository callout into the body copy above (or merging the two call-outs) keeps the "pay attention" effect from one admonition from diluting the next.
| [{{ech}} deployments](https://cloud.elastic.co/registration?page=docs&placement=docs-body) automatically register the [`found-snapshots`](../snapshot-and-restore.md) repository. {{ech}} uses this repository and the `cloud-snapshot-policy` to take periodic snapshots of your cluster. You can also use the `found-snapshots` repository for your own [{{slm-init}} policies](create-snapshots.md#automate-snapshots-slm) or to store searchable snapshots. | ||
|
|
||
| The `found-snapshots` repository is specific to each deployment. However, you can restore snapshots from another deployment’s `found-snapshots` repository if the deployments are under the same account and in the same region. See the Cloud [Snapshot and restore](../snapshot-and-restore.md) documentation to learn more. | ||
| The `found-snapshots` repository is specific to each deployment. However, you can restore snapshots from another deployment’s `found-snapshots` repository if the deployments are in the same organization and the same region. See the Cloud [Snapshot and restore](../snapshot-and-restore.md) documentation to learn more. |
There was a problem hiding this comment.
This sentence restates the same organization/region restriction that the new Default repository admonition at line 23 already states, on the same page. Per maintainability guidance, a value belongs in its single source of truth rather than being repeated. Replacing this sentence with a cross-reference back to the admonition (for example, "Refer to Default repository: same organization and same region") keeps the two in sync going forward instead of relying on both copies being edited together.
…usters.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
eedugon
left a comment
There was a problem hiding this comment.
I like from this PR that it clarifies that found-snapshots restores require deployments to be in the same organization, replacing the ambiguous term “account.”
But I don’t think this PR improves the docs in its current form. The admonition has an unclear title, expands a narrow clarification into a much broader message, and repeats it across too many pages—including places where it falls outside the page’s scope and feels unexpected.
I'd suggest to simplify this by:
-
Replacing “same account” with “same organization.” where needed (this was really beneficial).
-
Documenting the unsupported deployment move once on the restrictions page, maybe in a new sub-section, as the existing one talks about Kibana data.
-
Using a short sentence and link elsewhere instead of repeating the full snippet in multiple callouts.
-
On the restore-across-clusters-page, add the organization requirement while preserving the direct workaround or link to the restrictions new section page.
-
In the global landing page about snapshot and restore we shouldn't highlight this at the very beginning, it doesn't make sense.
| @@ -0,0 +1 @@ | |||
| A snapshot taken using the default `found-snapshots` repository can only be restored to deployments in the same organization and the same region. {{ech}} does not support moving a deployment from one organization to another. To copy data to a deployment in another organization or another region, create the destination deployment, register a [custom repository](/deploy-manage/tools/snapshot-and-restore/elastic-cloud-hosted.md#ess-repo-types), take a snapshot in that repository, and then [restore from a snapshot](/deploy-manage/tools/snapshot-and-restore/restore-snapshot.md). | |||
There was a problem hiding this comment.
To copy data to a deployment in another organization or another region.....
The summary of the steps mislead the reader. The original sentence, while still vague, was clearer and looked more accurate than this one.
"create the destination deployment" --> it's ok, but if we start the process with that item the rest won't be clear.
"register a custom repo" --> where? it implies to register it in the destination, but it's not mentioned or implied that the custom repo should be registered first in the source deployment.
"take a snapshot in that repo" --> where? in the source or destination? the sentence implies it's in the destination because of the order of the clauses: create the destination deploymennt, register a repo, take a snapshot 🤷
We should elaborate this further, and probably the best would be to link to a document where this is better explained, or keep the original narrative that said just rely on a custom repos for this data movement.
|
Hi @eedugon thank you for the detailed review and advice! 🙏 |
eedugon
left a comment
There was a problem hiding this comment.
It looks much better now, however in some changes you were adding the link to the documented workaround to restore data across regions but referring to a normal restore within the same region and organization.
I'm suggesting to update those sentences to clarify the link to the new section.
There was a problem hiding this comment.
Thanks for creating the shared snippet and clarifying the org + region constraint — the deduplication is the right call. A few things to fix before merging:
Bugs
ece-restore-across-clusters.md — mixed bullet markers
The diff changes the second bullet from - to *, leaving the list with mismatched markers. Both should use -.
restrictions-known-problems.md — missing admonition wrapper
Every other file that includes the snippet wraps it in ::::{admonition} Default repository: same organization and same region. This file includes it raw, so the same content renders as a callout box on four pages and as plain inline text here.
snapshot-and-restore.md — fence depth inconsistency
The admonition here uses ::: (3 colons) for both the outer directive and the inner include. All other files use :::: (4 colons). Fix to match.
Content
ece-restore-across-clusters.md — actionable guidance was dropped
The old first bullet told readers what to do if they needed to restore across regions: register a custom repository, take a snapshot, restore. The new bullet replaces that with a link to a section whose anchor name is ec-snapshot-restore-enterprise-search-kibana-across-deployments — which reads as Kibana-specific to anyone following the link cold. The actionable steps should stay inline.
Suggested replacement for the two bullets:
- The default `found-snapshots` repository can only be restored to deployments in the same organization and the same region. To copy data to a deployment in a different region or organization, register a [custom repository](/deploy-manage/tools/snapshot-and-restore/elastic-cloud-hosted.md#ess-repo-types), take a snapshot there, and then [restore from a snapshot](/deploy-manage/tools/snapshot-and-restore/restore-snapshot.md).
- The destination cluster is able to read the indices. You can generally restore to your {{es}} cluster snapshots of indices created back to the previous major version, but refer to the [version compatibility matrix](../snapshot-and-restore.md#snapshot-restore-version-compatibility) for all the details.Snippet — drop the org-migration sentence
"{{ech}} does not support moving a deployment from one organization to another" is accurate today but will go stale if that capability ships. The constraint is already fully stated by the sentence before it. Suggest removing it and trimming the snippet to:
A snapshot taken using the default `found-snapshots` repository can only be restored to deployments in the same organization and the same region. To copy data to a deployment in a different region or organization, register a [custom repository](/deploy-manage/tools/snapshot-and-restore/elastic-cloud-hosted.md#ess-repo-types), take a snapshot in that repository, and then [restore from a snapshot](/deploy-manage/tools/snapshot-and-restore/restore-snapshot.md).
Sergi-GC
left a comment
There was a problem hiding this comment.
Thanks for the detailed back-and-forth on this, @eedugon and @alxchalkias – the organization + region clarification is a good catch and matches the underlying support ticket.
Co-authored-by: Edu González de la Herrán <[email protected]>
Co-authored-by: Edu González de la Herrán <[email protected]>
Co-authored-by: Edu González de la Herrán <[email protected]>
…usters.md Co-authored-by: Edu González de la Herrán <[email protected]>
|
Thank you @eedugon @alxchalkias and @Sergi-GC [1]@eedugon I made a few updates based on your review comment, could you please take another look again? [2]@alxchalkias I updated based on your comment:
Changed.
Removed admonition and dropped snippet.
Same, removed the admonition.
Link updated as the section gets reworded.
Dropped. That said, could you please also take another look and see if now it looks good? Thanks again! 🙇 |
eedugon
left a comment
There was a problem hiding this comment.
LGTM! Just shared two minor suggestions for your consideration.
Thanks for your patience Kuni!!
| * [Restore a snapshot across deployments](#ec-snapshot-restore-enterprise-search-kibana-across-deployments) | ||
| * [Migrate a deployment to another organization or region](#ec-migrate-deployment-another-region-or-organization) |
There was a problem hiding this comment.
I think these two could eventually be sub-sections of a common section, but I could refine it in a future PR, we can consider it out of the scope of the current change.
There was a problem hiding this comment.
Thanks, I think there are multi items in "Restore a snapshot across deployments" section and this might be missed, so IMHO, logically better to split into a new section. But yeah, if we get feedback that this is too much, then I will combine them accordingly ^ ^
Co-authored-by: Edu González de la Herrán <[email protected]>
|
Thank you all! 🙇 |
…ests Sandbox replicas of elastic/docs-content#8617 and #8367 showed two gaps: - The PR description cited a private issue as its source. The review treated it as not a parent issue and dropped Issue satisfaction instead of saying it could not read it. Treat every linked issue as a parent issue. - The review asked to add `type:` frontmatter on two pages. Few pages declare it, so report it only when an existing value is wrong. Co-Authored-By: Claude Opus 5.5 <[email protected]>
….github.io In a sandbox replica of elastic/docs-content#8617, the review dropped the "## Docs review summary" heading and filled Review coverage with search narratives, although the prompt already forbids both. Prompt rules alone do not hold the template reliably. Add a setup step that writes check-review-body.sh. The agent writes its body to a file, runs the checker, fixes each reported error, and posts the file only after the checker prints OK. The checker enforces the heading, the allowed sections and their order, the three coverage bullets, and no "Not applicable". It accepts the one-line <details> form and bold labels. Tested on the five sandbox bodies: four pass, the broken one fails. Also allow elastic.github.io, which hosts the docs-builder syntax reference. The firewall blocked it in the same run, so the agent could not confirm a directive-nesting claim, and gh-aw added a warning to the review. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* fix(docs-review): say when a linked issue cannot be read When a public-repo PR links an issue in a private repository, the review cannot read it and left the satisfaction check unclear (elastic/docs-content#8645). Tell the agent to name the issue URL and say that it could not read it, instead of guessing. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): check product names and never certify claims Feedback on elastic/docs-content#8643 showed two gaps: - The review missed nonstandard names ("Elastic FedRAMP Cloud", "Cloud connect") and repeated them in its own suggestion block. Check each product, feature, and offering name, including suggested text, against published page titles and bodies. - The review called a claim accurate because a stale published page agreed with it, and compared AutoOps availability with a Cloud Connect claim. Use published docs only to find conflicts, report them as `Verify both`, and check that both sources describe the same feature. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(docs-review): run the review agent on Claude Sonnet 5.5 The `sonnet` alias resolved to anthropic/claude-sonnet-5 in Claude Code 2.1.273 (run elastic/docs-content 37031170383). Remap the alias to anthropic/claude-sonnet-5.5 on OpenRouter, the same pattern the triage workflow uses for Haiku. Same per-token price. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): keep substitutions and relative links in suggestions In the sandbox replica of elastic/docs-content#8643, the review fixed the names but wrote "Elastic Cloud" instead of the page's {{ecloud}} substitution and kept a full elastic.co URL for an internal page. Tell the agent to keep both conventions in replacement text. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): report unreadable source issues and stop type: requests Sandbox replicas of elastic/docs-content#8617 and #8367 showed two gaps: - The PR description cited a private issue as its source. The review treated it as not a parent issue and dropped Issue satisfaction instead of saying it could not read it. Treat every linked issue as a parent issue. - The review asked to add `type:` frontmatter on two pages. Few pages declare it, so report it only when an existing value is wrong. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(docs-review): check the review body with a script; allow elastic.github.io In a sandbox replica of elastic/docs-content#8617, the review dropped the "## Docs review summary" heading and filled Review coverage with search narratives, although the prompt already forbids both. Prompt rules alone do not hold the template reliably. Add a setup step that writes check-review-body.sh. The agent writes its body to a file, runs the checker, fixes each reported error, and posts the file only after the checker prints OK. The checker enforces the heading, the allowed sections and their order, the three coverage bullets, and no "Not applicable". It accepts the one-line <details> form and bold labels. Tested on the five sandbox bodies: four pass, the broken one fails. Also allow elastic.github.io, which hosts the docs-builder syntax reference. The firewall blocked it in the same run, so the agent could not confirm a directive-nesting claim, and gh-aw added a warning to the review. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): reject placeholder sections; PR links are not parent issues Sandbox re-runs showed two gaps: - The checker passed "### Follow-up outside this PR" followed only by "None.". Flag a section whose only content says there is nothing to report, so the agent omits it. - The review treated a linked pull request as a parent issue after the rule change. Say that pull request links are context only. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): reject empty sections and emphasized placeholders Review feedback on #393: the checker passed a section heading with no content, and placeholders wrapped in Markdown emphasis such as `- **None**` or `_N/A_`. Flag empty sections and strip `*` and `_` from both ends before matching placeholders. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): reject sections made only of placeholder lines Review feedback on #393: a section with several placeholder lines, such as `- None` and `- nothing to report`, passed because the checker only looked at one-line sections. Count placeholder lines and reject the section when every content line is a placeholder. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(docs-review): match "not applicable" placeholders in any case Review feedback on #393: the checker matched only "Not applicable" with that exact casing. Treat a "not applicable" line as a placeholder in the normalized, lowercased check instead. This also stops rejecting prose such as "the setting is not applicable to ECE", which the old substring match would have flagged. Co-Authored-By: Claude Opus 5.5 <[email protected]> * revert(docs-review): remove the review body checker The checker caught real template drift in one or two of seven sandbox runs, but four review rounds found four more ways around it, none seen in a real run. Each fix added rules for inputs the agent never produced, and the checker drew review attention away from the feedback this PR addresses. Template drift touches only the advisory summary. Remove the setup step and the prompt instructions. Keep the elastic.github.io network rule and the rule that pull request links are not parent issues. A structured summary rendered by code, as in elastic/libra, is the more complete fix and is tracked separately. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary This PR refines the snapshot restore guidance introduced in [elastic#8617](elastic#8617). The restrictions and known problems page now groups three related situations under **Restore a snapshot across deployments**: - Limitations when restoring Kibana data - Restoring data across organizations or regions with a custom repository - Retaining source snapshots when using searchable snapshots These were previously presented as separate or loosely connected items. The new subsections improve readability and make the relationship between the limitations and their workaround clearer while preserving the existing anchors and most of the previous text. ## Validation - `git diff --check` - Vale on both changed files (only pre-existing warnings outside the modified lines) - Local `docs-builder` validation was unavailable because the installed binary requires CPU instructions that are not supported in this environment ## Generative AI disclosure 1. Did you use a generative AI (GenAI) tool to assist in creating this contribution? - [x] Yes - [ ] No Tool(s) and model(s) used: Cursor with GPT-5.6 Sol, used to analyze the existing structure, refine wording, and validate the final diff. --------- Co-authored-by: Cursor <[email protected]> Co-authored-by: shainaraskas <[email protected]>
Summary
The default
found-snapshotsrepository can only be restored to a deployment in the same organization and the same region. Elastic Cloud Hosted does not support moving a deployment from one organization to another. To copy data across organizations or regions, register a custom repository, take a snapshot there, and restore that snapshot.The shared text is in
deploy-manage/tools/snapshot-and-restore/_snippets/ech-found-snapshots-same-organization.md. The restore-across-clusters page states this as a requirement and links to the restrictions section.Related: https://github.com/elastic/support-tech-lead/issues/1973
Generative AI disclosure
Tool(s) and model(s) used: Cursor