-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/17/2006 10:00 AM, Kern Sibbald wrote: > On Tuesday 17 January 2006 00:10, Alexander Bergolth wrote: >>However the other issue is that apparently bacula has been informed >>about the error, but it seems to have interpreted it as an end of medium >>condition instead of aborting the backup: >> >>-------------------- snipp! -------------------- >>14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error: >>block.c:538 Write error at 6:3819 on device "DLT1" (/dev/nst0). >>ERR=Input/output error. >>14-Jan 01:57 samba-sd: Samba-Homes.2006-01-14_01.05.00 Error: Error >>writing final EOF to tape. This Volume may not be readable. >>dev.c:1553 ioctl MTWEOF error on "DLT1" (/dev/nst0). ERR=Input/output >>error. 14-Jan 01:57 samba-sd: End of medium on Volume "Weekly-2005-06-12_8" >>Bytes=6,245,922,599 Blocks=96,818 at 14-Jan-2006 01:57. >>-------------------- snipp! -------------------- >> >>Is there an option to let bacula abort a backup after a write error? > > No, and I'm not sure that aborting the job would be very useful. The last > record on the tape was correctly written so the tape *should* be valid. > Bacula does warn you, which allows you to verify the job and re-run it if > necessary.
Bacula aborted writing to the tape as the error occured and asked for a new volume. So maybe the last record that has been written to the tape before the error occured had been written correctly but the backup isn't complete as it needed another tape and it looks like it did not write the EOF successfully to the bad tape. So I doubt if the job could be used for a restore. (Unfortunately I cannot verify it because the tape has been wiped now.) Cheers, - --leo - -- - ----------------------------------------------------------------------- [EMAIL PROTECTED] Fax: +43-1-31336-906050 Zentrum fuer Informatikdienste - Wirtschaftsuniversitaet Wien - Austria -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDzMEOsYaksEkoAQMRAiIgAJ9+4KqPxdTFNnXHWAvLkFFs0ceJmQCeK6nW ki9ISNIxrrASOlkZCGrSXTU= =/+vZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users