Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

whats the best practice for this?

sure i can delete the config, but i also want the client out of the clients-table within the databasebackend of the server.

should i delete from the database ? (in my case mysql) (but shouldn't bacula handle this somehow)

dpkg -l | grep bacula
ii  bacula-common                                          5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - common support files
ii  bacula-common-pgsql                                    5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - PostgreSQL common files
ii  bacula-console                                         5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - text console
ii  bacula-console-qt                                      5.0.2-2.2+squeeze1             Bacula Administrati                         on Tool Console
ii  bacula-director-common                                 5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - Director common files
ii  bacula-director-pgsql                                  5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - PostgreSQL storage for Director
ii  bacula-fd                                              5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - file daemon
ii  bacula-sd                                              5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - storage daemon
ii  bacula-sd-pgsql                                        5.0.2-2.2+squeeze1             network backup, rec                         overy and verification - PostgreSQL SD tools
share|improve this question
up vote 2 down vote accepted

dbcheck tool can remove obsolete Client records, among other things. Shut down the director before you run it.

share|improve this answer
    
Is there something similar available for postgres databases? – user1207381 Nov 24 '15 at 20:06
    
what kind of something do you have in mind? – sendmoreinfo Nov 25 '15 at 6:17
    
Cleaning up clients from the database. One thing I find is in our server environment is people will stand up test servers quickly, but turn off there backup. Because I no longer need these backups, I want to clean them out of the database [because there are now more deleted servers in my web console interface than not.. I found dbcheck is a Bacula binary and I was concerned it was only for mysql. I'll include this step to be run periodically. – user1207381 Nov 26 '15 at 2:01
    
Not sure I understand the scope of your question, it appears to be related Postgres backups, not Bacula backups? – sendmoreinfo Nov 26 '15 at 20:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.