Skip to content

upctl server restart

Restart a server

upctl server restart <UUID/Title/Hostname...> [flags]

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 (supported: json, yaml and human)
Default: human
Command Description
upctl server Manage servers