LXC.STORAGE.VOLUME.IMPORT(1)
β¨ NAME β¨
okay so this is lxc-storage-volume-import β the LXD command line client (section 1, bestie π
) β and it imports storage volumes. that's the whole vibe. π
πΈ SYNOPSIS πΈ
lxc storage volume import [:] [] [flags]
like, exactly that. yes there are some empty [] bits in there β that's what the page says, so that's what you get. no cap, I'm not making anything up π«Ά
π¦ DESCRIPTION π¦
okay so real talk, here's what it does:
Import custom volume backups, iso images, or tarballs.
that's it. that's the function. it's giving "one job, does it well" π
β¨ OPTIONS β¨
--target=""β the cluster member name π·οΈ--type=""β what kind of file you're importing. valid options are:backup: a custom volume backup β this is the default option πiso: an iso image, and it gets imported as an iso volume πtar: a tarball, and it gets imported as a custom filesystem volume π¦
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
these are the ones it gets from its parent command, so they're always vibing in the background:
--debug[=false]β show all debug messages π--force-local[=false]β force using the local unix socket π-h,--help[=false]β print help π--project=""β override the source project π-q,--quiet[=false]β don't show progress information π€«--sub-commands[=false]β use withhelpor--helpto view sub-commands πΏ-v,--verbose[=false]β show all information messages π£οΈ--version[=false]β print version number π’
π₯ EXAMPLE π₯
lxc storage volume import default backup0.tar.gz
Create a new custom volume using backup0.tar.gz with included snapshots as the source.
so yeah β you point it at default and backup0.tar.gz, and it creates a shiny new custom volume from that tarball, with the included snapshots as the source. iconic. periodt π
π SEE ALSO π
lxc-storage-volume(1)β go read that one too, iykyk π«Ά
π HISTORY π
22-Aug-2026β auto generated byspf13/cobraπ€
okay bestie that's the whole page!! remember: every flag matters, defaults are false unless it says otherwise, and backup is the default --type if you don't pick one π
β¨
auto generated by spf13/cobra Β· Aug 2026 Β· LXD - Command line client(1) β mwah, go import something cute ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms