LXC.COPY(1)
π NAME π
lxc-copy β copy instances within or in between LXD servers π¦
ok so real talk, this one's from the LXD - Command line client manual set, bestie, and it does exactly what it says on the tin: it copies instances. Within one LXD server, or between two of them. icon behavior honestly π
β¨ SYNOPSIS β¨
lxc copy [:][/] [[:]] [flags]
πΈ DESCRIPTION πΈ
Description:
Copy instances within or in between LXD servers
π Transfer modes (--mode) π
okay so this is the part where you pick how the data actually travels, and there are three vibes:
- pull β Target server pulls the data from the source server (source must listen on network)
- push β Source server pushes the data to the target server (target must listen on network)
- relay β The CLI connects to both source and server and proxies the data (both source and target must listen on network)
The pull transfer mode is the default as it is compatible with all LXD versions. π lowkey the safe choice, no cap.
π OPTIONS π
--allow-inconsistent[=false]β Ignore copy errors for volatile files π-c,--config=[]β Config key/value to apply to the new instance-d,--device=[]β New key/value to apply to a specific device-e,--ephemeral[=false]β Ephemeral instance β¨--instance-only[=false]β Copy the instance without its snapshots--mode="pull"β Transfer mode. One of pull, push or relay--no-profiles[=false]β Create the instance with no profiles applied-p,--profile=[]β Profile to apply to the new instance--refresh[=false]β Perform an incremental copy π₯--stateless[=false]β Copy a stateful instance stateless-s,--storage=""β Storage pool name--target=""β Cluster member name--target-project=""β Copy to a project different from the source
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones come from the parent command, so you get them for free, bestie π«Ά
--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 with help or--helpto view sub-commands-v,--verbose[=false]β Show all information messages--version[=false]β Print version number
π¦ SEE ALSO π¦
go read that one too, iykyk π
π HISTORY π
22-Aug-2026 β Auto generated by spf13/cobra
ngl bestie, this whole page is Auto generated by spf13/cobra β no human hand-wrote this one, the robots did it π€π
and that's the whole thing! Auto generated by spf13/cobra, Aug 2026, straight from the LXD - Command line client(1) manual. mwah π slay, go copy some instances π
π¦ 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