/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
if (reserve_volume(dcr, VolName) == NULL) {
Mmsg2(dcr->jcr->errmsg, _("Could not reserve volume %s on %s\n"),
dev->VolHdr.VolumeName, dev->print_name());
+ Dmsg1(100, "%s", dcr->jcr->errmsg);
goto bail_out;
}
dev = dcr->dev; /* may have changed in reserve_volume */
dev->dlock();
Dmsg1(dbglvl, "Enter blocked=%s\n", dev->print_blocked());
- unmounted = is_device_unmounted(dev);
+ /*
+ * Since we want to mount a tape, make sure current one is
+ * not marked as using this drive.
+ */
+ volume_unused(dcr);
+
+ unmounted = is_device_unmounted(dev);
dev->poll = false;
/*
* Wait requested time (dev->rem_wait_sec). However, we also wake up every
*/
#undef VERSION
-#define VERSION "2.5.42-b2"
-#define BDATE "16 March 2009"
-#define LSMDATE "16Mar09"
+#define VERSION "2.5.43"
+#define BDATE "20 March 2009"
+#define LSMDATE "20Mar09"
#define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n"
#define BYEAR "2009" /* year for copyright messages in progs */
Exchange plugin
-New features to be documented:
-Update src/plugins/README
-command separator in console (!$%&'()*+,-/:;<>?[]^`{|}~)
-examples/database/dbcheck.sql
-enhancement to wait command: wait mount ...
-dbport in dbcheck
-filepattern (restore with regex in bsr)
-Allow Mixed Priorities
-Eliminated license problems with OpenSSL.
+-New features to be documented:
+-Update src/plugins/README
+-command separator in console (!$%&'()*+,-/:;<>?[]^`{|}~)
+-examples/database/dbcheck.sql
+-enhancement to wait command: wait mount ...
+-dbport in dbcheck
+-filepattern (restore with regex in bsr)
+-Allow Mixed Priorities Kjetil Torgrim Homme <kjetilho@linpro.no> 30Jun08
+-Eliminated license problems with OpenSSL.
+- The exchange plugin truncates the exchange logs as soon as it has
+sent the data to the sd. If the sd is spooling and something
+goes wrong and the data doesn't make it to the backup medium then
+the logs are lost, which could be a problem under some
+restore scenarios.
+- Regex filtered bsrs Kjetil Torgrim Homme <kjetilho@linpro.no> 15Aug08
Code to be completed before 3.0.0 is released:
*1. Fix bug #1221 problem with NODUMP flag
General:
+20Mar09
+kes Proposed fix for bug #1227 Job and labeling new tape.
+
+Beta release 2.5.42-b2
16Mar09
kes Increase timeout for unmounting DVD as suggested by reporter
of bug #1250.