I tested again and both differential and incremental jobs are always
pruned correctly according to retention periods, but not full jobs. I
tried winding the system clock forwards a couple of years just in case,
but it made no difference. It seems like this is a bug, the
documentation doesn't mention any special case about pruning/retention
of full jobs.
Regards,
Phil
Phil Gleghorn wrote:
> Hi all,
>
> (Apologies if this is a duplicate, my first post
> didn't come through.)
>
> I am testing a short job retention period (minutes) on
> a client, but only incremental jobs are being removed
> when I prune, the full jobs remain. This is the same
> whether the prune is done manually in the console or
> automatically at the end of a job. I get this in my
> production setup which is 1,36.3-1 and the 1.39.20
> beta. Does anyone have a workaround to this?
>
> My client config is:
>
> Client {
> Name = oddball-fd
> Address = oddball.nl.fatwire.com
> FDPort = 9102
> Catalog = MyCatalog
> Password = "bacula" # password for
> FileDaemon
> File Retention = 30 days # 30 days
> Job Retention = 10 minutes
> AutoPrune = yes # Prune expired
> Jobs/Files
> }
>
> *list clients
> +----------+-----------------+---------------+--------------+
> | clientid | name | fileretention |
> jobretention |
> +----------+-----------------+---------------+--------------+
> ...
> | 2 | oddball-fd | 2,592,000 |
> 600 |
>
> Client: name=oddball-fd address=oddball.nl.fatwire.com
> FDport=9102 MaxJobs=1
> JobRetention=10 mins FileRetention=1 month
> AutoPrune=1
> --> Catalog: name=MyCatalog address=*None* DBport=0
> db_name=bacula
> db_user=bacula MutliDBConn=0
>
> *list jobs
> ...
> | 3 | jobBackupOddball | 2006-08-29 00:20:58
> | B | F |
> | 15 | jobBackupOddball | 2006-08-31 14:47:31
> | B | I |
>
> *time
> 31-Aug-2006 14:57:32
> *prune
> You have the following choices:
> 1: Files
> 2: Jobs
> 3: Volume
> Choose item to prune (1-3): 2
> The defined Client resources are:
> 1: mercury-fd
> 2: oddball-fd
> Select Client (File daemon) resource (1-2): 2
> The current Job retention period is: 10 mins
> Continue? (yes/mod/no): yes
> Pruned 1 Job for client oddball-fd from catalog.
> *list jobs
> | 3 | jobBackupOddball | 2006-08-29 00:20:58
> | B | F |
>
> Most other config is default (pool, etc) from the beta
> kit.
>
> Regards,
> Phil
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.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
-------------------------------------------------------------------------
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