]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/kernstodo
Fix Verify InitCatalog by making it cache attributes.
[bacula/bacula] / bacula / kernstodo
index f2f1b8fac8391e5d61f1c5fbfa6216d3e40b320a..1be1e77cea37c6ff531356b922ac53a4a4f3da0b 100644 (file)
@@ -1,5 +1,5 @@
                     Kern's ToDo List
-                     08 May 2007
+                     12 May 2007
 
 
 Document:
@@ -48,12 +48,13 @@ Professional Needs:
 - Detect state change of system (verify)
 
 Priority:
+- Implement update jobid=
+- Mention Eric and Marc's work + Marc's doc.
 - Add TLS to bat
 - When Pool specifies Storage command override does not work.
 - Implement wait_for_sysop() message display in wait_for_device(), which
   now prints warnings too often.
 
-- Add Where: client:/.... to restore job report.
 - Ensure that each device in an Autochanger has a different
   Device Index.
 - Add Catalog = to Pool resource so that pools will exist
@@ -95,6 +96,20 @@ Priority:
    
 
 Projects:
+- Average tape size from Eric
+    SELECT COALESCE(media_avg_size.volavg,0) * count(Media.MediaId) AS volmax,                                                              GROUP BY Media.MediaType, Media.PoolId, media_avg_size.volavg
+           count(Media.MediaId)  AS volnum,
+           sum(Media.VolBytes)   AS voltotal,
+           Media.PoolId          AS PoolId,
+           Media.MediaType       AS MediaType
+    FROM Media
+    LEFT JOIN (SELECT avg(Media.VolBytes) AS volavg,
+                      Media.MediaType     AS MediaType
+               FROM Media
+              WHERE Media.VolStatus = 'Full'
+              GROUP BY Media.MediaType
+               ) AS media_avg_size ON (Media.MediaType = media_avg_size.MediaType)
+    GROUP BY Media.MediaType, Media.PoolId, media_avg_size.volavg
 - GUI
   - Admin
   - Management reports
@@ -1701,3 +1716,5 @@ Block Position: 0
   specified Pool, Full Backup Pool. and Differential Backup Pool. but 
   apparently not.  This  happened when I removed the pool directive and 
   started the director.
+- Add Where: client:/.... to restore job report.
+