Skip to content

tebib snapshot

Generated from the CLI's own command tree. Run tebib snapshot --help for the same text in your terminal.

Point-in-time snapshots of a VM's volumes.

Commands

tebib snapshot create

Snapshot a VM's volumes (application-consistent when the guest agent runs).

tebib snapshot create [OPTIONS] NAME
ArgumentDescription
NAME requiredSnapshot name, unique in the project.
OptionValueDescription
--vm requiredstrVM to snapshot.
--descriptionstrDescription.
--tagKEY=VALUE (repeatable)Tag as KEY=VALUE; repeat for more tags.
--project, -pstrProject ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 1800.
--output, -otable | json | yamlOutput format.

tebib snapshot delete

Delete a snapshot.

tebib snapshot delete [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot ID (snap-...).
OptionValueDescription
--yes, -yflagDon't ask for confirmation.
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--project, -pstrProject ID (default: from the profile).

tebib snapshot list

List the project's snapshots.

tebib snapshot list [OPTIONS]
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.

tebib snapshot show

Show one snapshot.

tebib snapshot show [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot ID (snap-...).
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib snapshot update

Change a snapshot's description or tags.

tebib snapshot update [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot ID (snap-...).
OptionValueDescription
--descriptionstrNew description.
--tagKEY=VALUE (repeatable)Replace ALL tags (KEY=VALUE, repeatable).
--clear-tagsflagRemove all tags.
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib snapshot schedule

Scheduled backups: snapshot a VM on a schedule and delete old snapshots.

tebib snapshot schedule create

Snapshot a VM on a schedule, e.g. --every daily --at 02:30 --keep 7.

Snapshots it takes are named <schedule>-<YYYYMMDD-HHMM> and bill like any snapshot.

tebib snapshot schedule create [OPTIONS] NAME
ArgumentDescription
NAME requiredSchedule name, unique in the project.
OptionValueDescription
--vm requiredstrVM to snapshot.
--everyhourly|daily|weeklyhourly, daily or weekly (or give --cron).
--cronstrCustom schedule: 'minute hour day-of-month month day-of-week', e.g. '30 2 * * 1-5'. At most once an hour.
--atHH:MMTime of day HH:MM (daily, weekly), or :MM for hourly.
--onDAYDay of the week for weekly: sun, mon, ... sat.
--timezonestrIANA time zone of --at/--cron, e.g. Africa/Nairobi.
--keepint rangeKeep the newest N snapshots it took.
--keep-daysint rangeDelete the snapshots it took once N days old.
--disabledflagCreate it turned off.
--descriptionstrDescription.
--tagKEY=VALUE (repeatable)Tag as KEY=VALUE; repeat for more tags.
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib snapshot schedule delete

Delete a snapshot schedule. The snapshots it took stay until you delete them.

tebib snapshot schedule delete [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot schedule ID (ssch-...).
OptionValueDescription
--yes, -yflagDon't ask for confirmation.
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 600.
--project, -pstrProject ID (default: from the profile).

tebib snapshot schedule list

List the project's snapshot schedules.

tebib snapshot schedule list [OPTIONS]
OptionValueDescription
--vmstrOnly this VM's schedules.
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib snapshot schedule show

Show one snapshot schedule: next run, last run and why it didn't succeed.

tebib snapshot schedule show [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot schedule ID (ssch-...).
OptionValueDescription
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib snapshot schedule update

Change the schedule or retention, or turn it off and on. A changed schedule starts from now: runs already past are not taken.

tebib snapshot schedule update [OPTIONS] ID
ArgumentDescription
ID requiredSnapshot schedule ID (ssch-...).
OptionValueDescription
--everyhourly|daily|weeklyhourly, daily or weekly (or give --cron).
--cronstrCustom schedule: 'minute hour day-of-month month day-of-week', e.g. '30 2 * * 1-5'. At most once an hour.
--atHH:MMTime of day HH:MM (daily, weekly), or :MM for hourly.
--onDAYDay of the week for weekly: sun, mon, ... sat.
--timezonestrIANA time zone of --at/--cron, e.g. Africa/Nairobi.
--keepint rangeKeep the newest N snapshots it took.
--keep-daysint rangeDelete the snapshots it took once N days old.
--no-keepflagStop keeping by count (needs --keep-days).
--no-keep-daysflagStop keeping by age (needs --keep).
--enable, --disableflagTurn it on (from now on) or off.
--descriptionstrNew description.
--tagKEY=VALUE (repeatable)Replace ALL tags (KEY=VALUE, repeatable).
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.