Ben Green
unread,Apr 15, 2025, 6:21:23 AMApr 15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LXC users mailing-list
Hi all,
great to be using Incus, thanks so much to the devs.
Is there a way I can get lxc-to-incus to move files instead of rsync?
Some of my systems don't have a room for a duplicate copy of the
containers I'm trying to move. I've had a look at the source code, it's
all in Go which I'm not familiar with, though I might have a go if I get
desperate. It seems that it does end up executing the system rsync in
the end, at internal/rsync/rsync.go.
On my system I can move the rootfs safely, I have backups of the
original image.
Is there any workaround for this?
Rsync options I can pass to lxc-to-incus like --inplace or
--remove-source-files seem helpful, but they don't delete the source
files until the transfer is complete.
Perhaps I need to use another tool? Any thoughts or help greatly
appreciated.
Cheers,
Ben