Skip to content

upctl storage create

Create a storage

upctl storage create [flags]

Examples

upctl storage create --zone pl-waw1 --title "My Storage"
upctl storage create --zone pl-waw1 --title my_storage --size 20 --backup-interval wed --backup-retention 4

Options

Option Description
--title A short, informational description.
--size Size of the storage in GiB.
Default: 10
--zone Zone where to create the storage. Run upctl zone list to list all available zones.
--tier Storage tier.
Default: maxiops
--encrypt Encrypt the storage.
--backup-time The time when to create a backup in HH:MM. Empty value means no backups.
--backup-interval The interval of the backup.
Available: daily,mon,tue,wed,thu,fri,sat,sun
Default: daily
--backup-retention How long to store the backups in days. The accepted range is 1-1095
Default: 7
--help, -h help for create
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 storage Manage storages