Dear all

as I do not yet understand the whole picture fully, let me show you what I 
currently have as a pruning job.
Will the job as defined below actually prune all volumes for all pools that I 
have? If possibly not, what would I need to do? Would I need a prune job for 
each pool?

Thank you for your time,
 JC

Job {
  Name = "Pruning"
  Description = "Prune all expired volumes"
  Type = "Admin"
  Schedule = "EveryNight"
  JobDefs = "DefaultJob"
  PruneJobs = yes
  PruneFiles = yes
  PruneVolumes = yes
  Runscript {
    RunsWhen = "Before"
    RunsOnClient = no
    Console = "prune expired volume yes"
  }
  Priority = 12
  AllowDuplicateJobs = no
}
JobDefs {
  Name = "DefaultJob"
  Type = "Backup"
  Level = "Incremental"
  Messages = "Standard"
  Storage = "unraid-tier1-storage"
  Pool = "Default"
  Client = "bacula-fd"
  Fileset = "EmptyFileset"
  WriteBootstrap = "/opt/bacula/working/%c.bsr"
  MaxFullInterval = 2678400
  SpoolAttributes = yes
  Priority = 10
  AllowIncompleteJobs = no
  AllowDuplicateJobs = no
}
Fileset {
  Name = "EmptyFileset"
  EnableVss = no
}
bacula-dir JobId 32: End auto prune.
bacula-dir JobId 32: No Files found to prune.
bacula-dir JobId 32: Begin pruning Files.
bacula-dir JobId 32: No Jobs found to prune.
bacula-dir JobId 32: Begin pruning Jobs older than 6 months .
bacula-dir JobId 32: Bacula 11.0.5 (03Jun21): 16-Mar-2022 21:58:33
  JobId:                  32
  Job:                    Pruning 
<http://172.20.60.50:9095/web/job/Pruning>.2022-03-16_21.58.31_58
  Scheduled time:         16-Mar-2022 21:58:31
  Start time:             16-Mar-2022 21:58:33
  End time:               16-Mar-2022 21:58:33
  Termination:            Admin OK
bacula-dir JobId 32: Start Admin JobId 32, Job=Pruning.2022-03-16_21.58.31_58
bacula-dir JobId 32: console command: run BeforeJob "prune expired volume yes"

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

Reply via email to