W dniu 10.08.2011 20:00, Martin Simmons pisze:
>>>>>> On Wed, 10 Aug 2011 16:40:40 +0200, Bartosz Cisek said:
> Add trace=1 to the setdebug command and look for the bacula-fd.trace file in
> the working directory.

I did some research, and found two things:

1. There are other one-file jobs that span across volumens, and they
restore without problems. So crossing volumens is not a problem here.
2. I found other (three) jobs with problems. All of them behave in the
same way as one decribed earlier. They differ from working job by having
EndBlock set to 0 (zero).

SELECT JobId FROM JobMedia WHERE StartBlock <> 0 AND EndBlock = 0;
+---------+
| JobId   |
+---------+
| 8208817 |
| 8208813 |
| 8228320 |
+---------+

mysql> select * from JobMedia where JobId = 8208813\G
*************************** 1. row ***************************
JobMediaId: 6704362
     JobId: 8208813
   MediaId: 3205
FirstIndex: 1
 LastIndex: 1
 StartFile: 1
   EndFile: 0
StartBlock: 4285650808
  EndBlock: 0
  VolIndex: 1
    Stripe: 0
*************************** 2. row ***************************
JobMediaId: 6704363
     JobId: 8208813
   MediaId: 3289
FirstIndex: 1
 LastIndex: 1
 StartFile: 0
   EndFile: 0
StartBlock: 132125823
  EndBlock: 132146970
  VolIndex: 2
    Stripe: 0
2 rows in set (0.00 sec)

mysql> select * from JobMedia where JobId = 8208817\G
*************************** 1. row ***************************
JobMediaId: 6704358
     JobId: 8208817
   MediaId: 3205
FirstIndex: 1
 LastIndex: 1
 StartFile: 1
   EndFile: 0
StartBlock: 4290489208
  EndBlock: 0
  VolIndex: 1
    Stripe: 0
*************************** 2. row ***************************
JobMediaId: 6704359
     JobId: 8208817
   MediaId: 3289
FirstIndex: 1
 LastIndex: 1
 StartFile: 0
   EndFile: 0
StartBlock: 131993018
  EndBlock: 131996798
  VolIndex: 2
    Stripe: 0

mysql> select * from JobMedia where JobId = 8228320\G
*************************** 1. row ***************************
JobMediaId: 6721875
     JobId: 8228320
   MediaId: 3348
FirstIndex: 1
 LastIndex: 1
 StartFile: 0
   EndFile: 0
StartBlock: 258294
  EndBlock: 307813
  VolIndex: 2
    Stripe: 0
*************************** 2. row ***************************
JobMediaId: 6721874
     JobId: 8228320
   MediaId: 3399
FirstIndex: 1
 LastIndex: 1
 StartFile: 1
   EndFile: 0
StartBlock: 4294788096
  EndBlock: 0
  VolIndex: 1
    Stripe: 0
-- 
Bartosz Cisek
Admin

email: bartosz.ci...@nasza-klasa.pl
tel: +48 519 300 122

Nasza Klasa Sp. z o.o.,
ul. Gen. J. Bema 2, 50-265 Wrocław

Sąd Rejonowy dla Wrocławia - Fabrycznej we Wrocławiu,
VI Wydział Gospodarczy Krajowego Rejestru Sądowego,
nr KRS:0000289629, NIP:898-21-22-104 REGON:020586020,
Kapitał zakładowy: 67 850,00 PLN

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to