Hi, On 4/2/2007 5:40 AM, Brandon Griggs wrote: > I am attempting to restore over 160gb of data that was backed up > while some users were still logged in. As a result, some files have > size errors. > > I do not care if the the bad files are not restored but cannot go > through one at a time to add to the exclude list. Is there a way to > tell bacula to ignore these errors or is there a better way around this?
Nothing internal to Bacula, but you could grep for the warning messages in the job output, strip the lines of the text surrounding the file name, and feed the remaining file names to 'xargs rm'. That's what I would do. > I believe the first read errors are from the drive not being ready > from not long enough of a wait to mount, it goes on the 2nd attempt. Have you run the btape tests and trial restores, or is this your first attempt to restore? Arno > > 01-Apr 19:35 adam-dir: Begin pruning Jobs. > 01-Apr 19:35 adam-dir: No Jobs found to prune. > 01-Apr 19:35 adam-dir: Begin pruning Files. > 01-Apr 19:35 adam-dir: No Files found to prune. > 01-Apr 19:35 adam-dir: End auto prune. > > 01-Apr 20:02 adam-dir: Start Restore Job RestoreFiles. > 2007-04-01_20.02.25 > 01-Apr 20:02 adam-sd: 3307 Issuing autochanger "unload slot 4, drive > 0" command. > 01-Apr 20:03 adam-sd: 3304 Issuing autochanger "load slot 8, drive 0" > command. > 01-Apr 20:04 adam-sd: 3305 Autochanger "load slot 8, drive 0", status > is OK. > 01-Apr 20:04 adam-sd: 3301 Issuing autochanger "loaded? drive 0" > command. > 01-Apr 20:04 adam-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 8. > 01-Apr 20:04 adam-sd: Ready to read from volume "EHL897" on device > "DLT0" (/dev/rmt/0n). > 01-Apr 20:04 adam-sd: Forward spacing Volume "EHL897" to file:block > 28:0. > 01-Apr 20:07 adam-sd: End of file 29 on device "DLT0" (/dev/rmt/0n), > Volume "EHL897" > 01-Apr 20:07 adam-sd: RestoreFiles.2007-04-01_20.02.25 Error: block.c: > 994 Read error on fd=4 at file:blk 29:0 on device "DLT0" (/dev/rmt/ > 0n). ERR=I/O error. > 01-Apr 20:07 adam-sd: End of Volume at file 29 on device "DLT0" (/dev/ > rmt/0n), Volume "EHL897" > 01-Apr 20:07 adam-sd: 3301 Issuing autochanger "loaded? drive 0" > command. > 01-Apr 20:07 adam-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 8. > 01-Apr 20:07 adam-sd: 3307 Issuing autochanger "unload slot 8, drive > 0" command. > 01-Apr 20:10 adam-sd: 3304 Issuing autochanger "load slot 4, drive 0" > command. > 01-Apr 20:11 adam-sd: 3305 Autochanger "load slot 4, drive 0", status > is OK. > 01-Apr 20:11 adam-sd: 3301 Issuing autochanger "loaded? drive 0" > command. > 01-Apr 20:11 adam-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 4. > 01-Apr 20:11 adam-sd: RestoreFiles.2007-04-01_20.02.25 Warning: > acquire.c:200 Read open device "DLT0" (/dev/rmt/0n) Volume "EHL892" > failed: ERR=dev.c:424 Unable to open device "DLT0" (/dev/rmt/0n): > ERR=I/O error > > 01-Apr 20:11 adam-sd: 3301 Issuing autochanger "loaded? drive 0" > command. > 01-Apr 20:11 adam-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 4. > 01-Apr 20:11 adam-sd: Ready to read from volume "EHL892" on device > "DLT0" (/dev/rmt/0n). > 01-Apr 20:11 adam-sd: Forward spacing Volume "EHL892" to file:block 5:0. > 01-Apr 20:13 adam-fd: RestoreFiles.2007-04-01_20.02.25 Error: > attribs.c:409 File size of restored file /export/storedge0/restored/ > export/storedge0/engineering/BACKUP/DRAW Backup/TMC/01-003/TABLE > MOUNTAIN/Casino/E-202.dwg not correct. Original 538714, restored 327680. > 01-Apr 20:13 adam-sd: End of file 6 on device "DLT0" (/dev/rmt/0n), > Volume "EHL892" > 01-Apr 20:13 adam-sd: RestoreFiles.2007-04-01_20.02.25 Error: block.c: > 994 Read error on fd=4 at file:blk 6:0 on device "DLT0" (/dev/rmt/ > 0n). ERR=I/O error. > 01-Apr 20:13 adam-sd: End of Volume at file 6 on device "DLT0" (/dev/ > rmt/0n), Volume "EHL892" > 01-Apr 20:13 adam-sd: End of all volumes. > 01-Apr 20:13 adam-dir: RestoreFiles.2007-04-01_20.02.25 Error: Bacula > 2.0.2 (28Jan07): 01-Apr-2007 20:13:02 > JobId: 1378 > Job: RestoreFiles.2007-04-01_20.02.25 > Client: adam-fd > Start time: 01-Apr-2007 20:02:27 > End time: 01-Apr-2007 20:13:02 > Files Expected: 22,799 > Files Restored: 961 > Bytes Restored: 744,160,622 > Rate: 1171.9 KB/s > FD Errors: 1 > FD termination status: Error > SD termination status: OK > Termination: *** Restore Error *** > > 01-Apr 20:13 adam-dir: Begin pruning Jobs. > 01-Apr 20:13 adam-dir: No Jobs found to prune. > 01-Apr 20:13 adam-dir: Begin pruning Files. > 01-Apr 20:13 adam-dir: No Files found to prune. > 01-Apr 20:13 adam-dir: End auto prune. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users