nb backup
Create or restore a NocoBase backup. nb backup create creates a remote backup in the target env and then downloads the backup file locally; nb backup restore uploads a local backup file to the target env and waits for the application to become ready again.
Usage
Subcommands
Examples
Notes
Before execution, the CLI first checks whether the target env exposes runtime commands related to backup. If commands are missing, it automatically refreshes the runtime cache once; if the nb api backup ... capability is still missing after the refresh, it means the target env has not yet enabled or synchronized backup/restore capabilities, and you need to handle the target application itself first.
Specifically:
nb backup createdepends onnb api backup create,nb api backup status, andnb api backup downloadnb backup restoredepends onnb api backup restore-upload

