 Index: src/dird/job.c
 ===================================================================
---- src/dird/job.c	(révision 8431)
-+++ src/dird/job.c	(copie de travail)
+--- src/dird/job.c	(revision 8431)
++++ src/dird/job.c	(working copy)
 @@ -860,6 +860,7 @@
     jcr->jr.JobStatus = jcr->JobStatus;
     jcr->jr.JobFiles = jcr->JobFiles;

 PRAGMA default_cache_size = 100000;
Index: src/cats/cats.h
===================================================================
--- src/cats/cats.h	(révision 8431)
+++ src/cats/cats.h	(copie de travail)
@@ -88,7 +88,7 @@
 #if defined(BUILDING_CATS)
 #ifdef HAVE_SQLITE

+   );
+CREATE INDEX inx6 ON Job (Name);
+
+INSERT INTO Job (JobId, Job, Name, Type, Level, ClientId, JobStatus,
+SchedTime, StartTime, EndTime, RealEndTime, JobTDate, VolSessionId,
+VolSessionTime, JobFiles, JobBytes, JobErrors, JobMissingFiles,
+PoolId, FileSetId, PriorJobId, PurgedFiles, HasBase) SELECT
+JobId, Job, Name, Type, Level, ClientId, JobStatus, SchedTime, StartTime,
+EndTime, RealEndTime, JobTDate, VolSessionId, VolSessionTime, JobFiles,
+JobBytes, JobErrors, JobMissingFiles, PoolId, FileSetId, PriorJobId,
+PurgedFiles, HasBase FROM Job_backup;
+
+DROP TABLE Job_backup;
+
+
+UPDATE Version SET VersionId=11;
+COMMIT;
+
+BEGIN TRANSACTION;
 CREATE TABLE JobHistory (
    JobId INTEGER,
    Job VARCHAR(128) NOT NULL,
@@ -35,6 +85,7 @@
    VolSessionTime INTEGER UNSIGNED DEFAULT 0,
    JobFiles INTEGER UNSIGNED DEFAULT 0,
    JobBytes BIGINT UNSIGNED DEFAULT 0,
+   ReadBytes BIGINT UNSIGNED DEFAULT 0,
    JobErrors INTEGER UNSIGNED DEFAULT 0,
    JobMissingFiles INTEGER UNSIGNED DEFAULT 0,
    PoolId INTEGER UNSIGNED REFERENCES Pool DEFAULT 0,
@@ -46,8 +97,6 @@
    );
 CREATE INDEX inx61 ON JobHistory (Name);
 
-UPDATE Version SET VersionId=11;
-
 COMMIT;
 
 END-OF-DATA
Index: src/cats/make_postgresql_tables.in
===================================================================
--- src/cats/make_postgresql_tables.in	(revision 8431)
+++ src/cats/make_postgresql_tables.in	(working copy)
@@ -29,7 +29,7 @@
 
 CREATE TABLE file
