Skip to content

feat(GSP1313): NetApp backup and restore lab solution with Hashnode guide - #50

Draft
hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1313-netapp-backups-scout-20261030
Draft

hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1313-netapp-backups-scout-20261030

Conversation

@hoangsvit

@hoangsvit hoangsvit commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

New lab — GSP1313

Task coverage

  1. Mount volume1 on vm1 using its dynamically discovered NFSv3 export — checkpoint 20.
  2. Create vault1 in the volume's region — checkpoint 20.
  3. Create manual backup1 after writing the lab's sample files; wait for READY (no separate checkpoint).
  4. Create policy1 with 30/8/12 retention and attach it to volume1 — checkpoints 20 + 20.
  5. Restore backup1 into restore-from-volume1 in pool1 with share1-restored — checkpoint 20.

HASHNODE.md contains full Overview → Setup → Task 5 with manual commands, tables, all five checkpoints, and Solution only after the final task. Quick uses exactly two commands from main and will not work until merge. No unverified video or image embedding.

Safety and verification

  • Detects project, NetApp region, VM zone, volume capacity and NFS export; no hardcoded project/region/secrets.
  • Reuses vault, backup, policy, and restored volume when present; bounded backup readiness wait; least privilege.
  • TTY ANSI, FORCE_COLOR=1 and NO_COLOR priority.
  • static validated only; runtime/grader unverified. GitHub CI PASS at 73b7347862f3aae70b4ab56ec14a624e80ef7b8b (unit tests, bash -n, ShellCheck severity error): https://github.com/ePlus-DEV/storage/actions/runs/41092967743. No authorized GCP lab was run.
  • Reviewer should confirm NetApp backup readiness and restore CLI compatibility in an authorized lab before merge.

Test latest PR commit

Resolve the latest head SHA, require nonempty SHA, download immutable commit content (avoids branch/CDN cache confusion), and log with the SHA prefix. Run only in the authorized lab Cloud Shell:

BRANCH=feat/gsp1313-netapp-backups-scout-20261030
SHA="$(git ls-remote https://github.com/ePlus-DEV/storage.git refs/heads/$BRANCH | awk '{print $1}')"
test -n "$SHA" || { echo "Missing latest PR head SHA" >&2; exit 1; }
curl -fL --retry 3 "https://raw.githubusercontent.com/ePlus-DEV/storage/$SHA/labs/GSP1313/lab.sh" -o lab-test.sh
set -o pipefail
FORCE_COLOR=1 bash lab-test.sh 2>&1 | tee "lab-GSP1313-${SHA:0:12}.log"

Do not use source lab.sh in the PR tee test. No runtime/grader PASS is asserted.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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.

1 participant