Hi,

I've made a small change to brestore.pl to exclude Copy job ids,
this is the default in bconsole (afaik)

Job selection is restricted to Type='B', but right click on
file list item "See all versions" shows Copy job ids.
(last line of code below is new)


sub get_all_file_versions
{
    my ($self,$pathid,$fileid,$client,$see_all)=...@_;
    
    defined $see_all or $see_all=0;
    
    my @versions;
    my $query;
    $query = 
"SELECT File.JobId, File.FileIndex, File.Lstat, 
        File.Md5, Media.VolumeName, Media.InChanger
 FROM File, Job, Client, JobMedia, Media
 WHERE File.FilenameId = $fileid
   AND File.PathId=$pathid
   AND File.JobId = Job.JobId
   AND Job.ClientId = Client.ClientId
   AND Job.JobId = JobMedia.JobId
   AND Job.Type IN ('B')
   ...


BR
Ulrich

-- 
Ulrich Leodolter <[email protected]>
OBVSG


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to