Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup - kein Backup von MySQL

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Backitup - kein Backup von MySQL

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Malz1902 last edited by

      Backitup sichert meine MySQL DB nicht.
      Es kommt folgened Meldung:
      [ERROR] [mysql] - [IGNORED] Error: Command failed: mysqldump -u iobroker -ppassword iobroker -h 192.168.188.66 -P 3306 > /opt/iobroker/backups/mysql_2020_09_25-08_19_18_backupiobroker.sql
      /bin/sh: 1: mysqldump: not found

      Liegt das evtl daran wei hinter -p direkt das password kommt ohne eine leerzeile?

      simatec 1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @Malz1902 last edited by

        @Malz1902
        Auf deinem System ist mysqldump nicht installiert ...

        sudo apt-get install mysql-client
        
        M 1 Reply Last reply Reply Quote 0
        • M
          Malz1902 @simatec last edited by

          @simatec said in Backitup - kein Backup von MySQL:

          apt-get install mysql-client

          Danke

          Jetzt kommt

          mysqldump: [Warning] Using a password on the command line interface can be insecure.
          mysqldump: Got error: 1045: Access denied for user 'iobroker'@'192.168.188.64' (using password: YES) when trying to connect
          
          M 1 Reply Last reply Reply Quote 0
          • M
            Malz1902 @Malz1902 last edited by

            Kann es daran liegen weil meine SQL DB auf nem anderen Server liefgt als ioBroker? Der SQL Adapter läuft jedoch ohne Probleme

            smartboart 1 Reply Last reply Reply Quote 0
            • smartboart
              smartboart @Malz1902 last edited by

              Hallo,
              ich habe mysql auch auf einem anderen Server im Netzwerklaufen und bekomme auch folgende Fehler...

              Hat das backup der sql daten schon jemand am laufen wenn mariadb auf einem anderen System läuft?

              backitup.0	2020-12-16 10:03:08.096	debug	(1870) [iobroker/mysql] /bin/sh: 1: mysqldump: not found
              backitup.0	2020-12-16 10:03:08.095	debug	(1870) [iobroker/mysql] [IGNORED] Error: Command failed: mysqldump -u xxxxxx -p**** iobroker -h 192.168.1.xx -P xxxx --quick --single-transaction > /opt/iobroker/backups/mysql_2020_12_16-10_03_08_b
              backitup.0	2020-12-16 10:03:07.923	debug	(1870) [iobroker/iobroker] done
              
              I simatec 2 Replies Last reply Reply Quote 0
              • I
                innriver @smartboart last edited by

                @smartboart
                Bei mir befindet sich die SQL DB auf einem Raspberry 3B+ mit SSD und funktioniert einwandfrei.
                Auf dem System auf dem iobroker läuft muss Mariadb-Client installiert werden mit:

                sudo apt-get install mariadb-client
                

                und in der Konfiguration von Backitup bei den Einstellungen von SQL der Pfad mit dem Dateinamen zum mysqldump Programm eingetragen werden, in der Regel /usr/bin/mysqldump.
                So hats zumindest bei mir dann funktioniert.

                smartboart 1 Reply Last reply Reply Quote 1
                • simatec
                  simatec Developer Most Active @smartboart last edited by

                  @smartboart

                  https://forum.iobroker.net/post/493575

                  smartboart 1 Reply Last reply Reply Quote 1
                  • smartboart
                    smartboart @innriver last edited by

                    @innriver sagte in Backitup - kein Backup von MySQL:

                    /usr/bin/mysqldump

                    perfekt..
                    danke funktioniert....hatte zu kompliziert gedacht.

                    1 Reply Last reply Reply Quote 0
                    • smartboart
                      smartboart @simatec last edited by

                      @simatec ja danke...hatte ich falsch verstanden....

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Support us

                      ioBroker
                      Community Adapters
                      Donate
                      FAQ Cloud / IOT
                      HowTo: Node.js-Update
                      HowTo: Backup/Restore
                      Downloads
                      BLOG

                      990
                      Online

                      31.6k
                      Users

                      79.5k
                      Topics

                      1.3m
                      Posts

                      backitup
                      4
                      9
                      1955
                      Loading More Posts
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes
                      Reply
                      • Reply as topic
                      Log in to reply
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      The ioBroker Community 2014-2023
                      logo