Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter ioBroker.backitup v3.1.x

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    207

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    7.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

Test Adapter ioBroker.backitup v3.1.x

Test Adapter ioBroker.backitup v3.1.x

Scheduled Pinned Locked Moved Tester
backitupbackitup backupccuhistorymysqlredisrestorerestore backup
2.8k Posts 170 Posters 2.4m Views 113 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F firebowl

    @simatec sagte in Test Adapter Backitup v2.2.x:

    @firebowl Da dein mount ja nicht funktioniert kann das auch nicht funktionieren.
    Er hat ja kein Backup für den restore

    Mache mal folgendes

    iobroker stop
    iobroker fix
    iobroker start
    

    Dann deine Backups für den restore lokal in den Ordner /opt/iobroker/backups mit einen SFTP Tool (z.B. Filezilla) legen und den Restore lokal starten.

    Wenn alle Restores durchgelaufen sind, würde ich mal komplett die Einstellungen an deinem NAS prüfen und die Einstellungen zu deinen alten PI vergleichen. Eventuell hat der NUC mit neuer IP keine Rechte auf deinem NAS und der alte PI mit seiner IP schon

    Hab das Backup jetzt "lokal" abgelegt und versucht wiederherzustellen:

    Started restore ...
    [DEBUG] [influxDB] - Created tmp directory
    [DEBUG] [influxDB] - Start infuxDB Restore ...
    [ERROR] [influxDB] - 2021/12/02 11:27:07 error updating meta: DB metadata not changed. database may already exist
    restore: DB metadata not changed. database may already exist
    
    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
    [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
    [DEBUG] [influxDB] - infuxDB Restore completed successfully
    [EXIT] influxDB restore done
    

    Wurde jetzt was restored oder nicht? 😉
    Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

    simatecS Offline
    simatecS Offline
    simatec
    Developer Most Active
    wrote on last edited by simatec
    #1566

    @firebowl sagte in Test Adapter Backitup v2.2.x:

    Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

    Wenn du den Influx Adapter installierst und und konfigurierst, wird durch den Adapter die DB angelegt
    Also vorher den Adapter stoppen und die DB löschen. Influx kann leider kein kompletten Restore in eine bestehende DB.

    https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#delete-a-database-with-drop-database

    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    F 1 Reply Last reply
    0
    • simatecS simatec

      @firebowl sagte in Test Adapter Backitup v2.2.x:

      Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

      Wenn du den Influx Adapter installierst und und konfigurierst, wird durch den Adapter die DB angelegt
      Also vorher den Adapter stoppen und die DB löschen. Influx kann leider kein kompletten Restore in eine bestehende DB.

      https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#delete-a-database-with-drop-database

      F Offline
      F Offline
      firebowl
      wrote on last edited by Negalein
      #1567

      @simatec sagte in Test Adapter Backitup v2.2.x:

      @firebowl sagte in Test Adapter Backitup v2.2.x:

      Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

      Wenn du den Influx Adapter installierst und und konfigurierst, wird durch den Adapter die DB angelegt
      Also vorher den Adapter stoppen und die DB löschen. Influx kann leider kein kompletten Restore in eine bestehende DB.

      https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#delete-a-database-with-drop-database

      Bringt leider nix.
      Hab die VM noch mal zurückgesetzt auf einen Stand vor der Influx Installation.
      Dann hab ich folgendes gemacht:

      • influxdb installiert
      • admin und normalen User mit CREATE USER angelegt
      • Datenbank mit CREATE DATABASE angelegt
      • dem User Rechte auf die DB gegeben
      • Influx Adapter im ioBroker installiert
      • Adapter angehalten und Datenbank mit DROP DATABASE geleert
      • Backup eingespielt bzw. es versucht, der Fehler bleibt gleich
      Started restore ...
      [DEBUG] [influxDB] - Created tmp directory
      [DEBUG] [influxDB] - Start infuxDB Restore ...
      [ERROR] [influxDB] - 2021/12/02 12:54:54 error updating meta: DB metadata not changed. database may already exist
      restore: DB metadata not changed. database may already exist
      
      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
      [DEBUG] [influxDB] - infuxDB Restore completed successfully
      [EXIT] influxDB restore done
      

      Mod-Edit: Code in </> Code-Tag gepackt!

      simatecS 2 Replies Last reply
      0
      • F firebowl

        @simatec sagte in Test Adapter Backitup v2.2.x:

        @firebowl sagte in Test Adapter Backitup v2.2.x:

        Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

        Wenn du den Influx Adapter installierst und und konfigurierst, wird durch den Adapter die DB angelegt
        Also vorher den Adapter stoppen und die DB löschen. Influx kann leider kein kompletten Restore in eine bestehende DB.

        https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#delete-a-database-with-drop-database

        Bringt leider nix.
        Hab die VM noch mal zurückgesetzt auf einen Stand vor der Influx Installation.
        Dann hab ich folgendes gemacht:

        • influxdb installiert
        • admin und normalen User mit CREATE USER angelegt
        • Datenbank mit CREATE DATABASE angelegt
        • dem User Rechte auf die DB gegeben
        • Influx Adapter im ioBroker installiert
        • Adapter angehalten und Datenbank mit DROP DATABASE geleert
        • Backup eingespielt bzw. es versucht, der Fehler bleibt gleich
        Started restore ...
        [DEBUG] [influxDB] - Created tmp directory
        [DEBUG] [influxDB] - Start infuxDB Restore ...
        [ERROR] [influxDB] - 2021/12/02 12:54:54 error updating meta: DB metadata not changed. database may already exist
        restore: DB metadata not changed. database may already exist
        
        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
        [DEBUG] [influxDB] - infuxDB Restore completed successfully
        [EXIT] influxDB restore done
        

        Mod-Edit: Code in </> Code-Tag gepackt!

        simatecS Offline
        simatecS Offline
        simatec
        Developer Most Active
        wrote on last edited by
        #1568

        @firebowl Dann hat deine Datenbank noch existiert ... Der Fehler sagt es ja eindeutig

        • Besuche meine Github Seite
        • Beitrag hat geholfen oder willst du mich unterstützen
        • HowTo Restore ioBroker
        1 Reply Last reply
        0
        • F firebowl

          @simatec sagte in Test Adapter Backitup v2.2.x:

          @firebowl sagte in Test Adapter Backitup v2.2.x:

          Die DB hat aber garantiert nicht existiert vorher, hab influxdb vorhin ganz frisch installiert.

          Wenn du den Influx Adapter installierst und und konfigurierst, wird durch den Adapter die DB angelegt
          Also vorher den Adapter stoppen und die DB löschen. Influx kann leider kein kompletten Restore in eine bestehende DB.

          https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#delete-a-database-with-drop-database

          Bringt leider nix.
          Hab die VM noch mal zurückgesetzt auf einen Stand vor der Influx Installation.
          Dann hab ich folgendes gemacht:

          • influxdb installiert
          • admin und normalen User mit CREATE USER angelegt
          • Datenbank mit CREATE DATABASE angelegt
          • dem User Rechte auf die DB gegeben
          • Influx Adapter im ioBroker installiert
          • Adapter angehalten und Datenbank mit DROP DATABASE geleert
          • Backup eingespielt bzw. es versucht, der Fehler bleibt gleich
          Started restore ...
          [DEBUG] [influxDB] - Created tmp directory
          [DEBUG] [influxDB] - Start infuxDB Restore ...
          [ERROR] [influxDB] - 2021/12/02 12:54:54 error updating meta: DB metadata not changed. database may already exist
          restore: DB metadata not changed. database may already exist
          
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
          [DEBUG] [influxDB] - infuxDB Restore completed successfully
          [EXIT] influxDB restore done
          

          Mod-Edit: Code in </> Code-Tag gepackt!

          simatecS Offline
          simatecS Offline
          simatec
          Developer Most Active
          wrote on last edited by
          #1569

          @firebowl

          Bitte mal folgendes aus der Konsole zeigen:

          influx
          show databases
          drop database "dein-DB-Name"
          show databases
          exit
          

          Bitte unbedingt vorher den Influx Adapter und andere Systeme, die auf diese DB schreiben stoppen

          • Besuche meine Github Seite
          • Beitrag hat geholfen oder willst du mich unterstützen
          • HowTo Restore ioBroker
          F 1 Reply Last reply
          0
          • simatecS simatec

            @firebowl

            Bitte mal folgendes aus der Konsole zeigen:

            influx
            show databases
            drop database "dein-DB-Name"
            show databases
            exit
            

            Bitte unbedingt vorher den Influx Adapter und andere Systeme, die auf diese DB schreiben stoppen

            F Offline
            F Offline
            firebowl
            wrote on last edited by
            #1570

            @simatec

            mike@iobroker:~$ influx
            Connected to http://localhost:8086 version 1.8.10
            InfluxDB shell version: 1.8.10
            > show databases
            name: databases
            name
            ----
            _internal
            ioBroker
            > drop database ioBroker
            > show databases
            name: databases
            name
            ----
            _internal
            >
            

            Nach dem droppen is die DB weg.
            Adapter ist weiterhin gestoppt und ich spiel das Backup ein, richtig?

            simatecS 1 Reply Last reply
            0
            • F firebowl

              @simatec

              mike@iobroker:~$ influx
              Connected to http://localhost:8086 version 1.8.10
              InfluxDB shell version: 1.8.10
              > show databases
              name: databases
              name
              ----
              _internal
              ioBroker
              > drop database ioBroker
              > show databases
              name: databases
              name
              ----
              _internal
              >
              

              Nach dem droppen is die DB weg.
              Adapter ist weiterhin gestoppt und ich spiel das Backup ein, richtig?

              simatecS Offline
              simatecS Offline
              simatec
              Developer Most Active
              wrote on last edited by
              #1571

              @firebowl Genau nun das Backup zurückspielen

              • Besuche meine Github Seite
              • Beitrag hat geholfen oder willst du mich unterstützen
              • HowTo Restore ioBroker
              F 1 Reply Last reply
              0
              • simatecS simatec

                @firebowl Genau nun das Backup zurückspielen

                F Offline
                F Offline
                firebowl
                wrote on last edited by Negalein
                #1572

                @simatec Leider genau das gleiche.

                Started restore ...
                [DEBUG] [influxDB] - Created tmp directory
                [DEBUG] [influxDB] - Start infuxDB Restore ...
                [ERROR] [influxDB] - 2021/12/02 13:28:53 error updating meta: DB metadata not changed. database may already exist
                restore: DB metadata not changed. database may already exist
                
                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                [DEBUG] [influxDB] - infuxDB Restore completed successfully
                [EXIT] influxDB restore done
                

                Ein show database zeigt keine DB an und wenn ich den Adapter starte dann wird wieder die DB angelegt.
                Wurde jetzt was zurückgespielt oder hat der Adapter einfach ne leere DB angelegt?

                EDIT: Ist ne leere DB /var/lib/influxdb/data/ sind 88KB und auf dem alten System sind es 75MB.


                Mod-Edit: Code in </> Code-Tag gepackt!

                simatecS 1 Reply Last reply
                0
                • F firebowl

                  @simatec Leider genau das gleiche.

                  Started restore ...
                  [DEBUG] [influxDB] - Created tmp directory
                  [DEBUG] [influxDB] - Start infuxDB Restore ...
                  [ERROR] [influxDB] - 2021/12/02 13:28:53 error updating meta: DB metadata not changed. database may already exist
                  restore: DB metadata not changed. database may already exist
                  
                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                  [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                  [DEBUG] [influxDB] - infuxDB Restore completed successfully
                  [EXIT] influxDB restore done
                  

                  Ein show database zeigt keine DB an und wenn ich den Adapter starte dann wird wieder die DB angelegt.
                  Wurde jetzt was zurückgespielt oder hat der Adapter einfach ne leere DB angelegt?

                  EDIT: Ist ne leere DB /var/lib/influxdb/data/ sind 88KB und auf dem alten System sind es 75MB.


                  Mod-Edit: Code in </> Code-Tag gepackt!

                  simatecS Offline
                  simatecS Offline
                  simatec
                  Developer Most Active
                  wrote on last edited by
                  #1573

                  @firebowl Zeige doch mal bitte die Einstellungen in Backitup

                  • Besuche meine Github Seite
                  • Beitrag hat geholfen oder willst du mich unterstützen
                  • HowTo Restore ioBroker
                  F ub.privatU 3 Replies Last reply
                  0
                  • simatecS simatec

                    @firebowl Zeige doch mal bitte die Einstellungen in Backitup

                    F Offline
                    F Offline
                    firebowl
                    wrote on last edited by
                    #1574

                    @simatec Vom Adapter der sichert oder von dem der wiederherstellen soll? 😉
                    Letzterer is ja noch sehr leer.

                    1 Reply Last reply
                    0
                    • simatecS simatec

                      @firebowl Zeige doch mal bitte die Einstellungen in Backitup

                      F Offline
                      F Offline
                      firebowl
                      wrote on last edited by
                      #1575

                      @simatec Hab's hinbekommen....
                      Hab jetzt noch mal die DB geleert und im Adapter den Haken gesetzt für Datenbank vorm Restore löschen.
                      Vielen Dank für deine ausdauernde Hilfe!

                      1 Reply Last reply
                      0
                      • simatecS simatec

                        @firebowl Zeige doch mal bitte die Einstellungen in Backitup

                        ub.privatU Offline
                        ub.privatU Offline
                        ub.privat
                        wrote on last edited by
                        #1576

                        @simatec
                        @Thomas-Braun

                        Nachdem ich nun die fast 1500 Beiträge gelesen/überflogen habe, muss ich um eure Unterstützung bitten.
                        Als ich den Adapter eingerichtet habe und einmalig manuell das Backup erstellt wurde, sah alles super aus! Freude war groß...

                        3 Tage mit viel probieren sind vorbei, die automatischen Backups liefern nur Datein mit einer Größe von 0kB ???
                        So schaut der Vorgang aus:

                        Started iobroker ...
                        [DEBUG] [mount] - noserverino option: false
                        [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=Uwe,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.20/300_SMARTHOME/310_BACKUP/IOB_1 /opt/iobroker/backups"
                        [DEBUG] [mount] - mount successfully completed
                        [DEBUG] [mount] - done
                        [DEBUG] [iobroker] - host.raspberrypi 15813 states saved
                        
                        [DEBUG] [iobroker] - host.raspberrypi 18592 objects saved
                        
                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz
                        
                        [DEBUG] [iobroker] - done
                        [DEBUG] [influxDB] - InfluxDB-Backup started ...
                        [DEBUG] [influxDB] - Start InfluxDB Backup ...
                        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                        [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                        [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                        [DEBUG] [influxDB] - done
                        [DEBUG] [mysql] - MySql-Backup started ...
                        [ERROR] [mysql] - [IGNORED] Error: Command failed: mysqldump  -u ioBroker -p**** iobroker -h 192.168.178.20 -P 3307 > /opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.sql
                        /bin/sh: 1: mysqldump: not found
                        
                        [DEBUG] [historyDB] - compress from historyDB started ...
                        [ERROR] [historyDB] - [IGNORED] Backitup cannot found source "undefined" for compress!
                        [DEBUG] [grafana] - Start Grafana Backup ...
                        [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
                        [DEBUG] [grafana] - Created dashboard directory
                        [DEBUG] [grafana] - Created dashboards_manually_restore directory
                        [DEBUG] [grafana] - Created datasource directory
                        [DEBUG] [grafana] - start Grafana request ...
                        [DEBUG] [grafana] - Grafana is available ... Status: 200
                        [DEBUG] [grafana] - Error on Grafana Dashoard Request: Error: Request failed with status code 401
                        [DEBUG] [grafana] - start Grafana backup compress ...
                        [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                        [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                        [DEBUG] [grafana] - cannot found Grafana Backup files
                        [DEBUG] [grafana] - done
                        [DEBUG] [ftp] - FTP connected.
                        [DEBUG] [ftp] - Send iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz
                        [DEBUG] [ftp] - Send influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz
                        [DEBUG] [ftp] - Send mysql_2021_12_14-16_59_27_backupiobroker.tar.gz
                        [ERROR] [ftp] - File "/opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                        [DEBUG] [ftp] - Send historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz
                        [ERROR] [ftp] - File "/opt/iobroker/backups/historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                        [DEBUG] [ftp] - done
                        [DEBUG] [cifs] - done
                        [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz...
                        [DEBUG] [googledrive] - Google Drive: Copy influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz...
                        [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                        [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                        [DEBUG] [googledrive] - done
                        [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                        [DEBUG] [clean] - done
                        [DEBUG] [email] - done
                        [DEBUG] [historyHTML] - new history html values created
                        [DEBUG] [historyHTML] - done
                        [DEBUG] [historyJSON] - new history json values created
                        [DEBUG] [historyJSON] - done
                        [DEBUG] [umount] - mount activ, umount is started ...
                        [DEBUG] [umount] - umount successfully completed
                        [DEBUG] [umount] - done
                        [EXIT] 0
                        

                        Bei allen Sicherungsquellen wird das Backup mit 0kB abgelegt.
                        Hier sieht man, am 10.12. lief alles super, konnte auch einwandfrei rückspielen. An den anderen Tagen nur 0kB Datein.
                        81452a6d-55cb-4bae-b2be-17a67e1829e1-image.png

                        Mir ist bewußt, dass einige ERROR's stehen, aber leider für mich nicht verständlich, daher meine Bitte nach Hilfe!
                        Danke schon mal vorab.

                        Thomas BraunT simatecS 2 Replies Last reply
                        0
                        • ub.privatU ub.privat

                          @simatec
                          @Thomas-Braun

                          Nachdem ich nun die fast 1500 Beiträge gelesen/überflogen habe, muss ich um eure Unterstützung bitten.
                          Als ich den Adapter eingerichtet habe und einmalig manuell das Backup erstellt wurde, sah alles super aus! Freude war groß...

                          3 Tage mit viel probieren sind vorbei, die automatischen Backups liefern nur Datein mit einer Größe von 0kB ???
                          So schaut der Vorgang aus:

                          Started iobroker ...
                          [DEBUG] [mount] - noserverino option: false
                          [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=Uwe,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.20/300_SMARTHOME/310_BACKUP/IOB_1 /opt/iobroker/backups"
                          [DEBUG] [mount] - mount successfully completed
                          [DEBUG] [mount] - done
                          [DEBUG] [iobroker] - host.raspberrypi 15813 states saved
                          
                          [DEBUG] [iobroker] - host.raspberrypi 18592 objects saved
                          
                          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz
                          
                          [DEBUG] [iobroker] - done
                          [DEBUG] [influxDB] - InfluxDB-Backup started ...
                          [DEBUG] [influxDB] - Start InfluxDB Backup ...
                          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz
                          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                          [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                          [DEBUG] [influxDB] - done
                          [DEBUG] [mysql] - MySql-Backup started ...
                          [ERROR] [mysql] - [IGNORED] Error: Command failed: mysqldump  -u ioBroker -p**** iobroker -h 192.168.178.20 -P 3307 > /opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.sql
                          /bin/sh: 1: mysqldump: not found
                          
                          [DEBUG] [historyDB] - compress from historyDB started ...
                          [ERROR] [historyDB] - [IGNORED] Backitup cannot found source "undefined" for compress!
                          [DEBUG] [grafana] - Start Grafana Backup ...
                          [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
                          [DEBUG] [grafana] - Created dashboard directory
                          [DEBUG] [grafana] - Created dashboards_manually_restore directory
                          [DEBUG] [grafana] - Created datasource directory
                          [DEBUG] [grafana] - start Grafana request ...
                          [DEBUG] [grafana] - Grafana is available ... Status: 200
                          [DEBUG] [grafana] - Error on Grafana Dashoard Request: Error: Request failed with status code 401
                          [DEBUG] [grafana] - start Grafana backup compress ...
                          [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                          [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                          [DEBUG] [grafana] - cannot found Grafana Backup files
                          [DEBUG] [grafana] - done
                          [DEBUG] [ftp] - FTP connected.
                          [DEBUG] [ftp] - Send iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz
                          [DEBUG] [ftp] - Send influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz
                          [DEBUG] [ftp] - Send mysql_2021_12_14-16_59_27_backupiobroker.tar.gz
                          [ERROR] [ftp] - File "/opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                          [DEBUG] [ftp] - Send historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz
                          [ERROR] [ftp] - File "/opt/iobroker/backups/historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                          [DEBUG] [ftp] - done
                          [DEBUG] [cifs] - done
                          [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_12_14-16_59_04_backupiobroker.tar.gz...
                          [DEBUG] [googledrive] - Google Drive: Copy influxDB_2021_12_14-16_59_23_backupiobroker.tar.gz...
                          [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/mysql_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                          [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/historyDB_2021_12_14-16_59_27_backupiobroker.tar.gz" not found
                          [DEBUG] [googledrive] - done
                          [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                          [DEBUG] [clean] - done
                          [DEBUG] [email] - done
                          [DEBUG] [historyHTML] - new history html values created
                          [DEBUG] [historyHTML] - done
                          [DEBUG] [historyJSON] - new history json values created
                          [DEBUG] [historyJSON] - done
                          [DEBUG] [umount] - mount activ, umount is started ...
                          [DEBUG] [umount] - umount successfully completed
                          [DEBUG] [umount] - done
                          [EXIT] 0
                          

                          Bei allen Sicherungsquellen wird das Backup mit 0kB abgelegt.
                          Hier sieht man, am 10.12. lief alles super, konnte auch einwandfrei rückspielen. An den anderen Tagen nur 0kB Datein.
                          81452a6d-55cb-4bae-b2be-17a67e1829e1-image.png

                          Mir ist bewußt, dass einige ERROR's stehen, aber leider für mich nicht verständlich, daher meine Bitte nach Hilfe!
                          Danke schon mal vorab.

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #1577

                          @ub-privat sagte in Test Adapter Backitup v2.2.x:

                          mysqldump not found
                          

                          Da fehlt wohl was. Welche Datenbank? mariadb? mariadb-client dann installiert?

                          Dann würde ich auch nicht per ftp agieren sondern mit smb/cifs oder nfs.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          ub.privatU 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @ub-privat sagte in Test Adapter Backitup v2.2.x:

                            mysqldump not found
                            

                            Da fehlt wohl was. Welche Datenbank? mariadb? mariadb-client dann installiert?

                            Dann würde ich auch nicht per ftp agieren sondern mit smb/cifs oder nfs.

                            ub.privatU Offline
                            ub.privatU Offline
                            ub.privat
                            wrote on last edited by
                            #1578

                            @thomas-braun

                            Danke für die schnelle Antwort.
                            Ja eine MariaDB ist auf der Syno DS216P installiert. Diese wird auch aktiv angesprochen.
                            Einen Client habe ich auf dem Raspi definitiv nicht installiert (weiß leider nicht wie!).

                            87209a12-a054-4e1e-ac44-d47de15e4d3e-image.png

                            FTP habe ich nur als alternitves Sicherungsziel verwendet, kann also kurzfrisitg weg.

                            Thomas BraunT 1 Reply Last reply
                            0
                            • ub.privatU ub.privat

                              @thomas-braun

                              Danke für die schnelle Antwort.
                              Ja eine MariaDB ist auf der Syno DS216P installiert. Diese wird auch aktiv angesprochen.
                              Einen Client habe ich auf dem Raspi definitiv nicht installiert (weiß leider nicht wie!).

                              87209a12-a054-4e1e-ac44-d47de15e4d3e-image.png

                              FTP habe ich nur als alternitves Sicherungsziel verwendet, kann also kurzfrisitg weg.

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by Thomas Braun
                              #1579

                              @ub-privat

                              Auf dem Raspi muss ein Paket wie
                              mariadb-client-XXX
                              installiert sein. Wobei XXX für die Version steht.
                              Per

                              sudo apt update
                              apt policy mariadb-client<TAB-Taste><TAB-Taste>
                              

                              kannst du schauen was da verfügbar ist.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              ub.privatU 1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @ub-privat

                                Auf dem Raspi muss ein Paket wie
                                mariadb-client-XXX
                                installiert sein. Wobei XXX für die Version steht.
                                Per

                                sudo apt update
                                apt policy mariadb-client<TAB-Taste><TAB-Taste>
                                

                                kannst du schauen was da verfügbar ist.

                                ub.privatU Offline
                                ub.privatU Offline
                                ub.privat
                                wrote on last edited by
                                #1580

                                @thomas-braun

                                mariadb-client-10.0 mariadb-client-10.3 mariadb-client-core-10.0 mariadb-client-core-10.3

                                Thomas BraunT 1 Reply Last reply
                                0
                                • ub.privatU ub.privat

                                  @thomas-braun

                                  mariadb-client-10.0 mariadb-client-10.3 mariadb-client-core-10.0 mariadb-client-core-10.3

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #1581

                                  @ub-privat
                                  Und auf der anderen Kiste läuft welche Version? Ich würde da möglichst nah herangehen mit der Nummer.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  ub.privatU 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @ub-privat
                                    Und auf der anderen Kiste läuft welche Version? Ich würde da möglichst nah herangehen mit der Nummer.

                                    ub.privatU Offline
                                    ub.privatU Offline
                                    ub.privat
                                    wrote on last edited by
                                    #1582

                                    @thomas-braun

                                    4f9a39b7-5f8d-4ecb-a68c-3e49e55f9ad1-image.png

                                    Server-Version: 10.3.29-MariaDB - Source distribution

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • ub.privatU ub.privat

                                      @thomas-braun

                                      4f9a39b7-5f8d-4ecb-a68c-3e49e55f9ad1-image.png

                                      Server-Version: 10.3.29-MariaDB - Source distribution

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #1583

                                      @ub-privat

                                      sudo apt install mariadb-client-10.3
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      ub.privatU 2 Replies Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @ub-privat

                                        sudo apt install mariadb-client-10.3
                                        
                                        ub.privatU Offline
                                        ub.privatU Offline
                                        ub.privat
                                        wrote on last edited by
                                        #1584

                                        @thomas-braun

                                        das System noch einmal neu gebootet. Nun nochmals manuell das Backup anstoßen?

                                        1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @ub-privat

                                          sudo apt install mariadb-client-10.3
                                          
                                          ub.privatU Offline
                                          ub.privatU Offline
                                          ub.privat
                                          wrote on last edited by ub.privat
                                          #1585

                                          @thomas-braun

                                          Schaut schon ein wenig "besser" aus:

                                          Started iobroker ...
                                          [DEBUG] [mount] - noserverino option: false
                                          [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=Uwe,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.20/300_SMARTHOME/310_BACKUP/IOB_1 /opt/iobroker/backups"
                                          [DEBUG] [mount] - mount successfully completed
                                          [DEBUG] [mount] - done
                                          [DEBUG] [iobroker] - host.raspberrypi 15818 states saved
                                          
                                          [DEBUG] [iobroker] - host.raspberrypi 18629 objects saved
                                          
                                          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_12_14-18_36_25_backupiobroker.tar.gz
                                          
                                          [DEBUG] [iobroker] - done
                                          [DEBUG] [influxDB] - InfluxDB-Backup started ...
                                          [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_12_14-18_36_53_backupiobroker.tar.gz
                                          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                                          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                                          [DEBUG] [influxDB] - InfluxDB-Backup for is finish
                                          [DEBUG] [influxDB] - done
                                          [DEBUG] [mysql] - MySql-Backup started ...
                                          [ERROR] [mysql] - [IGNORED] Error: Command failed: mysqldump  -u ioBroker -p**** iobroker -h 192.168.178.20 -P 3307 > /opt/iobroker/backups/mysql_2021_12_14-18_36_55_backupiobroker.sql
                                          mysqldump: Got error: 1045: "Access denied for user 'ioBroker'@'raspberrypi-3.fritz.box' (using password: YES)" when trying to connect
                                          
                                          [DEBUG] [historyDB] - compress from historyDB started ...
                                          [ERROR] [historyDB] - [IGNORED] Backitup cannot found source "undefined" for compress!
                                          [DEBUG] [grafana] - Start Grafana Backup ...
                                          [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
                                          [DEBUG] [grafana] - Created dashboard directory
                                          [DEBUG] [grafana] - Created dashboards_manually_restore directory
                                          [DEBUG] [grafana] - Created datasource directory
                                          [DEBUG] [grafana] - start Grafana request ...
                                          [DEBUG] [grafana] - Grafana is available ... Status: 200
                                          [DEBUG] [grafana] - Error on Grafana Dashoard Request: Error: Request failed with status code 401
                                          [DEBUG] [grafana] - start Grafana backup compress ...
                                          [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                                          [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                                          [DEBUG] [grafana] - cannot found Grafana Backup files
                                          [DEBUG] [grafana] - done
                                          [DEBUG] [cifs] - done
                                          [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_12_14-18_36_25_backupiobroker.tar.gz...
                                          [DEBUG] [googledrive] - Google Drive: Copy influxDB_2021_12_14-18_36_53_backupiobroker.tar.gz...
                                          [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/mysql_2021_12_14-18_36_55_backupiobroker.tar.gz" not found
                                          [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/historyDB_2021_12_14-18_36_58_backupiobroker.tar.gz" not found
                                          [DEBUG] [googledrive] - done
                                          [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                          [DEBUG] [clean] - done
                                          [DEBUG] [email] - done
                                          [DEBUG] [historyHTML] - new history html values created
                                          [DEBUG] [historyHTML] - done
                                          [DEBUG] [historyJSON] - new history json values created
                                          [DEBUG] [historyJSON] - done
                                          [DEBUG] [umount] - mount activ, umount is started ...
                                          [DEBUG] [umount] - umount successfully completed
                                          [DEBUG] [umount] - done
                                          [EXIT] 0
                                          

                                          Nun kommt diese Fehlermeldung:

                                          Got error: 1045: "Access denied for user 'ioBroker'@'raspberrypi-3.fritz.box' (using password: YES)" when trying to connect

                                          InFlux DB und ioBroker - Backup wurden geschrieben! Freu...
                                          Jetzt nich die mySQL hinbekommen!

                                          Ich verstehe aber nicht, warum jetzt die GZ-Datei geschrieben wird!?

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          114

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe