- Add subsections to the Disaster Recovery index section.
For 1.33
+- Look at find_next_volume() algorithm. Currently, it selects:
+ +---------+------------+---------------------+-----------+
+ | MediaId | VolumeName | LastWritten | VolBytes |
+ +---------+------------+---------------------+-----------+
+ | 3 | Test13 | 0000-00-00 00:00:00 | 1 |
+ | 4 | Test14 | 0000-00-00 00:00:00 | 1 |
+ | 1 | test11 | 2003-12-03 18:39:55 | 4,004,926 |
+ | 2 | test12 | 2004-01-04 15:25:56 | 2,078,691 |
+ +---------+------------+---------------------+-----------+
+ but perhaps it should fill already used Volumes first, and use
+ Append volumes before Purged, or Recycled, ...
- Volume "add"ed to Pool gets recycled in first use. VolBytes=0
- Get rid of 0 dates in LastWritten, ...
- Make Bacula "poll a drive".
return 0;
}
}
+ if (job_canceled(jcr)) {
+ return 0;
+ }
Dmsg2(100, "After find_next_append. Vol=%s Slot=%d\n",
jcr->VolCatInfo.VolCatName, jcr->VolCatInfo.Slot);
Dmsg0(100, "Error return ask_sysop ...\n");
return 0; /* error return */
}
+ if (job_canceled(jcr)) {
+ return 0;
+ }
Dmsg1(100, "want vol=%s\n", jcr->VolumeName);
/* Open device */
#undef VERSION
#define VERSION "1.33"
#define VSTRING "1"
-#define BDATE "04 Jan 2003"
-#define LSMDATE "04Jan03"
+#define BDATE "04 Jan 2004"
+#define LSMDATE "04Jan04"
/* Debug flags */
#undef DEBUG