Moin,
ich habe mein Backup Script verbessert, damit das Datenwiederherstellen nicht so mühsam wird, indem ich nach jedem gesicherten Verzeichnis ein eof am Band kennzeichne.
Mein Skript sieht wie folgend aus:
Code:
tar -cvf $tape $ftp -V "Backup von $ftp" >> $log
mt eof
mt tell >> $log
Wenn ich das Band zurückspule bzw. vor auf die Blocknummer wo die FTP Daten drauf sind, funktioniert auch...
Code:
/home/share # mt eof 558646
Jedoch verweigert tar sein Dienst...
Code:
/home/share # tar xvf /dev/tape
tar: /dev/tape: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
/home/share # tar -xvf /dev/tape
tar: /dev/tape: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
/home/share # tar xf /dev/tape
tar: /dev/tape: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
Weiss jemand was ich falsch gemacht habe?
@Columbo Wie läuft bei dir Amanda?
Lesezeichen