/*
Bacula® - The Network Backup Solution
- Copyright (C) 2002-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2002-2010 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.
*
* Kern Sibbald, July MMII
*
- * Version $Id$
*/
#include "bacula.h"
}
Mmsg(volmsg, "%c%-25.25s %-25.25s %-25.25s",
online, bsr->VolParams[i].VolumeName,
- bsr->VolParams[i].Storage,
- Device);
+ bsr->VolParams[i].Storage, Device);
add_prompt(ua, volmsg.c_str());
}
}
/* Add new JobId at end of chain */
for (nbsr=bsr; nbsr->next; nbsr=nbsr->next)
{ }
+
nbsr->next = new_bsr();
nbsr->next->JobId = JobId;
+
+ /* If we use regexp to restore, set it for each jobid */
+ if (bsr->fileregex) {
+ nbsr->next->fileregex = bstrdup(bsr->fileregex);
+ }
+
nbsr->next->fi = new_findex();
nbsr->next->fi->findex = 1;
nbsr->next->fi->findex2 = INT32_MAX;