zfs receive: cannot receive incremental stream: invalid backup stream

Sebastian Chmielewski chmiels at o2.pl
Sat Jan 18 08:05:50 UTC 2014


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 at monthly-2014-01 into
thinkroot at monthly-2014-01
received 41.7KB stream in 1 seconds (41.7KB/sec)
receiving incremental stream of thinkroot at daily-2014-01-08 into
thinkroot at daily-2014-01-08
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-09 into
thinkroot at daily-2014-01-09
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-12 into
thinkroot at daily-2014-01-12
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-14 into
thinkroot at daily-2014-01-14
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-15 into
thinkroot at daily-2014-01-15
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-16 into
thinkroot at daily-2014-01-16
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at daily-2014-01-17 into
thinkroot at daily-2014-01-17
received 312B stream in 1 seconds (312B/sec)
receiving incremental stream of thinkroot at transfer into thinkroot at transfer
received 312B stream in 1 seconds (312B/sec)
receiving full stream of thinkroot/usrlocal at monthly-2014-01 into
thinkroot/usrlocal at monthly-2014-01
received 11.5GB stream in 196 seconds (60.2MB/sec)
receiving incremental stream of thinkroot/usrlocal at daily-2014-01-08 into
thinkroot/usrlocal at daily-2014-01-08
received 101MB stream in 2 seconds (50.5MB/sec)
receiving incremental stream of thinkroot/usrlocal at daily-2014-01-09 into
thinkroot/usrlocal at 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 at transfer
zfs send -RD thinkroot at 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?


More information about the freebsd-questions mailing list