zfs send/recv invalid data
Larry Rosenman
ler at lerctr.org
Wed Mar 6 00:53:01 UTC 2013
On Wed, 6 Mar 2013, Steven Hartland wrote:
> ----- Original Message ----- From: "Larry Rosenman"
>> Here is the exact error message:
>> receiving incremental stream of vault/home/ctr at 2013-03-05-test3 into
>> zroot/backups/TBH/home/ctr at 2013-03-05-test3
>> cannot receive incremental stream: invalid backup stream
>>
>> this is the script I'm running:
>> #!/bin/sh
>> DATE=`date "+%Y-%m-%d-BUG-REPRO"`
>> DATE2=`date -v "-1d" "+%Y-%m-%d"`
>> # snap the source
>> ssh root at tbh.lerctr.org zfs snapshot -r vault@${DATE}
>> # zfs copy the source to here.
>> ssh root at tbh.lerctr.org "zfs send -R -D -I vault@${DATE2} vault@${DATE} |
>> \
>> tee /tmp/backup.stream.send.${DATE} | \
>> ssh home.lerctr.org \"tee /tmp/backup.stream.receive.${DATE} | zfs
>> recv -u -v -d zroot/backups/TBH\""
>> # make sure we NEVER allow the backup stuff to automount.
>> /sbin/zfs list -H -t filesystem -r zroot/backups/TBH| \
>> awk '{printf "/sbin/zfs set canmount=noauto %s\n",$1}' | sh
>>
>> both streams are in http://www.lerctr.org/~ler/ZFS_RECV
>>
>> as well as a zfs list -t all from both sides.....
>
> How recent is you receiving box?
FreeBSD borg.lerctr.org 10.0-CURRENT FreeBSD 10.0-CURRENT #124 r247826: Mon Mar 4 19:59:08 CST 2013 root at borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64
>
> Does verbose give you any more information?
that is -v output.
Other ideas?
>
> Regards
> Steve
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the
> person or entity to whom it is addressed. In the event of misdirection, the
> recipient is prohibited from using, copying, printing or otherwise
> disseminating it or any information contained in it.
> In the event of misdirection, illegible or incomplete transmission please
> telephone +44 845 868 1337
> or return the E.mail to postmaster at multiplay.co.uk.
>
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
More information about the freebsd-fs
mailing list