Bacula-users

Re: [Bacula-users] Bacula says it is doing incremental backup but does full backup.

2008-07-09 18:39:21
Subject: Re: [Bacula-users] Bacula says it is doing incremental backup but does full backup.
From: "John Drescher" <drescherjm AT gmail DOT com>
To: hjrrs AT yahoo DOT com, baculausers <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 9 Jul 2008 18:39:11 -0400
On Wed, Jul 9, 2008 at 6:11 PM, Hemant Shah <hjrrs AT yahoo DOT com> wrote:
>
>
> Hemant Shah
> E-mail: hjrrs AT yahoo DOT com
>
>
> --- On Wed, 7/9/08, Ralf Gross <Ralf-Lists AT ralfgross DOT de> wrote:
>
>> From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
>> Subject: Re: [Bacula-users] Bacula says it is doing incremental backup but 
>> does full backup.
>> To: bacula-users AT lists.sourceforge DOT net
>> Date: Wednesday, July 9, 2008, 2:37 PM
>> John Drescher schrieb:
>> > On Wed, Jul 9, 2008 at 12:11 PM, Hemant Shah
>> <hjrrs AT yahoo DOT com> wrote:
>> > >
>> > > --- On Wed, 7/9/08, Martin Simmons
>> <martin AT lispworks DOT com> wrote:
>> > >
>> > >> From: Martin Simmons
>> <martin AT lispworks DOT com>
>> > >> Subject: Re: [Bacula-users] Bacula says it is
>> doing incremental backup but does full backup.
>> > >> To: bacula-users AT lists.sourceforge DOT net
>> > >> Date: Wednesday, July 9, 2008, 5:00 AM
>> > >> >>>>> On Tue, 8 Jul 2008
>> 14:38:50 -0700
>> > >> (PDT), Hemant Shah said:
>> > >> >
>> > >> > I looked again at the output of the bls
>> commands below
>> > >> and I realized that
>> > >> > although I specify Incremental backup
>> volume, bls
>> > >> lists the files in Full
>> > >> > backup volume. The boot strap file is
>> same for all
>> > >> disk backups, could this
>> > >> > be the problem?
>> > >>
>> > >> Can you get a bls listing from the
>> Incremental backup and
>> > >> check the stat of a
>> > >> few of those files?  Your previous stat was
>> from files in
>> > >> the Full backup,
>> > >> which might not be in the Incremental backup.
>> > >
>> > > Here are the listings for Full and Incremental
>> without specifying bootstrap file:
>> > > The begining of the output was different so I
>> grepped for couple of the same files from both output so
>> they can be compared:
>> > >
>> > > [root@lidp11 ~]# bls -c
>> /usr/local/etc/bacula-sd.conf  -V
>> Full-lidp11-2008-07-05-18:14:13 lidp11-File  | grep
>> /mnt/online_docs/src/bind
>> > > bls JobId 0: -rw-r--r--   1 root     root
>> 5021044 2008-07-04 21:18:31
>> /mnt/online_docs/src/bind/bind-9.2.1.tar.gz
>> > > bls JobId 0: -rwxr-xr-x   1 root     root
>> 5054652 2008-07-04 21:18:34
>> /mnt/online_docs/src/bind/bind-9.2.2.tar.gz
>> > >
>> > > [root@lidp11 ~]# bls -c
>> /usr/local/etc/bacula-sd.conf  -V
>> Incr-lidp11-2008-07-06-22:05:25 lidp11-File   | grep
>> /mnt/online_docs/src/bind
>> > > bls JobId 0: -rw-r--r--   1 root     root
>> 5021044 2008-07-06 14:00:44
>> /mnt/online_docs/src/bind/bind-9.2.1.tar.gz
>> > > bls JobId 0: -rwxr-xr-x   1 root     root
>> 5054652 2008-07-06 14:00:45
>> /mnt/online_docs/src/bind/bind-9.2.2.tar.gz
>> > >
>> > > These files have not been changed in several
>> years:
>> > >
>> > Can someone point out what the times associated with
>> these files are?
>> > Time of backup??
>>
>> http://www.bacula.org/en/dev-manual/Volume_Utility_Tools.html#SECTION003950000000000000000
>> | Normally if no options are specified, bls will produce
>> the
>> | equivalent output to the ls -l command for each file on
>> the tape.
>>
>> Hm, looks strange... This is the time bacula thinks the
>> file was
>> changed. I've just looked at one of my volumes with bls
>> and it shows
>> the correct time.
>>
>
>  I thought that it was the time when the files are backed up, because ls and 
> stat commands show correct timestamps.
>
Unless the example in the docs is wrong this is a bug, I mean the
example for bls shows the last modify time and not the time the file
is backed up. And if somehow bacula is using current time as the last
modify time that will explain why you get every file.

John

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>