I think I’m missing something on how to use rsync exclude with lxd-p2c. I’ve tried numerous permutations, and while the verbose flag works, the --exclude just gets ignored.
Both my LXD host and the server I am trying to migrate are running rsync 3.1.3. The server I’m trying to migrate was running 3.1.2 before and I thought that might have been the issue so I upgraded it.
The --ignore-errors didn’t seem to work as it would break on things like /sys/ so would have to exclude that as well, but at least the exclude worked which is what I needed to exclude 1 TB of unneeded data.
I assume it doesn’t make a difference to server I was converting but it was a CentOS 7.5 and my LXD Host is Ubuntu 20.04.