From a13e4b89182c8b23c820293f929a57412900fe05 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 23 May 2009 12:36:57 +0000 Subject: [PATCH] Turn off useless End of file message during restore. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8854 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/read_record.c | 4 +++- bacula/technotes | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bacula/src/stored/read_record.c b/bacula/src/stored/read_record.c index d723e23b3a..2c411aac09 100644 --- a/bacula/src/stored/read_record.c +++ b/bacula/src/stored/read_record.c @@ -128,6 +128,7 @@ bool read_records(DCR *dcr, continue; } else if (dev->at_eof()) { +#ifdef neeeded_xxx if (verbose) { char *fp; uint32_t fp_num; @@ -139,8 +140,9 @@ bool read_records(DCR *dcr, fp_num = dev->file; } Jmsg(jcr, M_INFO, 0, _("End of %s %u on device %s, Volume \"%s\"\n"), - fp, fp_num, dev->print_name(), dcr->VolumeName); + fp, fp_num, dev->print_name(), dcr->VolumeName); } +#endif Dmsg3(200, "End of file %u on device %s, Volume \"%s\"\n", dev->file, dev->print_name(), dcr->VolumeName); continue; diff --git a/bacula/technotes b/bacula/technotes index b517b0a3ad..17336fc8a7 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,8 @@ General: 23May09 +kes Turn off useless End of file message during restore. +======= kes When doing a tree selection restore, look at the PurgedFiles column in the first JobId, and if non-zero, the Job was purged, so do not do selection. -- 2.39.5