Hi,

I have read and tried to understand "File Deduplication" :
http://www.bacula.org/en/dev-manual/main/main/File_Deduplication_using_Ba.html

But it is not working :
# - POOL: base -----
Pool {
  Name                    = base_backup
  Pool Type               = Backup

  Storage                 = storage

  UseVolumeOnce           = yes
  Maximum Volume Jobs     = 1
  Volume Use Duration     = 10 hours

  Volume Retention        = 1 month
  Recycle Oldest Volume   = yes

  Label Format            =
"${Job}.${Level:p/4/B/r:l}.${JobId}.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

# - POOL: full -----
Pool {
  Name                    = full_backup
  Pool Type               = Backup

  Storage                 = storage

  UseVolumeOnce           = yes
  Maximum Volume Jobs     = 1
  Volume Use Duration     = 10 hours

  Volume Retention        = 6 days
  Recycle Oldest Volume   = yes

  Label Format            =
"${Job}.${Level:p/4/F/r:l}.${JobId}.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

# - POOL: incr -----
Pool {
  Name                    = incr_backup
  Pool Type               = Backup

  Storage                 = storage

  UseVolumeOnce           = yes
  Maximum Volume Jobs     = 1
  Volume Use Duration     = 10 hours

  Volume Retention        = 6 days
  Recycle Oldest Volume   = yes

  Label Format            =
"${Job}.${Level:p/4/I/r:l}.${JobId}.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}


# - JOB: base -----
Job {
  Name                     = base_job
  Type                     = Backup
  Level                    = Base

  Client                   = server_one

  FileSet                  = fs_generic
  Schedule                 = 00_base

  Pool                     = base_backup

  Max Run Time             = 5 hours

  Reschedule On Error      = yes
  Reschedule Interval      = 1 hours

# Client Run Before Job    = "bash -c '/usr/local/bin/dump_bacula.sh'"

  Messages                 = Standard
}

# - JOB: cycle ----
Job {
  Name                     = full_job
  Type                     = Backup
  Level                    = Incremental

  Client                   = server_one
  Base                     = full_job, base_job
  Accurate                 = yes

  FileSet                  = fs_generic
  Schedule                 = 00_full_incr

  Pool                     = incr_backup

  Full Backup Pool         = full_backup
  Incremental Backup Pool  = incr_backup

  Max Run Time             = 5 hours

  Reschedule On Error      = yes
  Reschedule Interval      = 1 hours

  Messages                 = Standard
}


Schedule {
  Name = "00_full_incr"
  Run  = Level=Full            mon at 23:00
  Run  = Level=Incremental     tue at 14:30
  Run  = Level=Incremental     wed at 14:30
  Run  = Level=Full            thu at 23:00
  Run  = Level=Incremental     fri at 14:30
  Run  = Level=Incremental     sat at 14:30
  Run  = Level=Full            sun at 23:00
}

Schedule {
  Name =  "00_base"
  Run  = Level=Full        1st mon at 23:00
}


FileSet {
  Name = "fs_generic"
  Include {
    Options {
      signature        = SHA1
      basejob          = pmugcs1
      accurate         = mcs
      verify           = pin1
      onefs            = no
      checkfilechanges = yes
    }
    File = /etc
    File = /root
    File = /usr/local
    File = /var/backups
    File = /var/spool/cron
  }
  Exclude {
    File = .snapshot
    File = .journal
    File = .fsck
  }
}


Base and Full are the same size. I can not find a sample configuration and the
explanatory page is succinct.
Can you help me ?

Thanks in advance.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to