On Monday 28 November 2005 15:32, Benoit Panizzon wrote:
> Hi Kern
>
> >>     50  Full     19,993  3,425,859,020 Error    05-Nov-05 10:32 bang
> >>
> >> Is there a way to restore those files?
> >
> > Yes.
> >
> > Since the job terminated in error, there is no way to 100% guarantee that
> > the files can be restored. That said, all the files that were
> > successfully written to the Volume should be valid and recoverable.
> >
> > By default, when you ask to restore the current state of the system
> > (option 5 on the restore menu), Bacula will not consider jobs that
> > terminated with an error status.  However, you can explicitly select such
> > jobs by specifying the JobId (it is another option).
>
> Yes, but that also does not seam to work:
>
>
>       3: Enter list of comma separated JobIds to select
>
> Select item:  (1-9): 3
>
> Enter JobId(s), comma separated, to restore: 50
>
> You have
> selected the following JobId: 50 Building directory tree for JobId 50 ... 1
> Job, 0 files inserted into the tree. No MediaType found for your JobIds.
> Automatically selected Storage: DDS-3
>
> 0 Files... I'm not able even to do am 'mark all'.
>
> So how can I access those files?

The File records were evidently pruned.  If you are running 1.38.x you could 
restore the whole job (no selection).  The command will tell you that there 
are no File records and ask you if you want to restore the whole job.  Not a 
bad reason to update, but probably the wrong time, I imagine. :-)

It is pretty easy to write your own bootstrap file for doing this, from the 
data stored in the job record "llist jobid=50" -- then look at the examples 
at the end of the restore chapter -- they talk about using bls output for the 
information, if I remember right, but you should see the same values in the 
llist listing ...

>
> -Benoit-

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to