On Fri, 16 Apr 2021 at 20:29, Chris Murphy <li...@colorremedies.com> wrote:
>
> On Fri, Apr 16, 2021 at 9:03 PM Alexandru Stan <a...@hypertriangle.com> wrote:
> >
> > # sending back incrementally (eg: without sending back file-0) fails
> >     alex@alex-desktop:/mnt% sudo btrfs send bigfs/myvolume-1 -p
> > bigfs/myvolume-3|sudo btrfs receive ssdfs/
> >     At subvol bigfs/myvolume-1
> >     At snapshot myvolume-1
> >     ERROR: cannot find parent subvolume
>
> What about using -c instead of -p?
>
>
>
> --
> Chris Murphy

Hey Chris,
Thank you for replying and challenging my setup.

I am a total idiot (you can quote me on that in the future).

It would really help if I provided the -p option in front of the right
subvolume:
- sudo btrfs send bigfs/myvolume-1 -p bigfs/myvolume-3
+ sudo btrfs send -p bigfs/myvolume-1 bigfs/myvolume-3

To be fair my whole command looks more like:
sudo -n btrfs send -p
/mnt/bigfs/snapshots/somefolder/root.some_date_earlier
/mnt/bigfs/snapshots/somefolder/root.$now | zstd -c -15 -T4 --long=27
| mbuffer -v 1 -m 256m | ssh -o compression=no alex@first-server 'zstd
-d -c -T4 --long=27 | sudo -n btrfs receive /mnt/fs/snapshots/'

My rootfs changes are now being transferred back happily! And... done
in 2 minutes, amazing.

Alright, </thread>

Alexandru Stan

Reply via email to