[pkg-bacula-devel] Bacula 11 status

Sven Hartge sven at svenhartge.de
Fri Mar 25 06:08:12 GMT 2022


On 25.03.22 00:10, Carsten Leonhardt wrote:

> I finally found time to look at the problem of generating the files for
> dbconfig and decided to just preserve the data from 9.6.7 and then add
> something else for 11.0.x. While I found a way to create the upgrade
> snippets for mysql and sqlite3 semiautomatically (feeding the SQL
> statements to "cat" instead of mysql/sqlite3), that doesn't work for
> postgresql, as part of the update there is a dump and reload of the file
> table.

Can we "dump" the table internally (as in something like "SELECT * INTO 
files_temp FROM files;") instead of dumping to a file and reloading from 
that? Or does the script to some external "manual" massaging/sed'ing of 
the data before reloading?

Grüße,
Sven



More information about the pkg-bacula-devel mailing list