Nakivo Backup & Replication – Command Line Interface – Part 2
[addthis_horizontal_recommended_content]
Part 2:
As you may read my previous post which was first part of Nakivo Backup & Replication command line interface introducing posts, you can access to the command line by different ways and run your commands.
Now, we want to know, which commands are available to use?
The current commands categorized as the below five categories:
Job Management: You can use the commands to list, run, stop, enable, disable or get detailed information about your jobs as reports. Here is some examples of using the commands:
Job Management |
||
---|---|---|
List jobs |
job-list |
|
Start a job |
job-start [job_id] | |
Stop a job |
job-stop [job_id] | |
Disable a job |
job-disable [job_id] | |
Enable a job |
job-enable [job_id] | |
Generate a report for a job |
job-report [job_id]
|
|
Return information about a job |
job-info [job_id] |
|
Repositories:
If you want to find information about your repositories quickly, attach new repositories, detach them or keep them on maintenance mode you can use the commands:
Repositories |
||
---|---|---|
List all repositories |
repository-list |
|
Update all repositories |
repository-update | |
Update a repository |
repository-update [repo_id] | |
Detach a repository |
repository-detach [repo_id] | |
Attach a repository |
repository-attach [repo_id] | |
Start repository maintenance |
repository-maintenance [repo_id] [params]
|
|
Stop repository maintenance |
repository-maintenance-stop [repo_id] | |
Return information about a repository |
repository-info [repo_id] |
|
Support: You know that Nakivo has one of best knowledge base and you can find solution of any error on that but if you have serious issues and you couldn’t find root cause of your problem, there is an useful command to generate support bundle to detect your issues by Nakivo support.
Support |
||
---|---|---|
Generate a support bundle |
bundle-create
|
Licensing: It’s so clear, you can find information about your license or replace your current license with new one.
Licensing |
||
---|---|---|
Get the current license information |
license-info | |
Replace the current license with a new license file |
license-replace [file_path] |
Multi Tenancy: This is actually useful for controlling tenants also you can create bundle files which including all tenants logs.
Multi Tenancy |
||
---|---|---|
List all tenants |
tenant-list |
|
Disable a tenant |
tenant-disable [tenant_id] | |
Enable a tenant |
tenant-enable [tenant_id] | |
Return information about a tenant |
tenant-info [tenant_id] |
|
Create a support bundle for master admin level |
|
You can read previous post on this link:
Nakivo Backup & Replication – Command Line Interface – Part 1
Also you can find more information on Nakivo help center.