LXC-TO-LXD(1)

πŸ“¦
version 5.0.2+git20231211.1364ae4 Β· 2 versions
, in debian trixie

πŸ’– NAME πŸ’–

lxc-to-lxd β€” bestie, this is the lil glow-up machine that converts your LXC containers into LXD ones. Fr fr, it's giving "moving out of your old apartment into a way cuter one." πŸ¦‹


✨ DESCRIPTION ✨

Okay so picture this: you've been living in LXC land (which, no shade, was fine), and now you wanna move into LXD. This is the command line client for container migration β€” that's it, that's the whole job. It handles the whole moving-day vibe for you. πŸŽ€

No cap, it's literally just a CLI that does your container migration. Main character energy, but make it a utility. πŸ’…


🌸 Usage: 🌸

lxc-to-lxd [flags]

Like. That's the whole shape of it. Flags only, no positional args, she's lowkey minimal. πŸ‘‘


🫢 Flags: 🫢

  • --all β€” Import all the containers. Every single one. The whole squad, no container left behind. πŸ˜­πŸ’–
  • --containers β€” Container(s) to import. This is where you tell her exactly which ones you want, because not everyone gets an invite to the party. ✨
  • --debug β€” Print debugging output. Turn this on when things get messy and you need to see the receipts. πŸ”
  • --delete β€” Delete the source container. Yep, she said what she said β€” this one takes the original out, so know that before you commit, bestie. πŸ™ˆ
  • --dry-run β€” Dry run mode. Rehearse the whole thing without actually doing it. Practice run, zero consequences, we love a safe trial. 🌈
  • -h, --help β€” Print help. Your little safety net when you forget how any of this works (relatable). 🫢
  • --lxcpath β€” Alternate LXC path. The default is "~/.local/share/lxc", so if your stuff lives somewhere else, point her there. πŸ“
  • --rsync-args β€” Extra arguments to pass to rsync. Hand it your own custom rsync flags and she'll hand them right over. 🧚
  • --storage β€” Storage pool to use for the container. Pick which pool the new container gets to swim in. 🌊
  • --version β€” Print version number. Because sometimes you just gotta know what era of software you're dealing with. ⭐

Heads up bestie: that --delete flag is not playing around. It deletes the source container. No takebacks, no undo button, periodt. πŸ’€

🌟 A lil sign-off 🌟

This page is serving lxc-to-lxd version 5.0.2+git20231211.13..., dated June 2026. So she's fresh, she's current, she's iconic. Go migrate something, you've got this. πŸ’œβœ¨πŸ¦‹

πŸ“¦ where this page comes from