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

# `lxc import`

Import instance backups

## Synopsis

Description:
Import backups of instances including their snapshots.

```none
lxc import [<remote>:] <backup file> [<instance name>] [flags]
```

## Examples

```none
  lxc import backup0.tar.gz
      Create a new instance using backup0.tar.gz as the source.
```

## Options

```none
  -d, --device    New key/value to apply to a specific device
  -s, --storage   Storage pool name
```

## Options inherited from parent commands

```none
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not 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](https://canonical.com/lxd/docs/latest/reference/manpages/lxc/index.html.md#lxc-md)	 - Command line client for LXD
