mwilck/btrfs-clone

How to use btrfs-clone when root system is not btrfs?

casper opened this issue · 0 comments

I'm on an ext4 system with a btrfs image mounted through loopback. How do I clone the image to another device? It seems btrfs-clone expects the root file system to be btrfs also(?)

I .e:

mount -o loop btrfs.img /mnt
mkfs.btrfs /dev/sdc
mount /dev/sdc /target
btrfs-clone /mnt /target  <- FAIL

Is this even possible? Seems like a basic thing, but new to btrfs and can't seem to figure it out.