Timo Neuvonen wrote: >> I had upgraded the OS from debian etch to debian lenny yesterday. I was >> successfully running a build from backports.org >> which seems verrrry close to the lenny package. >> >> After the aptitude update && aptitude safe-upgrade bacula does not seem to >> be using my previous bacula db. The db exists, >> and i was able to browse the tables and verify all is still there (with >> phpmyadmin). I have also verified that the db config >> is correct /etc/bacula/bacula-dir.conf. >> >> Any ideas why bacula isn't seeing the previous db info? (eg job history, >> volumes, etc. etc) >> >> hostname:~/bacula# grep user /etc/bacula/bacula-dir.conf >> dbname = bacula; DB Address = "127.0.0.1"; user = bacula; password = >> XXXXXXX >> >> >> # Versions prior to upgrade >> bacula-director-mysql/etch uptodate 2.4.4-1~bpo40+1 >> bacula-client/etch uptodate 2.4.4-1~bpo40+1 >> bacula-console-qt/etch uptodate 2.4.4-1~bpo40+1 >> bacula-sd/etch uptodate 2.4.4-1~bpo40+1 >> bacula-fd/etch uptodate 2.4.4-1~bpo40+1 >> bacula-sd-mysql/etch uptodate 2.4.4-1~bpo40+1 >> bacula-director-common/etch uptodate 2.4.4-1~bpo40+1 >> bacula-common/etch uptodate 2.4.4-1~bpo40+1 >> bacula-doc/etch uptodate 1.38.11.1-3 >> bacula-server/etch uptodate 2.4.4-1~bpo40+1 >> bacula-console/etch uptodate 2.4.4-1~bpo40+1 >> >> >> # Versions after upgradebacula/lenny uptodate 2.4.4-1 >> bacula-client/lenny uptodate 2.4.4-1 >> bacula-common/lenny uptodate 2.4.4-1 >> bacula-console/lenny uptodate 2.4.4-1 >> bacula-director-common/lenny uptodate 2.4.4-1 >> bacula-director-sqlite3/lenny uptodate 2.4.4-1 > > I don't know anything about debian or debian-spesific bacula packages, but > the package name above made me wonder if your bacula installation tries to > use the correct database at all? Before upgrade there were only > mysql-related packages, but now you have a bacula director package that > smells a little bit of sqlite? > > >> bacula-fd/lenny uptodate 2.4.4-1 >> bacula-sd/lenny uptodate 2.4.4-1 >> bacula-sd-mysql/lenny uptodate 2.4.4-1 >> bacula-server/lenny uptodate 2.4.4-1 >> bacula-traymonitor/lenny uptodate 2.4.4-1 >> >>
I fingered it out. The Debian meta package bacula-director uses sqlite as the database backend by default. I was previously useing mysqld as the backend. After I uninstalled bacula-director-sqlite3 and re-installed bacula-director-mysql, all was peachy once again. .............sneaky package maintainers ;) ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users