Skip to content
Command line · Configure

spredr volume

Persistent volume: see it, give it or resize it, go back to a backup, or remove it. The same rules as the panel and spredr.json; its key never comes out.

Usage

terminal
$spredr volume [servicio] · volume set [servicio] [--size GB] [--path /data] · volume restore [servicio] [--from latest] --yes · volume rm [servicio] --confirm <servicio>
--size <GB>How much it may hold, in GB.
--path <ruta>Where your app sees it. /data if you leave it out.
--from <copia>The backup to put back: latest, or its id.
--confirm <servicio>The service's name, to remove the volume without an interactive terminal.

Examples

terminal
$spredr volume
$spredr volume set --size 5
$spredr volume set mi-api --path /var/data
$spredr volume restore mi-api --yes
$spredr volume rm mi-api --confirm mi-api
back to the command line