(lxc_import.md)= # `lxc import` Import instance backups ## Synopsis Description: Import backups of instances including their snapshots. ``` lxc import [:] [] [flags] ``` ## Examples ``` lxc import backup0.tar.gz Create a new instance using backup0.tar.gz as the source. ``` ## Options ``` -d, --device New key/value to apply to a specific device -s, --storage Storage pool 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 * [lxc](lxc.md) - Command line client for LXD