Skip to content

docs: rewrite the README as a guide for operators - #16

Merged
tas50 merged 1 commit into
mainfrom
docs/user-guide
Nov 12, 2026
Merged

tas50 merged 1 commit into
mainfrom
docs/user-guide

Conversation

@tas50

@tas50 tas50 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

The README was a command table plus development notes. It's now a guide organised around what an operator is trying to do, and the development material moves to CONTRIBUTING.md.

README

  • Intro: what the tool is for and when you'd use it, plus a status note linking to what isn't carried over yet.
  • What you need first: a superuser key (pivotal, /etc/opscode/pivotal.pem; ng's --key-out), network access, and --blob-host for an S3 bookshelf.
  • Back up a server: what a backup contains, the .partial file and never overwriting, 0600, read-only access with --concurrency, checking a file with verify and inspect, what "fuzzy" means, and a nightly cron script.
  • Move to a new server: six steps, from standing up the target and freezing changes, through backup and restore with its fidelity report (--no-verify for very large servers), to cut-over. Cut-over covers what happens to client.pem, validation.pem, knife keys and web passwords (chef-server-ctl password).
  • Restore one organization: --org and --exclude-org, which users come along and why, and the current limit on shared users.
  • Check a server against a backup: verify --server after a restore, right after a backup, and for part of a server.
  • See what changed between two backups: diff output, direction, and what's set aside.
  • Dangling names: why Chef backups have them, the default behaviour and exit 3, and --dangling fail.
  • Reading the reports: each fidelity-report line, and the exit statuses.
  • What isn't carried over yet: passwords, server-admins and timestamps; merge, resume and preview.
  • Keeping backups safe: what a backup contains (data bag items, node attributes, public keys; no private keys or passwords).

Example output is from a real run against cinc-server-ng's dev/test-repo, trimmed. Every flag the README names was checked against --help.

CONTRIBUTING.md

The package layout, build and test commands, what the e2e script checks, and how to run it locally against an ng binary.

No code changes.

The README walks through what people use the tool for: nightly backups
and checking them, moving to a new server step by step (including what
happens to client.pem, validation.pem, knife keys and passwords),
restoring one organization, checking a server against a backup, diffing
two backups, and what dangling names are. It explains the fidelity
report and exit codes, lists what isn't carried over yet, and says what
a backup contains so people can store it safely.

Build, test and end-to-end instructions move to CONTRIBUTING.md, with a
map of the packages.

Signed-off-by: Tim Smith <tsmith84@proton.me>
@tas50
tas50 merged commit 68ae7cb into main Nov 12, 2026
4 checks passed
@tas50
tas50 deleted the docs/user-guide branch November 12, 2026 02:23
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