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

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

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

    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 Online
    simatecS Online
    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 Online
        simatecS Online
        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
                                • ub.privatU ub.privat

                                  @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 Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by Thomas Braun
                                  #1586

                                  @ub-privat
                                  Der User muss dann auf dem Server auch angelegt sein. Sonst darf der natürlich auch keinen mysqldump ausführen.

                                  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
                                  1
                                  • Thomas BraunT Thomas Braun

                                    @ub-privat
                                    Der User muss dann auf dem Server auch angelegt sein. Sonst darf der natürlich auch keinen mysqldump ausführen.

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

                                    @thomas-braun

                                    ich muss nun in der MariaDB den Fritzbox-User mit dem entsprechenden Passwort anlegen/einrichten?
                                    Puuh, da muss ich mal schauen, wie ich das hinbekomme...

                                    wäre dies die korrekte Vorgehensweise?
                                    https://forum.iobroker.net/topic/3327/mariadb-auf-diskstation-als-datenbank-für-flot

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

                                      @thomas-braun

                                      ich muss nun in der MariaDB den Fritzbox-User mit dem entsprechenden Passwort anlegen/einrichten?
                                      Puuh, da muss ich mal schauen, wie ich das hinbekomme...

                                      wäre dies die korrekte Vorgehensweise?
                                      https://forum.iobroker.net/topic/3327/mariadb-auf-diskstation-als-datenbank-für-flot

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

                                      @ub-privat
                                      Keine Ahnung von mariadb.

                                      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
                                      1
                                      • Thomas BraunT Thomas Braun

                                        @ub-privat
                                        Keine Ahnung von mariadb.

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

                                        @thomas-braun

                                        OK, Schade.

                                        Aktuell sind diese User eingerichtet:

                                        527749d4-a5cc-45a6-8942-628c3d477a1e-image.png

                                        aber ist denn 'ioBroker'@'raspberrypi-3.fritz.box' nicht gleich der Benutzer "iobroker"?

                                        Wie gesagt, alles "learning by doing" und die grenzenlose Forumshilfe!

                                        mickymM 1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @ub-privat
                                          Keine Ahnung von mariadb.

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

                                          @thomas-braun

                                          dann werede ich erst einmal die iobroker- und influx-Backups beobachten!

                                          Vielen Dank für deine Hilfe! DANKE.

                                          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

                                          528

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          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