On 29.11.2017 at 14:36 wrote Rick Sutphin: > Hi all. I recently made a mistake adding a new client. I followed > some directions I found to remove the client by purging its files > from bconsole and using bscan to remove orphan files.
I guess you mean bareos-dbcheck? Have you respected: """ If you are using bvfs (e.g. used by bareos-webui), don’t eliminate orphaned path, else you will have to rebuild brestore_pathvisibility and brestore_pathhierarchy indexes. """ ? If not, this already explains your problems. > Long story short, I apparently did something wrong and now > bareos-webgui is not showing any files for any backup jobs - > including the ones that ran last night. > > I logged into mysql and ran the query SELECT * FROM Filenames; and > there are still filenames in the database (SELECT COUNT(*) FROM > Filenames; shows 380011 records). > > > Can anyone recommend a way I can dig myself out of this? Or if it is > not possible to fix this, please let me know how to fix it so future > backups work. So, do new backups run? 1. check if backups do run 2. check using bconsole, if the jobs contains file (list files jobid=<YOUR_JOBID> 3. try to restore data using the bconsole restore command If this all works successfully, there should not be much problems. What is the output of dbcheck? If 1-3 do not run successfully: you should have a backup of the Bareos catalog. Read http://doc.bareos.org/master/html/bareos-manual-main-reference.html#RestoringWhenThingsGoWrong carefully. -- Jörg Steffens [email protected] Bareos GmbH & Co. KG Phone: +49 221 630693-91 http://www.bareos.com Fax: +49 221 630693-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
