lxc-copy(1) lxc-copy(1) NAME lxc-copy - SYNOPSIS lxc-copy {-n, --name name} [-P, --lxcpath path] {-N, --newname newname} [-p, --newpath newpath] [-B, --backingstorage backingstorage] [-s, --snapshot] [-a, --allowrunning] [-K, --keepname] [-D, --keepdata] [-M, --keepmac] [-L, --fssize size [unit]] [-- hook arguments] lxc-copy {-n, --name name} [-P, --lxcpath path] [-N, --newname newname] [-p, --newpath newpath] {-e, --ephemeral} [-B, --backingstorage backingstorage] [-s, --snapshot] [-a, --allowrunning] [-K, --keepname] [-D, --keepdata] [-M, --keepmac] [-L, --fssize size [unit]] [-- hook arguments] lxc-copy {-n, --name name} [-P, --lxcpath path] [-N, --newname newname] [-p, --newpath newpath] {-e, --ephemeral} [-B, --backingstorage backingstorage] [-s, --snapshot] [-t, --tmpfs] [-K, --keepname] [-M, --keepmac] [-- hook arguments] lxc-copy {-n, --name name} [-P, --lxcpath path] {-N, --newname newname} [-p, --newpath newpath] {-R, --rename} lxc-copy ( ) , . lxc-clone lxc-start-ephemeral . lxc-copy . . . , copy-on-write . . aufs, btrfs, lvm (lvm ), overlay, zfs . . , aufs overlayfs . -e , . lxc.ephemeral = 1 , . -e -D . -t , tmpfs . : tmpfs . -e -N , . -e . -m . aufs, bind, overlay . -m . (,) . aufs overlay -m overlay=/src:/dest . dest dest src . bind -m bind=/src:/dest:ro bind -m bind=/src:/dest:rw . bind , rw . dest dest src . -m bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3 . -m , , . -N,--newname newname -p,--newpath newpath -R,--rename -s,--snapshot . . aufs, btrfs, lvm, overlay, zfs . -a,--allowrunning . . . -F,--foreground . tty . ( -e .) -d, --daemon . ( .) tty . . -e .) -m, --mount mounttype . opts aufs, bind, overlay . -m bind=/src:/dest:ro,overlay=/src:/dest. -e .) -t, --tmpfs tmpfs . : tmpfs . -e . . -B, --backingstorage backingstorage . 'backingstorage' 'aufs', 'btrfs', 'dir', 'lvm', 'loop', 'overlay','zfs' . -L, --fssize size [unit] 'lvm' . -K, --keepname . -D, --keepdata -e . -M, --keepmac MAC . lxc.hook.clone , . clone 3 , ('lxc'), ('clone') . lxc-copy 4 . LXC_ROOTFS_MOUNT . LXC_CONFIG_FILE, LXC_NAME, LXC_SRC_NAME, LXC_ROOTFS_PATH . lxc . -?, -h, --help . --usage . -q, --quiet . -P, --lxcpath=PATH . /var/lib/lxc. -o, --logfile=FILE FILE . . -l, --logpriority=LEVEL LEVEL . ERROR. : FATAL, ALERT, CRIT, WARN, ERROR, NOTICE, INFO, DEBUG, TRACE. . stderr ERROR . -n, --name=NAME NAME . - . --rcfile=FILE . , . --version . lxc(7), lxc-create(1), lxc-copy(1), lxc-destroy(1), lxc-start(1), lxc- stop(1), lxc-execute(1), lxc-console(1), lxc-monitor(1), lxc-wait(1), lxc-cgroup(1), lxc-ls(1), lxc-info(1), lxc-freeze(1), lxc-unfreeze(1), lxc-attach(1), lxc.conf(5) 2024-04-28 lxc-copy(1)