Bacula-users

[Bacula-users] Help with file retention please

2010-09-14 09:58:04
Subject: [Bacula-users] Help with file retention please
From: Mark Stiebel <mark AT froop DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 14 Sep 2010 23:54:22 +1000
Hi all,
Can someone please help me figure why my catalog file retention only seems to be 14 days. What I am hoping for, is that the weekly backup jobs should auto-prune after 15 days, and the file retention to also be 15 days. Monthly jobs should auto-prune after 65 days, likewise their file retention. Yearly backups same thing but kept for 370 days.

From what I understand from the manual, the retention may be shortened by other configurations, but I can't figure out what's shortening it!

JobDefs {
  Name = "DefaultJob"
  Client = "fs-fd"
  Type = Backup
  Level = Incremental
  Schedule = "MonthlyCycle"
  Storage = usbchanger
  Messages = Standard
  Pool = MonthlyRotation
  Priority = 10
  Write Bootstrap = "/opt/local/var/bacula/working/%c.bsr"
}

Job {
  Name = "Marks Documents"
  Client = bint-fd
  JobDefs = "DefaultJob"
  Fileset = "Marks_Documents"
  Schedule = "MonthlyCycle"
}

Client {
  Name = bint-fd
  Address = bint.home
  FDPort = 9102
  Catalog = MainCatalog
  Password = "secret"
  File Retention = 370 days            # 1 year
  Job Retention = 370 days            # 1 year
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Schedule {
  Name = "MonthlyCycle"
  Run = Level=Full Pool=YearlyRotation 1st mon at 02:00
  Run = Level=Differential Pool=WeeklyRotation 2nd-5th sun at 23:05
  Run = Level=Incremental Pool=WeeklyRotation mon-sat at 23:05
}

# File Pool definition
Pool {
  Name = WeeklyRotation
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 15 days          # Just over two weeks
  File Retention = 15 days            # Just over two weeks
  Maximum Volume Bytes = 5G           # Limit Vol size to something reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
}

# File Pool definition
Pool {
  Name = MonthlyRotation
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 65 days          # Just over two months
  File Retention = 65 days            # Just over two months
  Maximum Volume Bytes = 5G           # Limit Vol size to something reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
}

Pool {
  Name = YearlyRotation
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 370 days         # one year
  File Retention = 370 days           # one year
  Job Retention = 370 days            # one year
  Maximum Volume Bytes = 5G           # Limit Vol size to something reasonable
  Maximum Volumes = 50                # Limit number of Volumes in Pool
}


-= Mark
 -= mark AT froop DOT net
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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>