[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Virtual Full time/date bug?

On Fri, Oct 10, 2008 at 11:03:17AM +0200, Kern Sibbald wrote:
> In the future, it would be helpful if you would at a minimum change the title.  
OK, sorry about that.

I've found more behaviours that I don't expect, though things are getting
better! :)

a) Set the time forward a year, to be 2009.
b) Run a Full backup.
c) Run an Incremental backup.
d) Set the time to be the real time again.
e) Try to run an Incremental backup.

The last incremental backup fails. The log says:
... JobId 4: Fatal error: Cannot find previous jobids.

OK, that is fair enough.
But since there were no previous jobs, I would have expected it to be promoted
up to a Full backup. This promotion happens when you run an Incremental without
having any other jobs at all, so I don't really understand why it doesn't in
this case.

Continuing from the first five steps as set out above...
f) Run another Full backup.
g) Run another Incremental backup.
h) Run a Virtual Full backup.

This seems to work fine, but when I do a 'list jobs' and check the dates, the
Virtual Full has now got the start time of the Incremental that was created
in step (c) above.
'list jobs' looks like this (tidied up a bit for ease of reading):

| JobId | Name  | StartTime           | Level | JobFiles | JobBytes |
| 3     | tserv | 2008-10-13 15:30:31 | F     |      533 |  774,718 |
| 4     | tserv | 2008-10-13 15:31:08 | I     |        7 |  304,512 |
| 1     | tserv | 2009-10-13 15:29:19 | F     |      532 |  751,430 |
| 2     | tserv | 2009-10-13 15:30:12 | I     |       11 |  308,112 |
| 5     | tserv | 2009-10-13 15:30:12 | F     |      533 |  868,913 |

I put some debug in in order to dump the .bsr file from the Virtual Full, so
I can confirm that it did use the 2008 jobs. So the problem appears to be that
it is just setting the date wrong.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Bacula-devel mailing list

This mailing list archive is a service of Copilotco.