Re: simple question regarding moving zfs filesystems
Date: Thu, 27 May 2021 18:26:22 UTC
On 5/27/2021 12:03, tech-lists wrote: > On Thu, May 27, 2021 at 12:00:32PM +0200, Dimitry Andric wrote: > >> I think you can use "zfs send -R" to achieve what you want: > > hm, i'm doing something wrong > > zfs snapshot -r data@total3 > [this works, returns to # prompt] > > zfs send -R -n -v data@total3 | zfs receive new [here i want a dry-run] > > I get this error: cannot receive: invalid stream (bad magic number) > "-n" means "dry run, don't actually do it", so you sent nothing and thus receive got nothing. -- Karl Denninger karl@denninger.net <mailto:karl@denninger.net> /The Market Ticker/ /[S/MIME encrypted email preferred]/