-/*
- * SD -- mac.c -- responsible for doing
- * migration, archive, and copy jobs.
- *
- * Kern Sibbald, January MMVI
- *
- * Version $Id$
- */
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2006-2006 Free Software Foundation Europe e.V.
+ Copyright (C) 2006-2008 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.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Bacula® is a registered trademark of John Walker.
+ Bacula® is a registered trademark of Kern Sibbald.
The licensor of Bacula is the Free Software Foundation Europe
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
*/
+/*
+ * SD -- mac.c -- responsible for doing
+ * migration, archive, copy, and virtual backup jobs.
+ *
+ * Kern Sibbald, January MMVI
+ *
+ * Version $Id$
+ */
#include "bacula.h"
#include "stored.h"
char ec1[50];
DEVICE *dev;
- switch(jcr->JobType) {
+ switch(jcr->get_JobType()) {
case JT_MIGRATE:
Type = "Migration";
break;
case JT_COPY:
Type = "Copy";
break;
+ case JT_BACKUP:
+ Type = "Virtual Backup";
+ break;
default:
Type = "Unknown";
break;
jcr->dcr->VolFirstIndex = jcr->dcr->VolLastIndex = 0;
jcr->run_time = time(NULL);
+ set_start_vol_position(jcr->dcr);
ok = read_records(jcr->read_dcr, record_cb, mount_next_read_volume);
goto ok_out;