• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü

Schlagwörter: backup and restore

Ansicht von 3 Antwort-Threads
  • Autor
    Beiträge
    • 20. März 2023 um 17:42 Uhr - Views: 1423 #14938
      Gonçalo Faria
      Teilnehmer

        Hi,

        I am trying to do something as simple as creating a backup on a main host, move it to secondary host with otobo fresh installed and restore the backup from the main host, trying to make a DR strategy basically.

        When i try to restore with otobo running i have this error message:

        ERROR: Already existing tables in this database. A empty database is required for restore!

        When it try to restore with otobo stopped i have this message:

        DBI connect(‚database=otobo;host=db‘,’otobo‘,…) failed: Unknown MySQL server host ‚db‘ (-3) at /opt/otobo_install/local/lib/perl5/DBIx/Connector.pm line 31.
        ERROR: OTOBO-restore.pl-08 Perl: 5.36.0 OS: linux Time: Mon Mar 20 16:23:38 2023

        Message: Unknown MySQL server host ‚db‘ (-3)

        Traceback (1):
        Module: Kernel::System::DB::Prepare Line: 775
        Module: /opt/otobo/scripts/restore.pl Line: 179

        Can’t call method „fetchrow_array“ on an undefined value at /opt/otobo/Kernel/System/DB.pm line 860.

        From the second message i assume it’s supposed to have it running, but should i wipe the DB before restoring?
        ps: i am following this guide https://doc.otobo.org/manual/installation/10.1/en/content/backup-restore.html

        Thank you very much,
        Best,
        Gf

      • 21. März 2023 um 10:54 Uhr #14943
        marcel-graf
        Teilnehmer

          hello Gonçalo ,

          I only used the backup and restore on a docker based installation.

          Here I had to set the same database password for the new installation.

          ———————————————————–

          mysql -u root -p
          Enter password: db password

          SET PASSWORD FOR ‚otobo‘ = PASSWORD(‚the old One‘);

          FLUSH PRIVILEGES;

          ———————————————————–

          and i think you must drop the DB

          ———————————————————–

          DROP DATABASE otobo;

          CREATE DATABASE otobo CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

          GRANT ALL PRIVILEGES ON otobo.* TO ‚otobo’@’%‘;

          ———————————————————–

          Greetings,

          Marcel

           

           

        • 21. März 2023 um 18:02 Uhr #14953
          Gonçalo Faria
          Teilnehmer

            Thank you for the answer,

            I managed to install the database, but i couln’t login with the root@localhost account from the original DB.
            I will try to do a fresh install with a root@localhost password equal to the original DB, to check if i can see the data restored.

            Thank you for the answer.

            Best,
            Gf

          • 21. März 2023 um 19:19 Uhr #14960
            Stefan Abel
            Moderator

              Hello,

              If you don’t know the root@localhost password, you can always reset it with the bin/otobo.Console.pl

              Cheers,
              Stefan

          • Autor
            Beiträge
          Ansicht von 3 Antwort-Threads
          • Du musst angemeldet sein, um auf dieses Thema antworten zu können.

          Foren durchsuchen

          Anmeldung

          Anmeldung

          Konto erstellen
          Passwort vergessen?

          Login via Social

          Profil

          Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

          Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

          Letzte Aktivitäten

          • Dynamische Felder in AgentTicketNote mit ACL verstecken
          • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
          • Benachrichtigung „Ticket wurde mir entzogen“ möglich?
          • Statistik Anzahl Tickets pro Agent
          • Docker: Ändern des redis Hosts

          Unternehmen

          Über uns
          Karriere
          Stellenbörse
          Partner werden
          Kontakt
          Newsletter

          OTOBO | Simplify work and create exceptional service experiences.

          Die Source Code Owner und Maintainer hinter OTOBO.

          Software

          Service Management-Plattform
          OTOBO Demo
          OTOBO Download
          OTOBO Dokumentation

          Security-Problem melden:
          security@otobo.org

          Services

          Support-Portal
          Beratung
          Training
          Support
          Managed Services
          Erweiterung
          OTRS Migration
          Partner finden

          Community

          Open Source
          Community Forum
          Mitmachen
          OTOBO Developer
          OTOBO@GitHub

          © 2026 Rother OSS GmbH | All rights reserved.
          • Cookie-Einstellungen
          • Impressum
          • Datenschutz
          • Haftungsausschluss
          Nach oben scrollen Nach oben scrollen Nach oben scrollen