lbcli rollback volume

AI Tools

Rollback volume to a previous snapshot of it.

Attention!

This is a powerful command that should be handled with care.

lbcli rollback volume --uuid=<volume-uuid> --src-snapshot-uuid=<snapshot-uuid> [flags]

Examples:

# Roll back a volume with name vol1 and source snapshot with name snap1: lbcli rollback volume --name=vol1 --src-snapshot-name=snap1 --project-name=proj-a # Roll back a volume with UUID 302e7970-b138-11e9-91d4-525401643394 and source snapshot with UUID 4c027341-7283-4b45-84f5-1460f4c96127: lbcli rollback volume --uuid=302e7970-b138-11e9-91d4-525401643394 --src-snapshot-uuid=4c027341-7283-4b45-84f5-1460f4c96127 --project-name=proj-a

Flag

Short

Type

Default

Description

--help

-h

bool


Help for volume.

--src-snapshot-name


string


src snapshot name (required if UUID is not provided).

--src-snapshot-uuid


string


src snapshot UUID (required if name is not provided).

– project name


string


The project name (required).

--name


string


Volume name (required if UUID is not provided).

--uuid


string


Volume UUID (required if name is not provided).


On This Page
lbcli rollback volume