Using bscan is one of the way, I recommend to read the disaster chapter of the documentation which explain how to restore a director. With the empty configuration the needed informations (pools device etc with their attributes will be recreated, and bscan will fill up the db with the content of the media). Beware it's normally a quite long process.
On July 31, 2018 5:41:59 PM GMT+02:00, Markus <[email protected]> wrote: >Ok, so the database dump is not portable across sql engines. So I guess > >there's no way to transfer the catalog except using a script which >would >"translate" the database backup. I don't think I want to go that route >and try to make sure everything has been translated correctly. >What if I go ahead and reconfigure Bareos to use mySql and then >recreate >the catalog the hard way using bscan. I never used bscan so my question > >is: would that also restore media pool and volume retention information > >besides the contents records? Or in other words: what kind of >information do I have to enter manually if I recreate the catalog >through bscan? > >Thank You, >Markus. > >On 7/27/2018 15:42, Bruno Friedmann wrote: >> On vendredi, 27 juillet 2018 16.23:36 h CEST Markus wrote: >>> More specific question: I know how to make a catalog backup using >>> make_catalog_backup. Is this backup "portable", i.e. can I make a >backup >>> of my current sqlite3 system, reconfigure Bareos to use mySql and >then >>> restore that backup into mySql? >>> >>> On 7/26/2018 10:52, Markus wrote: >>>> Hello, >>>> >>>> I am running Bareos on a Linux Mint 18 server. The installation is >>>> using sqlite for the database. Since I am going to need mySql on >that >>>> server anyway, I would like to 'convert' my existing Bareos >>>> installation from using sqlite to using mySql. Does anybody have a >>>> pointer to some documentation or HowTo on this is done? >>>> >>>> Sorry if this question has been asked before but Google did not >really >>>> produce useful search results. >>>> >>>> Thank You, >>>> Markus. >> Unfortunately no, the make_catalog_backup is able to handle several >database >> engine, but the restore has to be with the same engine. >> Each database has its own dialect. >> > >-- >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. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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.
