Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 09:05:06 +0100
From:      Sebastian Chmielewski <chmiels@o2.pl>
To:        freebsd-questions@freebsd.org
Subject:   zfs receive: cannot receive incremental stream: invalid backup stream
Message-ID:  <CAHrc_ev8VYxyJ9GqNcCuHmqk5Si2LtfYiW2LFw-C1AM19oAEEQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to restore a zfs dump and got following error:

root@:/mnt # zfs receive -Fv thinkroot < backup/thinkroot.zfs
receiving full stream of thinkroot@monthly-2014-01 into
thinkroot@monthly-2014-01
received 41.7KB stream in 1 seconds (41.7KB/sec)
receiving incremental stream of thinkroot@daily-2014-01-08 into
thinkroot@daily-2014-01-08
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-09 into
thinkroot@daily-2014-01-09
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-12 into
thinkroot@daily-2014-01-12
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-14 into
thinkroot@daily-2014-01-14
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-15 into
thinkroot@daily-2014-01-15
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-16 into
thinkroot@daily-2014-01-16
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@daily-2014-01-17 into
thinkroot@daily-2014-01-17
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot@transfer into thinkroot@transfer
received 312B stream in 1 seconds (312B/sec)
receiving full stream of thinkroot/usrlocal@monthly-2014-01 into
thinkroot/usrlocal@monthly-2014-01
received 11.5GB stream in 196 seconds (60.2MB/sec)
receiving incremental stream of thinkroot/usrlocal@daily-2014-01-08 into
thinkroot/usrlocal@daily-2014-01-08
received 101MB stream in 2 seconds (50.5MB/sec)
receiving incremental stream of thinkroot/usrlocal@daily-2014-01-09 into
thinkroot/usrlocal@daily-2014-01-09
cannot receive incremental stream: invalid backup stream

Backup stream was not incremental, I've made it with
zfs snapshot -r thinkroot@transfer
zfs send -RD thinkroot@transfer > thinkroot.zfs

The same problem occurs with another backup copy so I think it's a bug or a
problem with method of backup.
How to fix it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHrc_ev8VYxyJ9GqNcCuHmqk5Si2LtfYiW2LFw-C1AM19oAEEQ>