I run many LXD containers and VMs in a local ZFS partition and the containers and VMs can sometimes be 200GB+. The Ubuntu ext4 root partition is up to 30GB.
When I try to export CTs or VMs remotely it uses my EXT4 partition on the host instead of the ZFS pool on the host.
lxc remote switch <servername> lxc export <CT> CT-backup-$(date +'%m-%d-%Y').tar.xz --optimized-storage
I would like it to use my 1TB ZFS Pool for the export (temp data) instead of the / 30GB EXT4 partition.
How can I do this? Would be much easier than lxc copy in the backup process.