<a id="lxc-storage-volume-import-md"></a>

# `lxc storage volume import`

Import storage volumes

## Synopsis

Description:
Import custom volume backups, iso images, or tarballs.

```default
lxc storage volume import [<remote>:]<pool> <import file> [<volume name>] [flags]
```

## Examples

```default
  lxc storage volume import default backup0.tar.gz
  		Create a new custom volume using backup0.tar.gz with included snapshots as the source.
```

## Options

```default
      --target   Cluster member name
      --type     Type of the import file. Valid options are:
                 - backup: custom volume backup (default option)
                 - iso: iso image, will be imported as iso volume
                 - tar: tarball, will be imported as custom filesystem volume
```

## Options inherited from parent commands

```default
      --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

* [lxc storage volume](https://canonical.com/lxd/docs/default/reference/manpages/lxc/storage/volume/index.html.md#lxc-storage-volume-md)	 - Manage storage volumes
