CLI Cookbook
This page provides practical CLI examples. For the full command list, see the CLI reference. Use these examples as building blocks for automation and repeatable ops. It walks through the core settings, common workflows, and the checks to run after changes so you can confirm everything is working. Use it when setting up, updating, or troubleshooting cLI Cookbook.
Backups
Create a backup for a user:
jabali backup create <user>Restore a backup to a user:
jabali backup restore <path> --user=<user>cPanel migration
Analyze a cPanel archive:
jabali cpanel analyze <file>Restore a cPanel archive into a user:
jabali cpanel restore <file> <user>DNS
List DNS zones:
jabali dns zones listCreate a new DNS zone:
jabali dns zones create example.com --template=defaultSSL
Issue a certificate:
jabali ssl issue example.comRenew all certificates:
jabali ssl renew --allUsers
Create a user:
jabali users create user@example.com --plan=starterSuspend a user:
jabali users suspend user@example.comHelp and discovery
List all commands:
jabali --helpGet help for a specific command:
jabali <command> --help