S
sevY
Hi zusammen,
mit folgendem Script, welches wunderbar auf meiner Gentoo Box funktioniert, möchte ich vom Sawtooth auf den iMac ein Image dumpen
Scheinbar klappt es mit der Pipe nicht…
Hat jemand einen Tipp?
Liebe Grüße
Yves
mit folgendem Script, welches wunderbar auf meiner Gentoo Box funktioniert, möchte ich vom Sawtooth auf den iMac ein Image dumpen
Code:
#!/bin/bash
TIMESTAMP=`date "+%Y%m%d%H%M%S"`
/usr/local/mysql/bin/mysqldump -uroot -pm0\-k3pT\- -hlocalhost --all-databases | gzip > /Users/Yves/MySQL/iMac$TIMESTAMP.sql.gz
dump -0 -f /dev/rdisk0 - | ssh root@192.168.0.20 -p22 dd of=/Users/Yves/Backup/iMac/dd/iMac_rdisk0
Scheinbar klappt es mit der Pipe nicht…
Code:
iMac:~/bash root# ./dd.sh
DUMP: Date of this level 0 dump: Tue Jul 5 16:58:48 2005
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping - to /dev/rdisk0
DUMP: Cannot open -
0+0 records in
0+0 records out
0 bytes transferred in 0.000063 secs (0 bytes/sec)
Hat jemand einen Tipp?
Liebe Grüße
Yves