-- 
This is what you said John Kodis
> On Mon, Apr 24, 2006 at 06:50:33PM -0700, Scott Ruckh wrote:
>
>> I think I have found the culprit, /var/log/lastlog .  It is a sparse
>> file and appears to be 1.2TB, which is way larger then the total
>> space of the filesystem, In reality, this file only uses 64K of
>> actual used disk space, but I am guessing bacula sees it as a 1.2TB
>> file.
>
> In the olden days, prior to the wide-spread use of 64 bit computers,
> Unix user IDs were 32 bit integers, and the lastlog file had an entry
> for each one.  There were few enough that the bit of wasted space
> didn't matter.  At some point, Red Hat changed user IDs to 64 bit
> integers on 64 bit platforms, and since the lastlog file still had an
> entry for each one, there were now so many user IDs that the wasted
> space does matter, bloating the lastlog file to 1.2TB as you've noted.
> They've corrected this problem in recent releases of their
> distribution.
>
>     $ uname -p
>     x86_64
>     $ ls -l /var/log/lastlog
>     -r--------  1 root root 11390920 Apr 25 07:49 /var/log/lastlog


I am not sure my FileSet is correct (see below), but it "sort-of" worked. 
The backup still took 3 hours longer then if I completely excluded
/var/log/lastlog.

FileSet {
  Name = "Firewall Full"

  Include {
    Options {
      signature = MD5
      sparse = yes
      compression = GZIP
    }
    File = /var/log/lastlog
  }

  Include {
    Options {
      compression = GZIP
      signature = MD5
    }
    File = /
    File = /boot
    File = /home
  }

  Include {
    Options {
      compression = GZIP
      signature = MD5
      wildfile = "/var/log/lastlog"
      Exclude = yes
    }
    File = /var
  }

  Exclude {
    File = /proc
    File = /tmp
    File = /sys
    File = dev
    File = /.journal
    File = /.fsck
    File = /mnt
    File = /var/spool/squid
    File = /BACKUPS
  }
}

The good news is the backup only took about 13GB of space as opposed to
the 205GB of space it had gobbled up before I had to cancel the job.  The
bad news is that this backup is 3 hours longer then running the backup and
just excluding /var/log/lastlog.

Does the above FileSet look correct for what I am trying to accomplish?

Thanks for the help.

Scott


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to