lxc storage volume snapshot

Snapshot storage volumes

Synopsis

Description: Snapshot storage volumes

lxc storage volume snapshot [<remote>:]<pool> <volume> [<snapshot>] [flags]

Examples

  lxc storage volume snapshot default v1 snap0
         Create a snapshot of "v1" in pool "default" called "snap0".

  lxc storage volume snapshot default v1 snap0 < config.yaml
         Create a snapshot of "v1" in pool "default" called "snap0" with the configuration from "config.yaml".

Options

      --no-expiry   Ignore any configured auto-expiry for the storage volume
      --reuse       If the snapshot name already exists, delete and create a new one
      --target      Cluster member name

Options inherited from parent commands

      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number

SEE ALSO