wiki:moving_lxc_containers
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
wiki/moving_lxc_containers.txt · Last modified: 2021/04/01 14:44 by antisa