Skip to content

docs: add a backup and restore guide#709

Open
viniciusdc wants to merge 5 commits into
mainfrom
docs-backup-restore-guide
Open

docs: add a backup and restore guide#709
viniciusdc wants to merge 5 commits into
mainfrom
docs-backup-restore-guide

Conversation

@viniciusdc

Copy link
Copy Markdown
Contributor

Reference Issues or PRs

Documents the native Longhorn backups feature (backups.longhorn) added in nebari-dev/nebari-infrastructure-core#443.

What does this implement/fix?

  • Documentation Update

A new how-to guide (how-tos/backup-restore) covering how to enable off-cluster Longhorn backups, confirm they are running, restore a volume within a cluster, and recover a JupyterHub user's home on a new cluster.

It complements the in-repo configuration reference (docs/longhorn-backups.md in nebari-infrastructure-core): this page owns the workflows and the JupyterHub cross-cluster recovery contract, while the in-repo doc stays the exhaustive schema reference. The page shows one minimal, tested enable example and links out for the full schema, rather than duplicating it.

Testing

Every workflow on the page was run against a live EKS cluster, including a cross-cloud disaster-recovery drill (AWS to Hetzner) that recovered a user's home from an S3 backup and confirmed the user could log in through Keycloak and open their notebooks in a fresh singleuser session.

Documentation

  • New page docs/docs/how-tos/backup-restore.mdx.
  • One sidebar entry in docs/sidebars.js.
  • A one-line cross-link from the Hetzner provider page.

Follow-up (non-blocking): the same-cluster restore runbook also lives in the in-repo docs/longhorn-backups.md. Worth later trimming that copy to a link so there is one canonical home for the procedure.

Access-centered content checklist

  • Plain, jargon-light language where possible; acronyms expanded on first use.
  • Single page title (frontmatter title, no stray H1).
  • Descriptive link text (no "click here").
  • Adheres to the docs style guide.
  • No images (text and code only), so no alt-text needed.
  • Content reads sensibly as plain text.

Add a how-to guide for Longhorn backup and restore: enabling off-cluster
backups, confirming they are running, restoring a volume within a cluster,
and recovering a JupyterHub user's home on a new cluster. Register it in
the sidebar and cross-link from the Hetzner provider page.
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for nebari-docs2 ready!

Name Link
🔨 Latest commit a12f9c5
🔍 Latest deploy log https://app.netlify.com/projects/nebari-docs2/deploys/6a63a5eb3628de0008209392
😎 Deploy Preview https://deploy-preview-709--nebari-docs2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

… notes

Show static S3 keys in the enable example and present keyless EKS Pod
Identity as the alternative rather than the default. Add a note that
retention pruning never affects the backups you keep, and a prerequisite
that backups apply to Longhorn-backed clusters.
…to backup guide

Lead the guide with the opt-in fact (Longhorn backups stay off until a
backups.longhorn block is added). Flag that Azure targets are not yet
functional and fail nic validate. Surface retain_on_destroy in the example
and warn that setting it false deletes the backup bucket on destroy. Link
the annotated example config and note the *_env pair validation rule.
Move the Azure note up to the target-choice point before the YAML so it no
longer stacks against the existing-cluster warning. Replace the em dashes
reintroduced in the last commit with plain punctuation, and split the dense
post-YAML paragraph so the reference and example-config links read cleanly.

@tylerpotts tylerpotts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Read through this and it looks good. Thanks for the docs!

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