LXC.IMPORT(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

✨ LXD β€” Command line client(1) ✨

okay so you're in the LXD command line client manpage zone, bestie πŸ’… this one's about lxc-import and it's genuinely so simple you're gonna slay it.


🌸 NAME

lxc-import β€” Import instance backups πŸŽ€


πŸ¦‹ SYNOPSIS

lxc import [:]  [] [flags]

that's literally it, no cap ✨


πŸ’– DESCRIPTION

Description:

Import backups of instances including their snapshots. πŸ‘‘

like, you've got a backup living on disk somewhere and you wanna bring it back to life, snapshots and all β€” that's the whole vibe check right there 🫢


πŸ’… OPTIONS

  • -d, --device=[] β€” New key/value to apply to a specific device πŸ’« (yes, you get to poke at one specific device's settings)
  • -s, --storage="" β€” Storage pool name πŸ“ (tell it which pool the magic happens in)

✨ OPTIONS INHERITED FROM PARENT COMMANDS ✨

these are the ones that come from the big boss parent command, iykyk 🌈

  • --debug[=false] β€” Show all debug messages πŸ’€ (everything. every last crumb of info)
  • --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 with help or --help to view sub-commands 🧚
  • -v, --verbose[=false] β€” Show all information messages πŸ‘‘
  • --version[=false] β€” Print version number ⭐

🌸 EXAMPLE

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

see? one line of command and you've got a whole new instance, main character energy fr fr πŸ’…βœ¨


πŸ¦‹ SEE ALSO


πŸŽ€ HISTORY

22-Aug-2026 β€” Auto generated by spf13/cobra πŸ€–


lowkey a warning-ish aside: this whole page was Auto generated by spf13/cobra, so don't come for me if the vibes are auto-generated too 😭

and that's the page bestie!! auto generated by spf13/cobra, dated Aug 2026, out of the LXD - Command line client(1) manual β€” mwah, go import something iconic πŸ’–πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from