Skip to content

Data domiciling improvements#23156

Open
peachdawnleach wants to merge 8 commits intomainfrom
20260115-doc-15721-backup-strict-option
Open

Data domiciling improvements#23156
peachdawnleach wants to merge 8 commits intomainfrom
20260115-doc-15721-backup-strict-option

Conversation

@peachdawnleach
Copy link
Copy Markdown
Contributor

Fixes: DOC-15775

Adds info on the new STRICT option as well as a new known limitation on RESTORE.

peachdawnleach and others added 3 commits March 31, 2026 16:22
Added info on the STRICT flag
Added info on the STRICT flag to v26.2 documentation.

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 04e2d3f
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69d8081c776da100081aeb75

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 04e2d3f
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69d8081cf12a2200082f0932

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Files changed:

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Netlify Preview

Name Link
🔨 Latest commit 04e2d3f
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69d8081ce7608e00084a9325
😎 Deploy Preview https://deploy-preview-23156--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@msbutler msbutler self-requested a review April 7, 2026 19:31
- {% include {{ page.version.version }}/backups/cap-parameter-ext-connection.md %}
- {% include {{ page.version.version }}/backups/locality-aware-access.md %}

Locality-aware backups attempt to match data to buckets in corresponding regions as specified. However, in cases involving unhealthy nodes, a locality-aware backup may be forced to write to a bucket in the default region instead. Use the [`STRICT`]({% link {{ page.version.version }}/backup.md %}#options) option when creating a locality-aware backup to force the backup to fail rather than writing to a bucket in a region that does not match the data being written.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • s/ However, in cases involving unhealthy nodes/ However, there are edge cases/r. Then add a separate sentence: For example, if the cluster has unhealthy nodes.
  • s/ default region/ default bucker/r
  • s/force the backup to fail rather/force the backup to fail to prevent violating data domiciling requirements/r

`kms` | [`STRING`]({% link {{ page.version.version }}/string.md %}) | The URI of the cryptographic key stored in a key management service (KMS), or a comma-separated list of key URIs, used to [take and restore encrypted backups]({% link {{ page.version.version }}/take-and-restore-encrypted-backups.md %}#examples). Refer to [URI Formats]({% link {{ page.version.version }}/take-and-restore-encrypted-backups.md %}#uri-formats). The key or keys are used to encrypt the manifest and data files that the `BACKUP` statement generates and to decrypt them during a [restore]({% link {{ page.version.version }}/take-and-restore-encrypted-backups.md %}#examples) operation, and to list the contents of the backup when using [`SHOW BACKUP`]({% link {{ page.version.version }}/show-backup.md %}). <br/><br/>AWS KMS, Google Cloud KMS, and Azure Key Vault are supported.
`incremental_location`<a name="incr-location"></a> | [`STRING`]({% link {{ page.version.version }}/string.md %}) | Create an incremental backup in a different location than the default incremental backup location. <br><br>`WITH incremental_location = 'explicit_incrementals_URI'`<br><br>See [Incremental backups with explicitly specified destinations]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#incremental-backups-with-explicitly-specified-destinations) for usage. No newline at end of file
`incremental_location`<a name="incr-location"></a> | [`STRING`]({% link {{ page.version.version }}/string.md %}) | Create an incremental backup in a different location than the default incremental backup location. <br><br>`WITH incremental_location = 'explicit_incrementals_URI'`<br><br>See [Incremental backups with explicitly specified destinations]({% link {{ page.version.version }}/take-full-and-incremental-backups.md %}#incremental-backups-with-explicitly-specified-destinations) for usage.
`STRICT`<a name="strict"></a> | [`BOOL`]({% link {{ page.version.version }}/bool.md %}) / None | A backup that runs in `STRICT` mode fails if it attempts to back up data from a key-value node with a particular locality tag to a bucket with a different locality tag. No newline at end of file
Copy link
Copy Markdown

@msbutler msbutler Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this writing here could be clearer. what about: a locality aware backup that runs in STRiCT mode fails if the backup cannot back up data from a node with a locality tag to a bucket with a matching locality tag.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Diagram Anchor Check: Failed

Found 6 broken anchor(s) that will cause docs build failures.

Context: EDUENG-613 — same failure mode as 2026-01-29 (opt_with_show_hints_options missing from stmt_block.html).

  • restore.html on release-26.2 → missing anchor #table_pattern
    • referenced by src/current/v26.2/restore.md
  • restore.html on release-26.2 → missing anchor #database_name
    • referenced by src/current/v26.2/restore.md
  • restore.html on release-26.2 → missing anchor #string_or_placeholder
    • referenced by src/current/v26.2/restore.md
  • restore.html on release-26.2 → missing anchor #string_or_placeholder_opt_list
    • referenced by src/current/v26.2/restore.md
  • restore.html on release-26.2 → missing anchor #restore_options_list
    • referenced by src/current/v26.2/restore.md
  • restore.html on release-26.2 → missing anchor #restore_options_list
    • referenced by src/current/v26.2/restore.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants