10 |
|
|
11 |
ip=`ifconfig | awk '/inet addr/ {split ($2,A,":"); print A[2]}' | grep -v 127.0.0.1 | head -1` |
ip=`ifconfig | awk '/inet addr/ {split ($2,A,":"); print A[2]}' | grep -v 127.0.0.1 | head -1` |
12 |
|
|
13 |
echo -e "\n\nStart receiving side with:\n\nnc -w 5 $ip 8888 | dd_rescue - - | zfs receive \`hostname\`/$nopool\n\n" |
echo -e "\n\nStart receiving side with:\n\nnc -w 5 $ip 8888 | dd_rescue -y 0 - - | zfs receive \`hostname\`/$nopool\n\n" |
14 |
|
|
15 |
zfs send $fs | dd_rescue - - | nc -l -p 8888 |
zfs send $fs | dd_rescue -y 0 - - | nc -l -p 8888 |