Bacula-users

Re: [Bacula-users] Problems with De-Duplication

2015-08-19 09:43:09
Subject: Re: [Bacula-users] Problems with De-Duplication
From: Heitor Faria <heitor AT bacula.com DOT br>
To: "E.L.L. Assoua" <ellassoua AT gmail DOT com>
Date: Wed, 19 Aug 2015 10:41:16 -0300 (BRT)
Could you check out my configuration?
I do not normally do that since it's consultancy and you will probably wont create more synapses. =)
Anyway it goes:
I've configured De-duplication on a Bacula 7.0.5.9 - CentOS 7 ( client-fd is version 5.2 - Windows 8.1 Pro x64 ) with the following properties:
A specific Pool for the base volumes:

Pool {
  Name = BaseJobs
  Pool Type = Backup
  Label Format = "${Level}-${Job}-${Day}-${Month}-${Year}-${Hour:p/2/0/r}${Minute:p/2/0/r}${Second:p/2/0/r}"
  Use Volume _Once_ = yes
}

The specific FileSet for the base job:

FileSet {
  Name = "BaseFileSet_Windows8.1"
  Enable VSS = yes
  Include {
    Options {
You must have at the fileset options:

       BaseJob  = pmugcs5
       Accurate = mcs
       Verify   = pin5
      signature = MD5
      compression = GZIP
      }
    File = C:/Windows/
  }
}

The base job:

Job {
  Name = "BaseJob_Windows8.1"
  Type = Backup
  Level = Base
  Client = tom-helpdesk-fd
  FileSet = BaseFileSet_Windows8.1
  Pool = BaseJobs
  Storage = ns-bacula-sd
  Messages = Standard
}

The JobDefs for the full backup job:

JobDefs {
  Name = "Windows_Backup"
  Type = Backup
  Level = Full
  FileSet = "Windows FileSet"
  Messages = Standard
  SpoolAttributes = yes
  Priority = 10
  Write Bootstrap = "/var/spool/bacula/%c.bsr"
  Storage = ns-bacula-sd
}

The full backup job:

Job {
  Name = "FrankPC-Backup"
  JobDefs = "Windows_Backup"
You must have the directive here:
   Accurate = yes
  Base = "BaseJob_Windows8.1"
To the magic happen you must compare the base job to the job itself, between commas:

Base ="FrankPC-Backup", "BaseJob_Windows8.1"
  Client = tom-helpdesk-fd
  Schedule = "FrankPC_Backup"
  Pool = RegularBackups
}

The client

Client {
  Name = tom-helpdesk-fd
  Address = 10.13.37.103
  FDPort = 9102
  Catalog = MyCatalog
  Password = "~XXXXXXX"          # password for FileDaemon
  File Retention = 60 days            # 60 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files

}
Source: http://www.bacula.com.br/manual/File_Deduplication_using_Ba.html

Beste regard,

Luc Assoua

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users