Hi,

I'm trying to send dump files between 2 FreeBSD hosts ( 6.1 to 6.2 )
with this script :

------------------------------------------------------------------------
#!/bin/sh

set -evx

#
# Launch nc in listen mode to recept datas on remote s-backup server.
#
/usr/bin/ssh -c blowfish [EMAIL PROTECTED] \
  /usr/bin/nc -lv 24864 \>/backup/2007/02/s9_vol1_datas_20070216.dump &

if [ ${?} -gt 0 ]; then
  exit 1
fi

#read _ignore

#
# Dumping and sending datas to s-backup
#
/usr/bin/time /usr/bin/nice -n 20 /sbin/dump -C 16 -0 -f- /vol1 | \
  /usr/bin/nc -v s-backup 24864

------------------------------------------------------------------------

This dump should be ~20 Gb, but the the remote file is only filled with
the first 1024 bytes !

Am I doing something wrong or missing something here ?
Thanks for any help !

--
pf
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to