Table of Contents

, , ,

Moving lxc containers

cd /var/lib/lxc/$NAME/
tar --numeric-owner -czvf /root/container_fs-$(date +%Y%m%d).tar.gz ./*

From one partition to another:

cp -a /data2/lxc/agencyreports /data/lxc/

Tested on

See also

References