Do you mean that the pipe is not a bash pipe or that you executed the
commands as written? Sounds like you had two terminals and executed the
left side of the pipe and then the right side.

On Sat, Jan 2, 2016, at 10:37 PM, Chris Murphy wrote:
> On Sat, Jan 2, 2016 at 2:30 PM, Rasmus Abrahamsen <bt...@rasmusa.net>
> wrote:
> > Okay, I will rebuild it then. Thank you.
> >
> > Where do I add -p?
> 
> OK for me, I have these ro snapshots:
> drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150403
> drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150404
> drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150412
> drwxrwx---. 1 chris chris  218 Apr  3  2015 everything-20150922
> 
> # btrfs send everything-20150403 | btrfs receive /mnt/new
> # btrfs send -p everything-20150403 everything-20150404 | btrfs receive
> /mnt/new
> # btrfs send -p everything-20150404 everything-20150412 | btrfs receive
> /mnt/new
> # btrfs send -p everything-20150412 everything-20150922 | btrfs receive
> /mnt/new
> 
> I have not tried to use && in between those, instead of just
> separately issuing the commands.
> 
> It's valid to always use the same first subvolume as -p, but the
> increments are then larger so even though it succeeds, it's also
> inefficient.
> 
> -- 
> Chris Murphy
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to