---
name: "lxc-to-incus"
section: "1"
platform: "linux"
package: "incus-extra"
version: "6.0.4-2+deb13u10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lxc-to-incus"
---

# lxc-to-incus(1)

Convert LXC containers to Incus

## NAME

lxc-to-incus - Convert LXC containers to Incus

## DESCRIPTION

Command line client for container migration

### Usage:

-

  lxc-to-incus \[flags\]

### Flags:

- **--all**

  Import all containers

- **--containers**

  Container(s) to import

- **--debug**

  Print debugging output

- **--delete**

  Delete the source container

- **--dry-run**

  Dry run mode

- **-h**, **--help**

  Print help

- **--lxcpath**

  Alternate LXC path (default "~/.local/share/lxc")

- **--rsync-args**

  Extra arguments to pass to rsync

- **--storage**

  Storage pool to use for the container

- **--version**

  Print version number
