Bacula-users

Re: [Bacula-users] Job and File prune

2015-04-30 15:51:38
Subject: Re: [Bacula-users] Job and File prune
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Marcio Costa <marciofoz AT gmail DOT com>
Date: Thu, 30 Apr 2015 16:49:12 -0300
Hi Marcio,

Sorry, I make a mistake here. You can have job and file retentions less than volume retention. In this case, you will not be able to restore individual files/directories using the restore bconsole command / directory tree navigation. Maybe your problem is in your schedule and retention times configurations.
Bacula will not prune incremental jobs until next full. Maybe you need to adjust your retention times for jobs, files and volumes and also your schedule for full and incremental jobs.

Best regards,
Ana

On Thu, Apr 30, 2015 at 11:13 AM, Ana Emília M. Arruda <emiliaarruda AT gmail DOT com> wrote:
Hello Marcio,

Which value do you have for "volume retention" period? Bacula will not prune jobs if the volume retention period had expired.

Best regards,
Ana

On Thu, Apr 30, 2015 at 10:16 AM, Marcio Costa <marciofoz AT gmail DOT com> wrote:
Hello guys.

I have doubts about my retention time.  How you can see, file and job retention time have the same value (10 days).

show job="bkp-ipava-data"
Job: name=bkp-ipava-data JobType=66 level=Incremental Priority=10 Enabled=1
     MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=1
     Accurate=0
  --> Client: name=bkp-ipava-data-fd address=10.80.5.4 FDport=9102 MaxJobs=1
      JobRetention=10 days  FileRetention=10 days  AutoPrune=1


After all jobs runing, I see this prune msg:

2015-04-29 23:45:17   director_2 JobId 2056: Begin pruning Jobs older than 10 days .
2015-04-29 23:45:17   director_2 JobId 2056: No Jobs found to prune.
2015-04-29 23:45:17   director_2 JobId 2056: Begin pruning Files.
2015-04-29 23:45:17   director_2 JobId 2056: Pruned Files from 2 Jobs for client bkp-ipava-data-fd from catalog.
2015-04-29 23:45:17   director_2 JobId 2056: End auto prune.

But I still seeing older jobs (last lines removed):

list job=bkp-ipa-data
+-------+--------------+---------------------+------+-------+----------+---------------+-----------+
| JobId | Name         | StartTime           | Type | Level | JobFiles | JobBytes      | JobStatus |
+-------+--------------+---------------------+------+-------+----------+---------------+-----------+
|     4 | bkp-ipa-data | 2015-04-02 12:15:00 | B    | F     |       40 | 1,457,340,082 | T         |
|    65 | bkp-ipa-data | 2015-04-02 23:45:03 | B    | I     |        7 |   272,944,248 | T         |
|    70 | bkp-ipa-data | 2015-04-03 12:15:01 | B    | I     |        4 |    91,053,926 | T         |
|   131 | bkp-ipa-data | 2015-04-03 23:45:03 | B    | I     |        7 |   269,188,272 | T         |
|   136 | bkp-ipa-data | 2015-04-04 12:15:00 | B    | I     |        4 |    89,648,234 | T         |
|   253 | bkp-ipa-data | 2015-04-04 23:45:01 | B    | I     |        7 |   266,419,116 | T         |
|   258 | bkp-ipa-data | 2015-04-05 12:15:00 | B    | I     |        4 |    87,528,151 | T         |
|   319 | bkp-ipa-data | 2015-04-05 23:45:00 | B    | I     |        7 |   262,430,747 | T         |
|   324 | bkp-ipa-data | 2015-04-06 12:15:01 | B    | I     |        4 |    89,773,856 | T         |
|   383 | bkp-ipa-data | 2015-04-06 23:45:00 | B    | I     |        7 |   269,536,959 | T         |
|   388 | bkp-ipa-data | 2015-04-07 12:15:01 | B    | I     |        4 |    91,672,088 | T         |
|   447 | bkp-ipa-data | 2015-04-07 23:45:02 | B    | I     |        7 |   280,260,251 | T         |
|   452 | bkp-ipa-data | 2015-04-08 12:15:01 | B    | I     |        4 |    94,924,092 | T         |

Its correct ?  I think that jobs with more than 10 days must be removed too from the catalog ...

Thank you

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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>