Re: [Bacula-users] [Bacula-devel] Fwd: Unlimited Retention

2008-10-25 Thread LeJav
I have tried the patch with success. I can now set a retention of 100 years ! he is the trace for 38 years: fn-archnfs-dir: ua_prune.c:208-0 select now=1224854259 period=1198368000 sql=SELECT count(*) from Job WHERE JobTDate<26486259 AND ClientId=1 AND PurgedFiles=0 and now for 100 years, the di

Re: [Bacula-users] [Bacula-devel] Fwd: Unlimited Retention

2008-10-23 Thread Kern Sibbald
Yes, this looks like an oversight on my part. The editing was done unsigned and it should have used signed numbers. I've attached a patch to this email that should correct the problem. I have compiled the patch, but have not explicitly tested it with a long retention period, so feedback would