On 10/15/2016 12:17 AM, Chris Murphy wrote:
> It should be -e can accept a listing of all the subvolumes you want to
> send at once. And possibly an -r flag, if it existed, could
> automatically populate -e. But the last time I tested -e I just got
> errors.
>
> https://bugzilla.kernel.org/show_bug.cgi?id=111221
>
>

Not a problem (for me anyway), I can send all subvolumes already with my 
script (one after another, but still automatically).

What I can't do with btrfs commands is to send over the contents of a ro 
snapshot of / called for example "oldRootSnapshot", directly to 
"/tmp/newroot" (which is where I have mounted the other drive/volume).

The only thing I can do is send over the subvolume as a subvolume.
So I end up with /tmp/newroot/oldRootSnapshot and inside oldRootSnapshot 
I get my root, not what I wanted.

Only way I found so far is using rsync to move the contents of 
oldRootSnapshot in the /tmp/newroot by setting an exclusion list for all 
subvolumes, then run a deduplication with duperemove.

So, is there something I missed to do that?

-Alberto
N�����r��y����b�X��ǧv�^�)޺{.n�+����{�n�߲)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥

Reply via email to