I went looking on the bareos site and found this about the migration

With Bareos 21, we’ve announced End of Life for MySQL. In short, if you haven’t migrated the Bareos catalog yet, please do so now before the upgrade to Bareos 21. Are you running a previous version of Bareos and still rely on MySQL as catalog database? Then upgrade to Bareos 20 first. In Bareos 20, you can migrate the catalog to PostgreSQL using the |bareos-dbcopy| tool. For more information, please read the HOWTO <https://docs.bareos.org/Appendix/Howtos.html#section-migrationmysqltopostgresql> in your documentation.

hope this helps


On 8/6/22 7:45 AM, [email protected] wrote:

if I remember correctly for  the upgrade to work, you need to install the same version of bareos (for the new version) as the old version. do the migration and then upgrade bareos.

bee

On 8/5/22 3:25 PM, Otto Brandstaetter wrote:
forgot to mention...
if I try update_bareos_tables I get:
Don't know how to upgrade from version 2210 to 2192



Otto Brandstaetter schrieb am Freitag, 5. August 2022 um 21:24:00 UTC+2:

    Hi,

    I just tried to migrate my catalogue from mysql to postgres.
    but when I try to run bareo-dbcopy, I get:
    Copying tables from "MyCatalog" to "MyCatalog-psql"
    05-Aug 21:13  JobId 0: Fatal error: Version error for database
    "bareos". Wanted 2192, got 2210
    05-Aug 21:13  JobId 0: Fatal error: Version error for database
    "bareos". Wanted 2192, got 2210

    Actually I have bareos 20 running on my debian system, but I
    think I had 21 shortly before I realised that this can not work
    with mysql anymore.
    bareos is working, just the migration is not.
    any hints?
    Best regards and thanks in advance,
    Otto

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/d4ded918-b2ce-4fcb-970a-56b4f41c6582n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/d4ded918-b2ce-4fcb-970a-56b4f41c6582n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/e1402e10-6128-2621-0859-42cc4abaefa0%40gmail.com.

Reply via email to