Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup sichert nicht alles

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backitup sichert nicht alles

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

      Hallo zusammen,

      Hab da ein Problem mit dem Adapter. Denke wird wohl eher an mir liegen, finde nur nicht was ich falsch mache. Problem ist das in der Backup-Datei einige Ordner leer bleiben. Zumindest userdata wäre schon interessant!
      Im Moment sieht´s so aus:
      2fd0d8fd-cedd-477b-8244-3f35f5864c28-grafik.png

      Grafana, Javascripts und Jarvis Backups funktionieren problemlos. Hab ich das jetzt falsch verstanden und die Ordner, welche bei mir leer sind, sollen gar nicht gesichert werden? Das wäre für eine Backup Lösung allerdings schlecht.

      Falls doch hat hoffentlich jemand eine Idee, was ich falsch mache...

      Ach ja, hier mal noch das Log, welches von Backitup beim Backup erstellt wird

      Started iobroker ...
      [DEBUG] [iobroker] - host.iobroker 5734 states saved
      
      [DEBUG] [iobroker] - host.iobroker 6688 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_10_16-18_13_23_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
      
      [DEBUG] [iobroker] - done
      [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] - found Dashboard: temp-test
      [DEBUG] [grafana] - found Dashboard: temperaturen
      [DEBUG] [grafana] - found Dashboard: tanken
      [DEBUG] [grafana] - start Grafana backup compress ...
      [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2023_10_16-18_13_47_backupiobroker.tar.gz
      [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] - done
      [DEBUG] [jarvis] - Created jarvis_tmp directory: "/opt/iobroker/backups/tmpJavis0"
      [DEBUG] [jarvis] - found Jarvis Instance: 0
      [DEBUG] [jarvis] - start Jarvis Backup for Instance 0...
      [DEBUG] [jarvis] - /opt/iobroker/iobroker-data/jarvis/0 copy success!
      [DEBUG] [jarvis] - Created states_tmp directory: "/opt/iobroker/backups/tmpJavis0/states"
      [DEBUG] [jarvis] - settings "theme" not found
      [DEBUG] [jarvis] - Try deleting the Jarvis tmp directory: "/opt/iobroker/backups/tmpJavis0"
      [DEBUG] [jarvis] - Jarvis tmp directory "/opt/iobroker/backups/tmpJavis0" successfully deleted
      [DEBUG] [jarvis] - Backup created: /opt/iobroker/backups/jarvis.0_2023_10_16-18_13_52_backupiobroker.tar.gz
      [DEBUG] [jarvis] - done
      [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
      [DEBUG] [javascripts] - found Script: Alexa_Anfrage_abfangen
      [DEBUG] [javascripts] - found Script: Alexa_Erinnerung_Müll
      [DEBUG] [javascripts] - found Script: Alexa_Timer
      [DEBUG] [javascripts] - found Script: Fensterkontakte_überwachen
      [DEBUG] [javascripts] - found Script: Heizungen
      [DEBUG] [javascripts] - found Script: Modusabfrage_Heizungen
      [DEBUG] [javascripts] - found Script: Wandthermostat_WZ
      [DEBUG] [javascripts] - found Script: Marcus_Anwesenheit_aktuell
      [DEBUG] [javascripts] - found Script: Mausi_Anwesenheit_aktuell
      [DEBUG] [javascripts] - found Script: Überwachung_Haustür_bei_abwesend
      [DEBUG] [javascripts] - found Script: Gerfriertruhe_aus_offline
      [DEBUG] [javascripts] - found Script: Gesamtverbrauch
      [DEBUG] [javascripts] - found Script: Laufzeit_Klimaanlage
      [DEBUG] [javascripts] - found Script: Stromüberwachung
      [DEBUG] [javascripts] - found Script: Temperaturüberwachung_E-Heizung
      [DEBUG] [javascripts] - found Script: Timer_Klima
      [DEBUG] [javascripts] - found Script: Überwachung_Luftfeuchtigkeit
      [DEBUG] [javascripts] - found Script: Memory_Total
      [DEBUG] [javascripts] - found Script: Kontrolle_Lichter
      [DEBUG] [javascripts] - found Script: Muelltonnen
      [DEBUG] [javascripts] - found Script: TV_und_Licht
      [DEBUG] [javascripts] - found Script: Telegram
      [DEBUG] [javascripts] - found Script: Schinken_Info
      [DEBUG] [javascripts] - found Script: Schinken_reifen
      [DEBUG] [javascripts] - found Script: vis-materialdesign0
      [DEBUG] [javascripts] - found Script: test
      [DEBUG] [javascripts] - found Script: Mobile_Alerts
      [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
      [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
      [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2023_10_16-18_13_52_backupiobroker.tar.gz
      [DEBUG] [javascripts] - done
      [DEBUG] [ftp] - FTP connected.
      [DEBUG] [ftp] - Send iobroker_2023_10_16-18_13_23_backupiobroker.tar.gz
      [DEBUG] [ftp] - Send grafana_2023_10_16-18_13_47_backupiobroker.tar.gz
      [DEBUG] [ftp] - Send jarvis.0_2023_10_16-18_13_52_backupiobroker.tar.gz
      [DEBUG] [ftp] - Send javascripts_2023_10_16-18_13_52_backupiobroker.tar.gz
      [DEBUG] [ftp] - done
      [DEBUG] [clean] - No older backup files are deleted, because this backup was started manually
      [DEBUG] [clean] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [EXIT] 0
      


      Kennt einer eine gute Alternative zu Backitup?

      Dank euch

      Homoran Glasfaser 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Marcus 0 last edited by Homoran

        @marcus-0 sagte in Backitup sichert nicht alles:

        Hab ich das jetzt falsch verstanden und die Ordner, welche bei mir leer sind, sollen gar nicht gesichert werden?

        ja!
        die Daten sind in den states enthalten.
        Dateien (=files) hast du in diesen Verzeichnissen anscheinend keine.

        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Marcus 0 last edited by

          @marcus-0 sagte in Backitup sichert nicht alles:

          Falls doch hat hoffentlich jemand eine Idee, was ich falsch mache...

          gehe ein Verzeichnis zurück , dort ist in der Datei backup.json , alles vorhanden .

          Problem ist das in der Backup-Datei einige Ordner leer bleiben.

          Dort sind keine Einstellungen hinterlegt .
          dort sind z.b
          wenn du im Ordner 0_userdata.0 Bilder hinterlegt hast , bei mir z.b für die GrafanaRendern zu Telegram

          22074895-b42a-49b1-babf-ae7299845e4f-grafik.png
          .

          oder beim Admin ein Bild für den Hintergrund

          97f05392-5321-4fc7-8a23-2a3c9f763493-grafik.png

          schau hier , was ich meine
          https://forum.iobroker.net/topic/68858/gelöst-logo-im-admin-löschen

          Das wäre für eine Backup Lösung allerdings schlecht.

          Alles gut 🙂

          1 Reply Last reply Reply Quote 0
          • M
            Marcus 0 last edited by

            Danke für eure Antworten!

            Stimmt, in der Json sind alle States da.
            Jetzt noch ne blöde Frage: Was muss ich machen um die wieder zu bekommen?? Beim Backup Restore werden sie auf jeden Fall nicht wieder hergestellt. Da ich eins machen musste und eigentlich nichts wieder hergestellt wurde (auch vis hat nicht funktioniert) suche ich da im Moment eine sichere Lösung. Vis hab ich mittlerweile manuell wiederhergestellt

            Homoran Glasfaser 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Marcus 0 last edited by

              @marcus-0 sagte in Backitup sichert nicht alles:

              Beim Backup Restore werden sie auf jeden Fall nicht wieder hergestellt.

              wieso?

              @marcus-0 sagte in Backitup sichert nicht alles:

              auch vis hat nicht funktioniert

              das muss vor dem Restore einmalig manuell installiert werden. ist ein bug.
              Einen Zusammenhang zu konstruieren ist Unsinn.

              @marcus-0 sagte in Backitup sichert nicht alles:

              eigentlich nichts wieder hergestellt wurde

              heisst was?
              hast du auch 1h gewartet?

              M 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Marcus 0 last edited by

                @marcus-0 sagte in Backitup sichert nicht alles:

                Beim Backup Restore werden sie auf jeden Fall nicht wieder hergestellt.

                Eingentlich schon !

                Da ich eins machen musste und eigentlich nichts wieder hergestellt wurde (auch vis hat nicht funktioniert)

                Dazu gibt es hier im Forum eine Lösung daz , da VIS ein Bug hat muß man ein alte Version installieren ... usw.

                1 Reply Last reply Reply Quote 0
                • M
                  Marcus 0 @Homoran last edited by

                  @homoran said in Backitup sichert nicht alles:

                  wieso?

                  Keine Ahnung. Hab den Backupfile genommen und die States werden nicht wiederhergestellt.

                  @homoran said in Backitup sichert nicht alles:

                  das muss vor dem Restore einmalig manuell installiert werden. ist ein bug.
                  Einen Zusammenhang zu konstruieren ist Unsinn.

                  War bekannt und wurde auch gemacht. Die Projekte waren auch in den korrekten Ordnern, wurden aber in VIS nicht angezeigt. Einen Zusammenhang wollte ich eigentlich nicht konstruieren. Habe ich nur erwähnt, da ich auch damit Probleme hatte.

                  @homoran said in Backitup sichert nicht alles:

                  heisst was?
                  hast du auch 1h gewartet?

                  heisst, bis auf die nicht erkannten vis Projekte war halt nichts da. Auch keine States.

                  Naja, ich versuch mich mal daran die backup.json so zu bearbeiten, dass nur userdata importiert wird. Der Rest läuft ja wieder

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Marcus 0 last edited by

                    @marcus-0 sagte in Backitup sichert nicht alles:

                    Hab den Backupfile genommen und die States werden nicht wiederhergestellt.

                    ? wie genommen

                    Naja, ich versuch mich mal daran die backup.json so zu bearbeiten, dass nur userdata importiert wird.

                    Der Rest läuft ja wieder

                    das ist Spielerei ,
                    ich sehe im anderen Thread das du Docker hast , also einen neuen Container mit ioBroker erstellen , dann eine Restore mit dem Backup !

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Glasfaser last edited by

                      @glasfaser sagte in Backitup sichert nicht alles:

                      ich sehe im anderen Thread das du Docker hast

                      ist jetzt nicht wahr 😡

                      @Marcus-0 bitte unbedingt lesen und beachten
                      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                      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

                      383
                      Online

                      31.7k
                      Users

                      79.8k
                      Topics

                      1.3m
                      Posts

                      3
                      9
                      311
                      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