Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: iobroker.backitup (stable Release)

    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

    Adapter: iobroker.backitup (stable Release)

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

      Ich bin gestern von einem Raspberry Pi 3B auf ein Beelink BT3 Pro umgezogen (Debian > Ubuntu) und habe nur das minimal backitup Backup genutzt.

      Auf dem BT3 habe ich iobroker mittels der neuen Anleitung installiert. Es läuft also alles über den User "iobroker".

      Es wurde folgendes erfolgreich wiederhergestellt:

      • alle Adapter

      • alle Instanzen

      • alle Einstellungen der Instanzen inkl. Access Tokens usw.

      • alle Einstellungen für history pro Datenpunkt

      • alle Smart Geräte

      • alle Räume und Funktionen

      • alle Skripte

      Einzig meine SQL lite db und die alten history JSON Dateien der letzten Monate/Jahre musste ich manuell ins iobroker-data Verzeichnis einspielen.

      Das ist aber für den sofortigen vollständigen Betrieb nicht nötig. Für meinen bisherigen Einsatz ist ein Vollbackup also eher was für den Kopf.

      Auch eine Virtualisierung mittels Proxmox habe ich mir vorerst erspart. Mit dem minimal Backup setze ich ioBroker binnen 1h auf jedem neuen System auf. Am längsten dauert tatsächlich die automatische Wiederherstellung aller Adapter+Instanzen. Aber das läuft ja von allein. Man braucht halt Geduld.

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

        So habe bis jetzt gewartet.

        Also external.sh ist nicht mehr gelaufen, Iobroker war aber immer noch nicht gestartet.

        Habe jetzt einen Reboot gemacht und siehe da, alles ist wieder perfekt da und läuft! 😄

        Vielen Dank für die Hilfe.

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

          Da bleibt mir noch immer die Frage, mit welcher Version von backitup hast du den Restore gemacht?

          Gesendet von iPhone mit Tapatalk

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

            Achso sorry, mit der aktuellen 1.0.8 hab ich gesichert und auch mit der 1.0.8 zurückgesichert.

            Ich versuche jetzt gerade das ich nur eine Meldung bekomme (Email oder Telegram) wenn das Backup schief geht.

            Habe es nun mit einem Trigger auf die Objekte "minimalSuccess" usw. probiert, aber diese ändern sich nicht, ist das normal?

            Ich hätte ja ein Script laufen das Errors im Log per Mail schickt, aber auch bei nicht erfolgreichen Sichern zeigt der Adapter im Log kein Error.

            Hat noch jemand anders eine Idee wie ich das noch lösen könnte?

            EDIT: Hat sich erledigt, es gibt ja einen HTML History-Log, dort kann ich ja einen Trigger setzen!

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

              Falls jemand auch die Option haben will nur benachrichtigt zu werden wenn das Backup fehl schlägt, hier das Blockly:

              6616_backitup.jpg

              1 Reply Last reply Reply Quote 0
              • C
                chemieka last edited by

                Kann mir wer sagen, wie lange in etwa das zurückspielen eines Totalbackups auf ein Frisches IObroker dauert?

                So in etwa?

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

                  steht doch https://forum.iobroker.net/viewtopic.php?f=23&t=15256&start=1680#p227393

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

                    @chemieka:

                    Kann mir wer sagen, wie lange in etwa das zurückspielen eines Totalbackups auf ein Frisches IObroker dauert?

                    So in etwa? `

                    Das hängt von der Größe deines Backup Files und von der Rechenleistung deiner Hardware ab.

                    Des Weiteren dauert ein Restore via FTP, cifs, nfs oder Dropbox länger, als ein Restore von Lokal.

                    Also alles im allem kann man das nicht pauschalisieren.

                    Gesendet von iPhone mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • C
                      chemieka last edited by

                      Ich hatte mal diesen Befehl ausgeführt. Kann es sein das da nix läuft?

                      Schaue ich per Sftp drauf würde ich sagen da lief nix.

                      1867_unbenannt.jpg

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

                        Was hast du genau gemacht?

                        Hast du iobroker neu aufgesetzt? Falls ja, wann?

                        Welche Version von backitup ist installiert

                        Gesendet von iPhone mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • C
                          chemieka last edited by

                          Heute eine neue SD mit Image von Download Button hier im Forum aufgesetzt. Und nach Reboot hatte ich Backitup geupdatet. irgendwas mit 1.3 oder 1.0.3 oder so genau kann ich es nicht sagen. Da läuft nix da kann ich auch mal rebooten und schauen.

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

                            Welches Image hast du genommen?

                            Gesendet von iPhone mit Tapatalk

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

                              @chemieka:

                              filename="Unbenannt.JPG" index="0">~~ `

                              Bist du dir sicher?

                              Am 14.4.2018 gab es backitup noch garnicht und dementsprechend kann auch nicht die Version 1.0.3 dort installiert sein.

                              Da es aktuell Probleme mit dem Installer gibt, bzw. bis zum 22.1. gab, ist es wichtig, um deinen Fehler zu finden.

                              Gesendet von iPhone mit Tapatalk

                              1 Reply Last reply Reply Quote 0
                              • C
                                chemieka last edited by

                                Ich schau mal und starte die PI neu

                                1 Reply Last reply Reply Quote 0
                                • C
                                  chemieka last edited by

                                  1867_unbenannt.jpg

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

                                    Gut und das Image vom 14.4.2018 hast du genommen.

                                    Backitup scheint via Github von dir installiert zu sein.

                                    Dann starte mal backitup neu, damit alle Abhängigkeiten erzeugt werden.

                                    Ist dein total backup mit backitup erstellt wurden?

                                    Wenn ja sollte es nach einem Neustart dann laufen.

                                    Wurde iobroker überhaupt gestoppt?

                                    Gesendet von iPhone mit Tapatalk

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chemieka last edited by

                                      Das Backup wurde von BackitUp am 1.1.2019 erzeugt.

                                      Genau so habe ich es vorhin gemacht. Leider sieht man nicht ob was läuft.

                                      Ich habe jetzt mal den Host und Admin aktualisiert.

                                      Und schiebe das Backup Rückspielen nochmal an.

                                      Und stoppen macht doch Backitup selber oder?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chemieka last edited by

                                        Jetzt scheint was zu laufen.

                                        1867_unbenannt.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chemieka last edited by

                                          Das Backup hat wohl jetzt funktioniert. Gott sein Dank.

                                          Hat jemand noch einen Tip, wo die Blocky Skripts liegen?

                                          Aber eine Frage noch. Ich habe jetzt wieder Backitup geupdatet und ist auch drauf aber es kamen viele Fehler. Muss ich noch irgendwas machen und wenn ja wie?

                                          $ ./iobroker url "https://github.com/simatec/ioBroker.backitup/tarball/master" backitup
                                          install https://github.com/simatec/ioBroker.backitup/tarball/master
                                          npm install https://github.com/simatec/ioBroker.backitup/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                          node-pre-gyp
                                           info it worked if it ends with ok
                                          node-pre-gyp verb cli [ '/usr/bin/node',node-pre-gyp verb cli   '/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                                          node-pre-gyp verb cli   'install',
                                          node-pre-gyp verb cli   '--fallback-to-build' ]
                                          node-pre-gyp info using node-pre-gyp@0.6.32
                                          node-pre-gyp info using node@8.11.1 | linux | arm
                                          
                                          node-pre-gyp verb command install []
                                          node-pre-gyp info check checked for "/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/build/Release/serialport.node" (not found)
                                          node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
                                          node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
                                          node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.11.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
                                          node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz 
                                          
                                          node-pre-gyp verb command build [ 'rebuild' ]
                                          gyp
                                          
                                          WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.11.1"gyp
                                           WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/.node-gyp"
                                          make: *** Keine Regel vorhanden, um das Ziel „../.node-gyp/8.11.1/include/node/common.gypi“,   benötigt von „Makefile“, zu erstellen.  Schluss.
                                          
                                          gyp
                                           ERR! build error 
                                          gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/build.js:258:23)
                                          gyp ERR! stack     at emitTwo (events.js:126:13)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                          
                                          gyp ERR! System Linux 4.14.30-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/build/Release"
                                          gyp ERR! cwd /opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport
                                          gyp ERR! node -v v8.11.1
                                          gyp ERR! node-gyp -v v3.6.2
                                          gyp ERR! not ok 
                                          
                                          node-pre-gyp
                                           ERR! build error node-pre-gyp
                                           ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/build/Release' (1)node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
                                          node-pre-gyp ERR! stack
                                               at ChildProcess.emit (events.js:214:7)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
                                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                                          
                                          node-pre-gyp ERR! System Linux 4.14.30-v7+node-pre-gyp ERR!
                                           command "/usr/bin/node" "/opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/smartmeter-obis/node_modules/serialport
                                          node-pre-gyp ERR! node -v v8.11.1
                                          node-pre-gyp ERR!
                                           node-pre-gyp -v v0.6.32node-pre-gyp ERR! not ok 
                                          
                                          npm
                                           WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/smartmeter-obis/node_modules/serialport):npm
                                           WARN
                                           optional
                                           SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`npm
                                           WARN
                                           optional
                                           SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                          
                                          got /opt/iobroker/node_modules/iobroker.backitup/admin
                                          upload [12] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                          upload [11] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                          upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                          upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                          upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                          upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                          upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                          upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                          upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                          upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                          upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                          upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                          upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                          process exited with code 0</anonymous>
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active last edited by

                                            Das hat nix mit backitup zu tun.

                                            Dein total backup hat sicher ein komplett anderen Stand zwecks node Version.

                                            Warum machst du kein Minimal restore.

                                            So wird dein System sauber neu aufgesetzt.

                                            Gesendet von iPhone mit Tapatalk

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

                                            Support us

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

                                            640
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter backitup backup iobroker backup iobroker.backitup
                                            185
                                            2335
                                            1112587
                                            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