ZFS send incremental to remote system
Added by Levi McCormick about 1 year ago
I have two Nexenta CE systems. Last night, I sent a full snapshot from one system to another using:
zfs send tank/share/vm@backup | ssh 192.168.253.10 zfs recv backpool/share/vm@backup
Worked like a charm. Now I'm trying to send an incremental backup, using:
zfs send -i tank/share/vm@backup tank/share/vm@AutoN-2011-11-21 | ssh 192.168.253.10 zfs recv -dvu backpool/share/vm
which gives me an error:
receiving incremental stream of tank/share/vm@AutoN-2011-11-21 into backpool/share/vm@AutoN-2011-11-21
cannot receive incremental stream: dataset does not exist
Under suggestion, I tried:
zfs send -i tank/share/vm@backup tank/share/vm@AutoN-2011-11-21 | ssh 192.168.253.10 zfs recv -v backpool/share/vm@backup
Which produces:
receiving incremental stream of tank/share/vm@AutoN-2011-11-21 into backpool/share/vm@backup
cannot receive incremental stream: dataset does not exist
Both systems are set to dedup and compress. ZFS version 26. What am I doing wrong?