> On Monday 11 September 2006 20:21, Jo Rhett wrote: >> ANALYSIS: So.. the volume's usage period is being determined not by >> when it was first written to, but instead by the start time of the >> first job that wrote to it. >> >> Is this behavior known? Is it fixed in current? Obviously it's not >> a crucial flaw, but if its decided not to fix it then it should be >> documented.
On Sep 12, 2006, at 3:13 AM, Kern Sibbald wrote: > All pruning is based on the termination time of the Job concerned > not the > start time of the job. > > The manual was not very explicit on this, so I have made it so. > Note, in a > few exceptional cases (Bacula crashes between the time the job > starts and the > job terminates), the "End time" of the job will be set to the start > time of > the Job. Any job that is correctly terminated by Bacula (normal, > warning, > error, fail, ...) will have the End time set correctly. I hate to argue, but here's the facts in this case: 1. Started at 11:05 2. Didn't get resources until 23:09 3. Finished OK And yet, the volume stops being usable at exactly 11:05 the next morning. 10-Sep 11:05 backup0-dir: Start Backup JobId 258, Job=hostname.client.com.2006-09-10_11.05.00 10-Sep 11:05 backup0-dir: Max configured use duration exceeded. Marking Volume "clients-0003" as Used. 10-Sep 11:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 11:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 11:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 11:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "Dev_clients" (/bacula/clients) Media type: File_clients Pool: clients_Pool 10-Sep 12:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 12:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "Dev_clients" (/bacula/clients) Media type: File_clients Pool: clients_Pool 10-Sep 14:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 14:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "Dev_clients" (/bacula/clients) Media type: File_clients Pool: clients_Pool 10-Sep 18:05 backup0-dir: Pruning oldest volume "clients-0004" 10-Sep 18:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "Dev_clients" (/bacula/clients) Media type: File_clients Pool: clients_Pool 10-Sep 22:08 backup0-dir: Recycled volume "clients-0004" 10-Sep 22:08 backup0-sd: Recycled volume "clients-0004" on device "Dev_clients" (/bacula/clients), all previous data lost. 10-Sep 23:09 backup0-dir: Bacula 1.38.5 (18Jan06): 10-Sep-2006 23:09:58 JobId: 258 Job: hostname.client.com.2006-09-10_11.05.00 Backup Level: Incremental, since=2006-09-09 11:05:01 Client: "hostname.client.com-fd" i386-portbld- freebsd6.1,freebsd,6.1-STABLE FileSet: "hostname.client.com-fileset" 2006-07-09 09:03:40 Pool: "clients_Pool" Storage: "Disk_clients" Scheduled time: 10-Sep-2006 11:05:00 Start time: 10-Sep-2006 11:05:01 End time: 10-Sep-2006 23:09:58 Priority: 10 FD Files Written: 699,861 SD Files Written: 699,861 FD Bytes Written: 5,540,243,949 SD Bytes Written: 5,636,912,236 Rate: 127.4 KB/s Software Compression: None Volume name(s): clients-0004 Volume Session Id: 240 Volume Session Time: 1156008818 Last Volume Bytes: 5,665,530,747 Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK 10-Sep 23:09 backup0-dir: Begin pruning Jobs. 10-Sep 23:09 backup0-dir: No Jobs found to prune. 10-Sep 23:09 backup0-dir: Begin pruning Files -- Jo Rhett senior geek Silicon Valley Colocation ------------------------------------------------------------------------- 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 Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users