Bacula-users

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

2008-07-08 18:10:52
Subject: Re: [Bacula-users] Bacula says it is doing incremental backup but does full backup.
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 09 Jul 2008 00:10:20 +0200
Hi,

08.07.2008 23:38, Hemant Shah wrote:
> 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?

That is definitely a problem when you use the bootstrap file - like 
now - but should not affect backups and console-initiated restores 
(which don't use a bootstrap file).

You should fix the job definitions to use distinct bootstrap files, 
though.

Arno

> Here is my job definition:
> 
> Job
> {
>  Name = lidp11-BackupToDisk
>  Enabled = yes
>  Type = Backup
>  Client = lidp11-fd
>  FileSet = "lidp11 Disk set"
>  Schedule = BackupToDisk
>  Messages = Standard
>  Priority = 10
>  Pool = Default
>  Full Backup Pool = lidp11-FullBackupDiskPool
>  Incremental Backup Pool = lidp11-IncrBackupDiskPool
>  Write Bootstrap = "/backups/bootstrap/lidp11-FullBackupToDisk.bsr"
> }
> 
> 
> 
> 
> --- On Tue, 7/8/08, Hemant Shah <hjrrs AT yahoo DOT com> wrote:
> 
>> From: Hemant Shah <hjrrs AT yahoo 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: Tuesday, July 8, 2008, 4:11 PM
>> --- On Tue, 7/8/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: Tuesday, July 8, 2008, 12:43 PM
>>> Hemant Shah schrieb:
>>>>>>   I ran my first production backup of
>> bacula
>>> last
>>>>> weekend. I did a
>>>>>>   full backup to tape, then full backup
>> to
>>> disk. Next
>>>>> was
>>>>>>   incremental backup. Bacula said that
>> it
>>> was doing
>>>>> incremental
>>>>>>   backup but it actually did a full
>> backup.
>>> I am
>>>>> running bacula
>>>>>>   2.4.0. Here are the e-mails I
>> received.
>>>>>> [...] 
>>>>>> As you can see the amount of data
>> backups is
>>> almost
>>>>> the same (60GB).
>>>>>> This was done over a long weekend, so
>> very
>>> few files
>>>>> changed on this filesystem. 
>>>>>
>>>>> Can you look at the timestamps of the backed
>> up
>>> files
>>>>> (ctime, mtime)
>>>>> on the client?  Maybe ther is a job that
>> touches
>>> all the
>>>>> files or
>>>>> something similar.
>>>> There is not other job (cron or otherwise) that
>> would
>>> touch all (2.5 million) files.
>>>
>>> Can you show us the the modification time of some file
>> that
>>> were backed up?
>>>
>>> Ralf
>> Here is the output of bls command for Full and Incremental
>> backups:
>>
>> [root@lidp11 ~]# bls -c /usr/local/etc/bacula-sd.conf -b
>> /backups/bootstrap/lidp11-FullBackupToDisk.bsr -V
>> Full-lidp11-2008-07-05-18:14:13 lidp11-File  | head -25
>> bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0
>> fname=/
>> bls: butil.c:282 Using device: "lidp11-File" for
>> reading.
>> 08-Jul 16:05 bls JobId 0: Ready to read from volume
>> "Full-lidp11-2008-07-05-18:14:13" on device
>> "lidp11-File" (/backups/backupfiles/lidp11).
>> 08-Jul 16:05 bls JobId 0: Forward spacing Volume
>> "Full-lidp11-2008-07-05-18:14:13" to file:block
>> 0:241.
>> bls JobId 0: drwxr-xr-x  22 root     root          4096
>> 2008-06-13 13:24:21  /var/
>> bls JobId 0: -rw-r--r--   1 root     root             0
>> 2008-06-13 18:26:06  /.autofsck
>> bls JobId 0: drwx------   2 root     root         16384
>> 2008-06-13 12:30:01  /lost+found/
>> bls JobId 0: drwxr-xr-x  11 root     root             0
>> 2008-06-13 18:25:52  /sys/
>> bls JobId 0: drwxr-xr-x   4 root     root          4096
>> 2008-06-13 17:46:58  /baculaDB/
>> bls JobId 0: lrwxrwxrwx   1 root     root            20
>> 2008-06-13 13:05:09  /lib64/ld-lsb-x86-64.so.3 ->
>> ld-linux-x86-64.so.2
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 16:32:50  /lib64/libcom_err.so.2 ->
>> libcom_err.so.2.1
>> bls JobId 0: -rwxr-xr-x   1 root     root         22152
>> 2008-06-13 12:39:59  /lib64/libSegFault.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         18672
>> 2008-06-13 21:10:54  /lib64/libplc4.so
>> bls JobId 0: -rwxr-xr-x   1 root     root        169880
>> 2008-06-13 21:09:40  /lib64/libexpat.so.1.5.2
>> bls JobId 0: -rwxr-xr-x   1 root     root         26752
>> 2008-06-13 21:16:15  /lib64/libe2p.so.2.3
>> bls JobId 0: lrwxrwxrwx   1 root     root            14
>> 2008-06-13 16:32:50  /lib64/libuuid.so.1 ->
>> libuuid.so.1.2
>> bls JobId 0: lrwxrwxrwx   1 root     root            13
>> 2008-06-13 12:39:59  /lib64/libnsl.so.1 -> libnsl-2.8.so
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 16:32:53  /lib64/libaudit.so.0 ->
>> libaudit.so.0.0.0
>> bls JobId 0: -rwxr-xr-x   1 root     root        341368
>> 2008-06-13 16:33:01  /lib64/libfreebl3.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         55472
>> 2008-06-13 21:15:45  /lib64/libcryptsetup.so.0.0.0
>> bls JobId 0: -rwxr-xr-x   1 root     root         11488
>> 2008-06-13 16:36:52  /lib64/libpamc.so.0.81.0
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 12:39:59  /lib64/libpthread.so.0 ->
>> libpthread-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         23208
>> 2008-06-13 21:09:18  /lib64/libdl-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         42992
>> 2008-06-13 12:39:59  /lib64/libnss_compat-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root        112192
>> 2008-06-13 21:09:18  /lib64/libselinux.so.1
>>
>>
>>
>> [root@lidp11 ~]# bls -c /usr/local/etc/bacula-sd.conf -b
>> /backups/bootstrap/lidp11-FullBackupToDisk.bsr -V
>> Incr-lidp11-2008-07-06-22:05:25 lidp11-File  | head -25
>> bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0
>> fname=/
>> bls: butil.c:282 Using device: "lidp11-File" for
>> reading.
>> 08-Jul 16:06 bls JobId 0: Ready to read from volume
>> "Full-lidp11-2008-07-05-18:14:13" on device
>> "lidp11-File" (/backups/backupfiles/lidp11).
>> 08-Jul 16:06 bls JobId 0: Forward spacing Volume
>> "Full-lidp11-2008-07-05-18:14:13" to file:block
>> 0:241.
>> bls JobId 0: drwxr-xr-x  22 root     root          4096
>> 2008-06-13 13:24:21  /var/
>> bls JobId 0: -rw-r--r--   1 root     root             0
>> 2008-06-13 18:26:06  /.autofsck
>> bls JobId 0: drwx------   2 root     root         16384
>> 2008-06-13 12:30:01  /lost+found/
>> bls JobId 0: drwxr-xr-x  11 root     root             0
>> 2008-06-13 18:25:52  /sys/
>> bls JobId 0: drwxr-xr-x   4 root     root          4096
>> 2008-06-13 17:46:58  /baculaDB/
>> bls JobId 0: lrwxrwxrwx   1 root     root            20
>> 2008-06-13 13:05:09  /lib64/ld-lsb-x86-64.so.3 ->
>> ld-linux-x86-64.so.2
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 16:32:50  /lib64/libcom_err.so.2 ->
>> libcom_err.so.2.1
>> bls JobId 0: -rwxr-xr-x   1 root     root         22152
>> 2008-06-13 12:39:59  /lib64/libSegFault.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         18672
>> 2008-06-13 21:10:54  /lib64/libplc4.so
>> bls JobId 0: -rwxr-xr-x   1 root     root        169880
>> 2008-06-13 21:09:40  /lib64/libexpat.so.1.5.2
>> bls JobId 0: -rwxr-xr-x   1 root     root         26752
>> 2008-06-13 21:16:15  /lib64/libe2p.so.2.3
>> bls JobId 0: lrwxrwxrwx   1 root     root            14
>> 2008-06-13 16:32:50  /lib64/libuuid.so.1 ->
>> libuuid.so.1.2
>> bls JobId 0: lrwxrwxrwx   1 root     root            13
>> 2008-06-13 12:39:59  /lib64/libnsl.so.1 -> libnsl-2.8.so
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 16:32:53  /lib64/libaudit.so.0 ->
>> libaudit.so.0.0.0
>> bls JobId 0: -rwxr-xr-x   1 root     root        341368
>> 2008-06-13 16:33:01  /lib64/libfreebl3.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         55472
>> 2008-06-13 21:15:45  /lib64/libcryptsetup.so.0.0.0
>> bls JobId 0: -rwxr-xr-x   1 root     root         11488
>> 2008-06-13 16:36:52  /lib64/libpamc.so.0.81.0
>> bls JobId 0: lrwxrwxrwx   1 root     root            17
>> 2008-06-13 12:39:59  /lib64/libpthread.so.0 ->
>> libpthread-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         23208
>> 2008-06-13 21:09:18  /lib64/libdl-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root         42992
>> 2008-06-13 12:39:59  /lib64/libnss_compat-2.8.so
>> bls JobId 0: -rwxr-xr-x   1 root     root        112192
>> 2008-06-13 21:09:18  /lib64/libselinux.so.1
>>
>>
>> Here is the "ls -l" output of 4 of the above
>> files:
>>
>> [root@lidp11 ~]# ls -l /lib64/libSegFault.so
>> /lib64/libplc4.so /lib64/libexpat.so.1.5.2
>> /lib64/libe2p.so.2.3
>> -rwxr-xr-x 1 root root  26752 2008-05-12 14:03
>> /lib64/libe2p.so.2.3
>> -rwxr-xr-x 1 root root 169880 2008-02-25 05:56
>> /lib64/libexpat.so.1.5.2
>> -rwxr-xr-x 1 root root  18672 2008-06-02 06:00
>> /lib64/libplc4.so
>> -rwxr-xr-x 1 root root  22152 2008-05-05 07:37
>> /lib64/libSegFault.so
>>
>>
>>
>>>
>> -------------------------------------------------------------------------
>>> 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
>>
>>
>> Hemant Shah
>> E-mail: hjrrs AT yahoo DOT com
>>
>>
>>
>>       
>>
>> -------------------------------------------------------------------------
>> 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
> 
> 
> Hemant Shah
> E-mail: hjrrs AT yahoo DOT com
> 
> 
> 
>       
> 
> -------------------------------------------------------------------------
> 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
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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>