Good morning Jérôme, Tried it on a smaller database of bacula (2.7G, from another server) and it removed 53k orphaned files I guess i won't see the size difference in the .db file, but in the SQL generated file when I backup the catalog
The SQL has the same size as before the dbcheck (but at least, database is cleaner that before) Thank you for the tip! ----- Mail original ----- De: "Jérôme Blion" <jerome.bl...@free.fr> À: bacula-users@lists.sourceforge.net Envoyé: Jeudi 25 Octobre 2018 09:22:34 Objet: Re: [Bacula-users] deal with Bacula database growth HI, I just thought about something you may have not setup yet. Do you regularly check your catalog with bcheck ? Typically, weekly, I run the following command: /usr/bin/yes yes | /usr/sbin/dbcheck -c /etc/bacula/bacula-dir.conf -C Catalog1 -b -f It cleans lot of mess in the database. HTH. Jérôme Blion. _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users