Hi,
I have a server running samba server and i need perform a backup to DAT tape using cpio.
My script run this command:
Code:
ERRFILE="/var/log/backup/backup.log"
/usr/bin/find /u01/public /home /u02/quality /u01/C.P.D -print |/bin/cpio -ovBH tar -O /dev/st0 >> $ERRFILE 2>&1
The backup starts normally, but at "random" time it fails.
on $ERRFILE i got this message:
cpio: /dev/tty: No such device or address
Tested Possibilities (and false):
1 - Tape problem
2 - Tape drive problem
3 - not enough space on tape
4 - removed redirect of stderr to test output problem
I really don't know whats happening...
someone have an idea???
thanks