]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/kernstodo
ebl Fix a segfault when VolStatus NOT IN (Append, Full, Used, Error)
[bacula/bacula] / bacula / kernstodo
index f2f1b8fac8391e5d61f1c5fbfa6216d3e40b320a..d95512c804f78b714a60a2f7a53636cb29d9d2d1 100644 (file)
@@ -1,5 +1,5 @@
                     Kern's ToDo List
-                     08 May 2007
+                     12 May 2007
 
 
 Document:
@@ -48,12 +48,17 @@ Professional Needs:
 - Detect state change of system (verify)
 
 Priority:
+- How does restore JobId=nnn work? (Dirk)
+- What does: restore select fileset="TestSet" client="workplay-fd" pool="Default"
+> storage="File2"  before="2007-02-05 23:05:04" do?  (Dirk)
+
+- 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 +100,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 +1720,4 @@ 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.