upctl server restart
Restart a server
Examples
upctl server restart 00038afc-d526-4148-af0e-d2f1eeaded9b
upctl server restart 00038afc-d526-4148-af0e-d2f1eeaded9b --stop-type hard
upctl server restart my_server1 my_server2
Options
| Option | Description |
|---|---|
--stop-type |
The type of stop operation. Available: soft, hard Default: soft |
--host |
Schedule the server on a specific host. Refers to value from host attribute. Only available in private clouds.Default: 0 |
--help, -h |
help for restart Default: false |
Global options
| Option | Description |
|---|---|
--client-timeout, -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output, -o |
Output format. Valid values are human, json and yaml.Default: human |
Related commands
| Command | Description |
|---|---|
| upctl server | Manage servers |