I have a pool, called SemanalPar, and some jobs and volumes 
associated with this pool:

Pool {
  Name = SemanalPar
  Pool Type = Backup
  AutoPrune = yes
  VolumeRetention = 1 year
  Recycle = yes
  Cleaning Prefix = CLN
}


Client with use this Pool:

Client {
  Name = nix-fd
  Address = nix.ucs.br
  FDPort = 9102
  Catalog = MyCatalog
  Password = "XXXXXXXXXXXXXXXXXXXXXx"
  File Retention = 365 days
  Job Retention = 60 months
  AutoPrune = yes
  Maximum Concurrent Jobs = 1
}


Job:

Job {
  Name = "NixJob"
  Type = Backup
  Level = Differential
  Client = nix-fd
  FileSet = "Set Nix"
  Schedule = "Ciclo"
  Storage = Autoloader-1
  Messages = Standard
  Pool = DiarioImpar
  Priority = 7
  Write Bootstrap = "/var/bacula/Nix.bsr"
  SpoolData = yes
  Spool Attributes = yes
  Maximum Concurrent Jobs = 3
}


Schedule:

Schedule {
  Name = "Ciclo"
  Run = Level=Full Storage=Autoloader-1 Pool=SemanalPar 2nd sat at 18:00
  Run = Level=Full Storage=Autoloader-1 Pool=SemanalPar 4th sat at 18:00
}


List volumes show:

Pool: SemanalPar
+---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes        | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten         |
+---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      14 | PHG188L2   | Append    |  43,761,455,445 |       43 |    
2,592,000 |       1 |   10 |         1 | LTO       | 2006-08-13 12:59:38 |
|      32 | QVD018L2   | Full      | 301,483,430,639 |      308 |    
2,592,000 |       1 |    9 |         1 | LTO       | 2006-07-22 20:12:41 |
|      47 | QVD027L2   | Purged    | 197,848,381,701 |      208 |    
2,592,000 |       1 |   11 |         1 | LTO       | 2006-07-08 18:03:33 |
|      57 | PHG185L2   | Purged    |  90,256,217,485 |       91 |    
2,592,000 |       1 |   12 |         1 | LTO       | 2006-07-10 13:45:13 |
|      62 | QVD033L2   | Full      | 315,390,199,636 |      318 |    
2,592,000 |       1 |   13 |         1 | LTO       | 2006-08-13 12:19:58 |
|      74 | QVD038L2   | Full      | 330,392,519,543 |      334 |    
2,592,000 |       1 |   14 |         1 | LTO       | 2006-07-25 23:31:47 |
+----


I received this message:

11-Aug 18:50 bacula-dir: Pruned 12 Jobs on Volume "QVD027L2" from catalog.
11-Aug 18:50 bacula-dir: There are no Jobs associated with Volume 
"QVD027L2". Marking it purged.


Why this volume was purged, only 1 month after the last backup in this 
volumes, maked in 2006-07-08 18:03:33 ???? I configure to retain files 
for 365 days and jobs for 60 months !!

What I made is wrong ? The volume retention is defined only when volume 
is labeled, I can't change after labeled volume ?

-- 
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
NĂșcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to