Bacula-users

Re: [Bacula-users] HELP: Need to compare on-disk and catalog hashes

2008-11-19 12:44:13
Subject: Re: [Bacula-users] HELP: Need to compare on-disk and catalog hashes
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Wed, 19 Nov 2008 17:42:02 +0000 (GMT)
On Wed, 19 Nov 2008, Martin Simmons wrote:

> > Can anyone assist on this?
>
> It should compare the signatures (aka file hashes) if configured to do so.

You'd think so, but all I get is "new" or "removed"

> What signature and verify options are you using for the fileset?

Here's an example

FileSet {
  Name = "FooBar"
  Ignore fileset changes = yes
  Include {
    Options {
      aclsupport=yes
      ignore case = yes
      sparse = yes
      noatime=yes
        exclude = yes
        regexdir = "te?mp"
        regexdir = "temporary"
        regexdir = "nobackup.*"
        regexdir = "scratch.*"
        regexdir = ".*cache.*"
        regexdir = ".*/idfs_promoted.*"
        wildfile = "*.bkf"
        wildFile = "*/aquota.group"
        wildFile = "*/aquota.user"
        wildFile = "*/quota.group"
        wildFile = "*/quota.user"
        wildFile = "*/pagefile.sys"
        wildFile = "*/hiber.sys"
        wildFile = "*/core.*"
        wildFile = "*/core"
      signature=SHA1
      onefs = yes
    }
    File = /stage/foobar
  }
}
Job {
  Name = "FooBar"
  Client Run Before Job = "checkmount.sh /stage/xray7/.I_am_FooBarr"
  client = Frobuzz-fd
  JobDefs = "DefaultJob"
  Fileset = "FooBar"
  Schedule = "Med-churnCycle6"
  Write Bootstrap = "/var/bacula/bootstraps/FooBar-Bootstrap.bsr"
  Pool = Med-churnPool
}

Job {
  Name = "verify"
  Type = Verify
  Level = Catalog
  Client=Fnargle-fd
  FileSet="Full Set"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /var/bacula/restores
  Schedule = "Manual"
  Maximum Concurrent Jobs = 6
}

When verify is run by hand, I've been changing the client and Fileset
manually, with level changed to "disktocatalog"


-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users