Bacula-users

[Bacula-users] Bacula estimated file list and actual backud-up files list differ - not descending in to filesystems

2013-10-27 11:19:06
Subject: [Bacula-users] Bacula estimated file list and actual backud-up files list differ - not descending in to filesystems
From: Viv Diwakar <viv AT vdiwakar DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 27 Oct 2013 22:54:21 +0800
Hi folks,

First of all, this is my first post, so please forgive me any mistake or no-nos.

Secondly, apologies for the manuscript of a message, but I think all the information is pertinent.

Here is my issue; I have a client with separate /home, /srv and /var/log filesystems.  As such, I have this in the client definition:

Client {
  Name = das-client-fd
  Address = aaa.bbb.ccc.ddd
  FDPort = 9102
  Catalog = MyCatalog
  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  AutoPrune = no
  Maximum Concurrent Jobs = 1
}

FileSet {
  Name = das-client-Custom

  Exclude {
    @/etc/bacula/bacula-dir-files-excludes.conf
  }

  Include {
    Options {
      @/etc/bacula/bacula-dir-wildcards-excludes.conf
      exclude = yes
    }

    Options {
      recurse = yes
    }

    File = /etc
    File = /home
    File = /root
    File = /var
    File = /usr
    File = /srv
    File = /var/log
  }
}

I have included the @-included files below:

$ cat /etc/bacula/bacula-dir-wildcards-excludes.conf
WildDir = "*lost+found*"
WildDir = "*tmp*"
WildDir = "*temp*"
WildDir = "*Desktop*"
WildDir = "*Appdata*"
WildDir = "*My Documents*"
WildDir = "*VirtualBox VMs*"
WildDir = "/var/lib/puppet/clientbucket*"

$ cat /etc/bacula/bacula-dir-files-excludes.conf
File = /bin
File = /cdrom
File = /dev
File = /initrd
File = /lib
File = /media
File = /mnt
File = /proc
File = /sbin
File = /selinux
File = /sys
File = /usr/bin
File = /usr/games
File = /usr/include
File = /usr/lib
File = /usr/lib32
File = /usr/lib64
File = /usr/libexec
File = /usr/sbin
File = /usr/share
File = /var/amanda
File = /var/backups
File = /var/bacula
File = /var/cache
File = /var/lock
File = /var/opt
File = /var/run

Now, based on that config, when I run an estimate, I see the client-fd descending in to /home -

$ echo "estimate client=das-client-fd fileset=das-client-Custom level=Full job=ArchiveSnapshot listing" | bconsole
.....
-rw-r--r--   1 vivd     vivd             176 2012-11-01 12:13:00  /home/vivd/.bash_profile
-rw-r--r--   1 vivd     vivd              43 2013-01-21 17:31:50  /home/vivd/.inputrc
-rw-------   1 vivd     vivd            2687 2013-10-25 12:55:49  /home/vivd/.bash_history
-rw-r--r--   1 vivd     vivd             715 2013-01-21 17:31:50  /home/vivd/.bashrc
-rw-------   1 vivd     vivd            2106 2013-10-24 12:06:55  /home/vivd/.ssh/authorized_keys
drwx------   2 vivd     vivd            4096 2013-10-24 12:06:55  /home/vivd/.ssh
-rw-r--r--   1 vivd     vivd             617 2012-11-01 12:14:23  /home/vivd/.toprc
-rw-r--r--   1 vivd     vivd              18 2012-11-01 12:13:00  /home/vivd/.bash_logout
-rw-------   1 vivd     vivd             569 2012-11-01 12:14:23  /home/vivd/.viminfo
-rw-r--r--   1 vivd     vivd             169 2013-01-21 17:31:50  /home/vivd/.crontab_default
-rw-r--r--   1 vivd     vivd             183 2013-01-21 17:31:50  /home/vivd/.bash_aliases
drwx------   4 vivd     vivd            4096 2013-10-24 12:29:38  /home/vivd
drwxr-xr-x   4 root     root            4096 2012-11-01 12:13:00  /home
....

However, when I look at the run job, I see that /home has not been descended in to!

$ echo "list files jobid=11" | bconsole | grep "home"
.....
| /home/                                                                             |
.....

Similarly, /srv and /var/log have been skipped.

Has anyone come upon this before, and how would i get around this please?

Director Bacula version : 5.2.12
Director OS : CentOS release 5.6 x86_64 with kernel 2.6.18-238.12.1.el5xen
Director SELinux status : Permissive
Director libc info :
$ /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
Compiled on a Linux 2.6.9 system on 2011-06-27.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
Thread-local storage support included.

Client Bacula version : 5.2.12
Client OS : CentOS release 6.3 x86_64 with kernel 2.6.32-279.5.2.el6.x86_64
Client SELinux status : Permissive
Client libc info:
$ /lib64/libc.so.6
GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.6 20120305 (Red Hat 4.4.6-4).
Compiled on a Linux 2.6.32 system on 2012-08-27.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
libc ABIs: UNIQUE IFUNC

Many thanks,

Viv Diwakar

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
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>