Repository navigation
BladeCP CLI v0.3.0
BladeCP CLI 0.3.0
[0.3.0] - 2026-10-17
Know what a cPanel backup holds before you migrate it. The --json output,
the exit codes and the error codes of 0.2.0 keep their meaning; this release
only adds to them.
Added
bladecp analyze <backup.tar.gz>reads a full cPanel backup on your computer
and shows what it holds (sites, WordPress, databases with engine and version,
email, DNS, cron, PHP versions, files and size), what comes to BladeCP, what
stays behind, the notes that matter and the smallest plan it needs (disk and
databases). It ends with thebladecp migratecommand ready to run. It needs
no sign-in and no network: nothing from the backup leaves the computer.- The analysis reads the backup the same way the migration does, once and as a
stream (gzip, plain tar, GNU and PAX long names, sparse files), so it never
loads the file into memory, even at 50 GB. Large files show a progress bar.
When the migration would refuse the backup (a damaged or cut file, a site
that is not WordPress, an active WordPress Multisite, a domain or a value of
wp-config.phpit does not accept, a backup with no database dump), it says
why and what to do, and exits with6. --prices(with--currency) adds the cheapest plan of your account that
fits the backup, with the price of now and the--planand--locationto
migrate to it. Without a sign-in it explains how to sign in; if the plans do
not load, the analysis still stands. The only request is the list of plans,
with the currency.bladecp analyze --jsonprints the report in thebladecp.analyze.v1
schema, withok: trueeven when the backup does not migrate, so scripts
and agents decide onverdict,blockersandwarnings. Passwords, hashes,
keys, email addresses and the text ofwp-config.phpnever appear in the
report or on the screen.- The analyzer is also a library in the same package, with no dependencies:
@bladecp/cli/analyzer(the core, for Node and browsers),
@bladecp/cli/analyzer/node(a file path) and@bladecp/cli/analyzer/web
(aFileorBlob, withDecompressionStream). reference.jsondescribes theanalyzecontract: the verdicts with their
exit codes and every blocker and warning code with its message in the three
languages.