Last modified October 31, 2024
manageServer
With this function, you can connect/manage JetBackup Server.
Parameters
This is the basic parameters for all JetBackup server types.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
action | String | Required The action you want to perform. |
|
|
_id | String | Required on action modify The ID of the server. | _id=5b30da08d5ac5e06897b47e2 |
|
name | String | Required on action create Server name. | name=JBServer1
| |
ip | String | Required on action create Server IP. |
|
ip=1.1.1.1
|
tags[] | List | List of Tag IDs used to group server(s)/optimizer(s). | tags[]="5cd397fc17ba5954375fa0f7"&tags[]="5cd3a5bb17ba59543879c7fb"
| |
ssh_port | String | Required on action create The Server SSH port. | ssh_port=22 |
|
auth_type | Integer | Required on action create Server Authentication Type. |
|
|
ssh_password | String | Required for auth_type=2 Server SSH password. | ||
whm_token | String | Required for auth_type=3 WHM Server API Token. | whm_token=9MKjw55we7TIq0CdpaHaiYHacB5hQOqp |
|
whitelist[] | List | List of IP Addreses that this server will be allowed access from. | whitelist[]=192.168.1.1&whitelist[]=192.168.1.2 |
Returns
This API call returns server object.
To view the parameters that returned click on Server Object.
Example
jetapi backupmc -F manageServer -D '_id=5b30da08d5ac5e06897b47e2&action=modify&name=JBServer1'
https://1.1.1.1:3031/API/manageServer/?_id=5b30da08d5ac5e06897b47e2&action=modify&name=JBServer1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.