Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @simatec last edited by

      @simatec
      ist mir auch schon aufgefallen
      063fdffa-dde0-4547-8da0-7105ea89cc6e-grafik.png

      1 Reply Last reply Reply Quote 0
      • Gargano
        Gargano last edited by

        Bei mir ist unter dem wiederherstellen Google nur der iobroker Pfad, der CCU Pfad fehlt. Backup CCU machen kann ich , der Pfad existiert auch in Google Drive, nur angezeigt wird er nicht. Wie kann ich denn da ein Restore der ccu machen ?

        c29a135c-525c-4375-83c4-55babbd200e9-grafik.png
        26d5cc34-5e7f-4781-8992-895752894c53-grafik.png
        937d2226-cb1f-4c04-bb72-4bf8c7ea7724-grafik.png

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

          @Gargano
          Bitte Doku des Adapters lesen (Bereich Wiederherstellung)

          1 Reply Last reply Reply Quote 0
          • P
            passuff last edited by

            Hallo zusammen,

            ich habe eingestellt, dass die backups auf google drive gespeichert werden sollen. Bekomme seit eniger Zeit folgende Fehlermeldung:

            2020-07-20 02:00:21.482 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
            2020-07-20 02:00:21.572 - error: backitup.0 (23926) unhandled promise rejection: Rate Limit Exceeded
            2020-07-20 02:00:21.815 - error: backitup.0 (23926) Error: Rate Limit Exceeded
            at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:108:15)
            at runMicrotasks ()
            at processTicksAndRejections (internal/process/task_queues.js:97:5)
            at OAuth2Client.requestAsync (/opt/iobroker/node_modules/google-auth-library/build/src/auth/oauth2client.js:342:22)
            2020-07-20 02:00:21.817 - info: backitup.0 (23926) cleaned everything up...
            2020-07-20 02:00:21.928 - info: backitup.0 (23926) terminating
            2020-07-20 02:00:21.931 - info: backitup.0 (23926) Terminated (NO_ERROR): Without reason
            2020-07-20 02:00:22.469 - error: host.iobroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
            2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: Error: Rate Limit Exceeded
            2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:108:15)
            2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: at runMicrotasks ()
            2020-07-20 02:00:22.471 - error: host.iobroker Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
            2020-07-20 02:00:22.471 - error: host.iobroker Caught by controller[1]: at OAuth2Client.requestAsync (/opt/iobroker/node_modules/google-auth-library/build/src/auth/oauth2client.js:342:22)
            2020-07-20 02:00:22.471 - info: host.iobroker instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR)
            2020-07-20 02:00:22.471 - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
            

            Das tritt nicht bei jedem backup auf. Manchmal funktioniert es auch. Hat jemand eine Idee?

            simatec P 2 Replies Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @passuff last edited by

              @passuff
              Welche Version von backitup ist installiert und welche node, nodejs, npm und js-controller Versionen hast du laufen?

              1 Reply Last reply Reply Quote 0
              • P
                passuff last edited by

                installiert habe ich Backitup in der Version 1.5.8.

                root@iobroker:~# iobroker info
                Platform       : linux
                os             : linux
                Architecture   : x64
                CPUs           : 1
                Speed          : 1699 MHz
                Model          : Common KVM processor
                RAM            : 3.8 GB
                System uptime  : 23d. 13:42:14
                Node.js        : v12.18.0
                Disk size      : 27.4 GiB
                Disk free      : 25.0 GiB
                adapters count : 355
                NPM            : v6.14.5
                
                1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active last edited by

                  Ab sofort ist die Version 1.5.9 auf Github und in Kürze auch im latest verfügbar ...

                  Changelog

                  1.5.9 (21.07.2020)

                  • (simatec) small fixes on mysql backup
                  • (simatec) next bugfixs errorhandling sentry.io
                  • (simatec) updated dependencies
                  1 Reply Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active last edited by

                    Ab sofort ist die Version 1.6.0 auf Github und in Kürze auch im latest verfügbar ...

                    Changelog

                    1.6.0 (03.08.2020)

                    • (Jey-Cee/simatec) adapter configuration revised
                    K 1 Reply Last reply Reply Quote 1
                    • K
                      Kueppert @simatec last edited by

                      @simatec ich wundere mich schon länger, arum mein MySQL-Backup immer nur 0 kb groß ist. Hab mit phpmyadmin mal in die SQL reingeschaut - da sind jede Menge werte vorhanden. Also mal auf die VM gegangen und geschaut, ob das file überhaupt exitiert (mysqldump) - JA, das gibt es.
                      Hab dann mal ins LOG geschaut und folgenden Eintrag gefunden:

                      [ERROR] [mysql] - [IGNORED] Error: Command failed: /usr/bin/mysqldump  -u iobroker -p**** iobroker -h 192.168.178.73 -P 3306 > /opt/iobroker/backups/mysql_2020_08_04-09_31_43_backupiobroker.sql
                      /bin/sh: 1: /usr/bin/mysqldump: not found
                      

                      (habe den Ordner zu der mysqldump eingetragen; vorher hatte ich aber den gleichen Fehler). Backitup findet die Datei nicht? Vorhanden ist sie aber...
                      Im Adapter habe ich den User für die Datenbank eingetragen - ist es möglich, dass dieser user die Datei ggf. nicht ausführen darf wegen fehlender Rechte? Im backitup-Adapter hab ich die Konfig vom MySQL-Adapter übernommen (der User für die DB ist korrekt).
                      dc4430b6-7fec-43bb-b67f-4caacd9e9500-grafik.png
                      Wenn ich Infos vergessen habe, die für eine ANalyse notwendig sind, teilt mir das bitte mit.
                      Die MySQL-DB läuft auf einer VM unter Proxmox (und wird problemlos beschrieben).

                      Danke euch und vG, Thorsten

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

                        @passuff sagte in Test Adapter Backitup v1.6.x:

                        Hallo zusammen,

                        ich habe eingestellt, dass die backups auf google drive gespeichert werden sollen. Bekomme seit eniger Zeit folgende Fehlermeldung:

                        2020-07-20 02:00:21.482 - error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        2020-07-20 02:00:21.572 - error: backitup.0 (23926) unhandled promise rejection: Rate Limit Exceeded
                        2020-07-20 02:00:21.815 - error: backitup.0 (23926) Error: Rate Limit Exceeded
                        at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:108:15)
                        at runMicrotasks ()
                        at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        at OAuth2Client.requestAsync (/opt/iobroker/node_modules/google-auth-library/build/src/auth/oauth2client.js:342:22)
                        2020-07-20 02:00:21.817 - info: backitup.0 (23926) cleaned everything up...
                        2020-07-20 02:00:21.928 - info: backitup.0 (23926) terminating
                        2020-07-20 02:00:21.931 - info: backitup.0 (23926) Terminated (NO_ERROR): Without reason
                        2020-07-20 02:00:22.469 - error: host.iobroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                        2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: Error: Rate Limit Exceeded
                        2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:108:15)
                        2020-07-20 02:00:22.470 - error: host.iobroker Caught by controller[1]: at runMicrotasks ()
                        2020-07-20 02:00:22.471 - error: host.iobroker Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        2020-07-20 02:00:22.471 - error: host.iobroker Caught by controller[1]: at OAuth2Client.requestAsync (/opt/iobroker/node_modules/google-auth-library/build/src/auth/oauth2client.js:342:22)
                        2020-07-20 02:00:22.471 - info: host.iobroker instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR)
                        2020-07-20 02:00:22.471 - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
                        

                        Das tritt nicht bei jedem backup auf. Manchmal funktioniert es auch. Hat jemand eine Idee?

                        Gibts dazu schon was neues?

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

                          @Kueppert so wie ich das sehe, läuft deine sql nicht auf dem gleichen System wie dein iobroker.
                          mysqdump muss also auf deinem iobroker System auch installiert sein.

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

                            @passuff
                            Eventuell mal deinen Token erneuern ... Kann auf allen Testsystemen den Fehler nicht nachstellen

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

                              @simatec habe extra einen neuen google Account für backitup erstellt. Hat aber auch nichts geholfen. Habe sogar ein Testsystem aufgesetzt - leider mit dem selben Ergebnis.

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

                                @passuff
                                Eventuell wurde bei einem Update von node, js-controller oder sonstiges auch was beschädigt.
                                Lösche mal die Instanz und im Anschluss den Adapter von Backitup und installiere diesen nach einem Neustart mal neu.

                                P 1 Reply Last reply Reply Quote 0
                                • K
                                  Kueppert @simatec last edited by

                                  @simatec ahaaaa, danke für den Hinweis 😉
                                  Für alle, die das gleiche Setup haben (Debian 10) hier der Code-Schnipsel für die Installation:

                                  apt-get install default-mysql-client
                                  

                                  Nun geht das Backup auch. Danke und vG, Thorsten

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

                                    @simatec
                                    Habe den Adapter gelöscht und neu aufgesetzt. Da ich aber auf meinem Testsystem die selbe Fehlermeldung erhalte, glaube ich nicht dass sich etwas ändert. Ich bekomme die Fehlemeldung mittlerwele bei jedem zeitgesteuerten Start- bei manueller Auslösung aber nie.
                                    Welches Setup (node, js-controller..) nutzt du?

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      passuff @passuff last edited by

                                      @simatec
                                      Wie erwartet bleibt alles beim alten. Der zeitgesteuerte Upload auf gdrive funktioniert nicht! Manuell weiterhin ohne Probleme möglich. Biete mich gerne zum debugging an, falls du das bei dir nicht nachstellen kannst.

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

                                        Ab sofort steht die Version 1.6.1 zum testen auf Github und in kürze auch im latest zur Verfügung.

                                        Changelog

                                        1.6.1 (24.08.2020)

                                        • (Apollon77) several fixes and optimizations
                                        1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @passuff last edited by

                                          @passuff
                                          Teste mal bitte die Version 1.6.1

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

                                            @simatec
                                            Danke dir. Habe gerade installiert. Jedoch frage ich mich gerade, wie man eine zeitgesteuerte Auslösung triggert, wenn diese heute bereits gelaufen ist?
                                            Notfalls muss ich erst 24h warten (02:00) bevor wir schlauer sind...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            676
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            170
                                            2779
                                            2218636
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo