Hello all; I've been using Bacula for about a year now to back up some linux machines using RAID disk storage instead to tape and all has been working great.
I upgraded some months ago to 1.34.6 and all seemed to go well. I used the DB upgrade script when I upgraded. However, I had to restart my server last week and when the bacula-sd tried to start it would stop with an error message saying: bacula-dir: Fatal error: Version error for database "bacula". Wanted 7, got 6 bacula-dir: Fatal error: Version error for database "bacula". Wanted 7, got 6 bacula-dir: Fatal error: Could not open database "bacula". bacula-dir: Fatal error: Version error for database "bacula". Wanted 7, got 6 bacula-dir ERROR TERMINATION I went into the postgres bacula database and changed the versionid to 7 as in: bacula=# update version set versionid = 7; And now the director will start and backups will run but when I go to label a new volume I get the following message: *label Automatically selected Storage: File Enter new Volume name: Vol_34 Automatically selected Pool: Default Connecting to Storage daemon File at acsbackup.arinc.com:9103 ... Sending label command for Volume "Vol_34" Slot 0 ... 3000 OK label. Volume=Vol_34 Device=/mnt/raid0/ sql_create.c:279 Create DB Media record INSERT INTO Media (VolumeName,MediaType,PoolId,MaxVolBytes,VolCapacityBytes,Recycle,VolRet ention,VolUseDuration,MaxVolJobs,MaxVolFiles,VolStatus,Slot,VolBytes,InC hanger,VolReadTime,VolWriteTime) VALUES ('Vol_34','File',2,0,0,0,47347200,604800,0,0,'Append',0,1,1,0,0) failed. ERR=ERROR: ExecInsert: Fail to add null value in not null attribute endfile Do not forget to mount the drive!!! Any help would be appreciated. -Kevin Traub ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users