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.
    • E
      Einstein67 @simatec last edited by Einstein67

      @simatec Hallo und vielen Dank für die neue Version und das Wiki.

      Ich hab gestern meine InfluxDB auf zwei Instanzen (wegen unterschiedlicher Vorhaltezeiten) umgestellt.

      Hat super funktioniert und nach Angabe der Datenbanken in BackitUp (Sicherung mehrer Systeme) werden sie auch (als 2 unterschiedliche Dateien) auf mein NAS gesichert.

      Beim Restore werden aber beide DBs komischerweise mit dem selben Namen (iobroker) erstellt. Deshalb lässt sich nur die erste DB wiederherstellen. Die zweite scheitert dann weil die DB schon vorhanden ist, mit der Fehlermeldung:

      Started restore ...
      [DEBUG] [influxDB] - Created tmp directory
      [DEBUG] [influxDB] - Start infuxDB Restore ...
      [ERROR] [influxDB] - 2022/05/26 09:53:40 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
      

      Hab ich da einen Denkfehler .... und das geht so nicht?

      Edit:

      Datenbank der Instanz.0 heißt: iobroker
      Datenbank der Instanz.1 heißt: tempdaten

      Beim Wiederherstellen werden beide als iobroker erstellt.

      EditEdit: Wenn man die erstellten Backups entpackt und das Restore über den Influxdb-Befehl manuell ausführt, dann werden die DBs unter dem richtigen Namen problemlos erstellt. Also kein großes Problem ... 😉

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

        @einstein67 danke gür den Hinweis. Könntest du hierzu bitte ein Issue aufmachen?

        E 1 Reply Last reply Reply Quote 0
        • A
          Altersrentner @simatec last edited by

          @simatec
          Guten Morgen,
          Ich habe gerade festgestellt, dass meine v2.4.6 nicht wie gefordert regelmäßig sichert.
          Letzte Sicherung von ioBrokerist erfolgte auf GoogleDrive am 04.05.22

          Started iobroker ...
          [DEBUG] [iobroker] - host.raspberrypi 21952 states saved
          
          [DEBUG] [iobroker] - host.raspberrypi 24331 objects saved
          
          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_05_26-10_45_47_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_2022_05_26-10_46_10_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] [historyDB] - compress from historyDB started ...
          [ERROR] [historyDB] - Backitup cannot found source "undefined" for compress!
          

          GoogleDrive Zugriff ist vorhanden / wurde erneuert.
          Mit freundlichen Grüßen
          Michael

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

            @altersrentner
            Prüfe in dem History Adapter den Speicherpfad und trage diesen auch im identisch im Backup Adapter ein

            A 1 Reply Last reply Reply Quote 0
            • E
              Einstein67 @simatec last edited by

              @simatec said in Test Adapter ioBroker.backitup v2.4.x:

              Könntest du hierzu bitte ein Issue aufmachen?

              Ja mach ich dann! Ich will vorher noch rausfinden obs eventuell doch nur an meinen Einstellungen liegt.

              DB-Benutzername: "iobroker"
              DB-Name: "iobroker"

              Vielleicht "beisst" sich da was in den Schwanz ... 🙂

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

                @einstein67 Ich schaue mal im Code, ob da eventuell ein Konflikt besteht.
                Eventuell muss ich bei den Multi Backups den DB Namen für den Restore mit in das Archiv legen

                Muss ich mir mal anschauen

                E 1 Reply Last reply Reply Quote 0
                • A
                  Altersrentner @simatec last edited by

                  @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

                  im identisch im Backup Adapter

                  Danke für Deine Nachricht.
                  Ist unverändert:

                  Started iobroker ...
                  [DEBUG] [iobroker] - host.raspberrypi 21952 states saved
                  
                  [DEBUG] [iobroker] - host.raspberrypi 24331 objects saved
                  
                  [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_05_26-11_29_34_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_2022_05_26-11_29_56_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] [historyDB] - compress from historyDB started ...
                  [ERROR] [historyDB] - Backitup cannot found source "undefined" for compress!
                  

                  History1.png
                  History2.png
                  MfG Michael

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

                    @altersrentner
                    Also „iobroker“ ist keine Pfadangabe.
                    Wo liegen denn deine ganze History Daten auf dem System?

                    A 1 Reply Last reply Reply Quote 0
                    • E
                      Einstein67 @simatec last edited by Einstein67

                      @simatec said in Test Adapter ioBroker.backitup v2.4.x:

                      Eventuell muss ich bei den Multi Backups den DB Namen für den Restore mit in das Archiv legen

                      Danke!!

                      Die DB-Namen werden in den *.manifest Dateien beim "BackitUp" 😉 richtig eingetragen. Sollten also vorhanden sein.

                      Kopiert man alle Dateien aus den Multi-Backups in einen Ordner und macht ein Restore, dann werden ja auch alle Datenbanken perfekt wieder angelegt und befüllt.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Altersrentner @simatec last edited by

                        @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

                        Also „iobroker“ ist keine Pfadangabe.
                        Wo liegen denn deine ganze History Daten auf dem System?

                        😧 😧 😧
                        Da bin ich überfordert.
                        Wo könnte ich nachsehen?
                        Warum hat es bis Anfang Mai funktioniert und jetzt nicht mehr.
                        MfG Michael

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

                          @altersrentner
                          Das kann ich dir nicht beantworten. Es gab ein großes History Update.

                          Zeige mal bitte folgende Ausgaben

                          ls -lah /opt/iobroker
                          ls -lah /opt/iobroker/iobroker-data
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Altersrentner @simatec last edited by

                            @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

                            Zeige mal bitte folgende Ausgaben

                            Danke für Deine Hilfe😊
                            Hier die gewünschten Angaben:

                            pi@raspberrypi:~ $ ls -lah /opt/iobroker
                            total 476K
                            drwxrwxr-x+   6 iobroker iobroker 4.0K May 25 16:17 .
                            drwxr-xr-x    5 root     root     4.0K Mar  8  2021 ..
                            drwxrwxr-x+   2 iobroker iobroker  56K May 26 12:58 backups
                            -rwxrwxrwx+   1 iobroker iobroker 1.6K May 21 16:44 INSTALLER_INFO.txt
                            lrwxrwxrwx    1 iobroker iobroker   22 May 21 16:44 iob -> /opt/iobroker/iobroker
                            -rwxr-xr-x+   1 iobroker iobroker  309 May 21 16:44 iobroker
                            drwxrwxr-x+  15 iobroker iobroker 4.0K May 26 14:27 iobroker-data
                            drwxrwxr-x+   2 iobroker iobroker 4.0K May 26 14:30 log
                            drwxrwxr-x+ 695 iobroker iobroker  32K May 25 16:17 node_modules
                            -rw-rwxr--+   1 iobroker iobroker  155 May 21 16:28 .npmrc
                            -rw-rwxr--+   1 iobroker iobroker 1.9K May 25 16:17 package.json
                            -rw-rwxr--+   1 iobroker iobroker 344K May 25 16:17 package-lock.json
                            -rw-rwxr--+   1 iobroker iobroker 5.6K Dec 29 18:45 reinstall.js
                            pi@raspberrypi:~ $ ls -lah /opt/iobroker/iobroker-data
                            total 109M
                            drwxrwxr-x+  15 iobroker iobroker 4.0K May 26 14:27 .
                            drwxrwxr-x+   6 iobroker iobroker 4.0K May 25 16:17 ..
                            drwxrwxr-x+   2 iobroker iobroker 4.0K Apr  6 13:10 backitup
                            drwxrwxr-x+   2 iobroker iobroker  12K May 26 13:25 backup-objects
                            drwxrwxr-x+  65 iobroker iobroker 4.0K May 25 16:17 files
                            drwxrwxr-x+   3 iobroker iobroker 4.0K Mar 22 08:44 history
                            drwxrwxr-x+   4 iobroker iobroker 4.0K Mar 21 07:44 InfluxDB
                            drwxrwxr-x+  69 iobroker iobroker 4.0K May 26 00:06 iobroker
                            drwxrwxr-x+ 363 iobroker iobroker  12K Mar 20 21:57 iobroker-data
                            drwxrwxr-x+   4 iobroker iobroker 4.0K Mar 21 00:07 ioBroker_DB
                            -rw-rwxr--+   1 iobroker iobroker 2.4K Apr  6 13:07 iobroker.json
                            drwxrwxr-x+   3 iobroker iobroker 4.0K Mar  8  2021 jarvis
                            -rw-rwxr--+   1 iobroker iobroker    3 May 25 21:25 notifications.json
                            -rw-rwxr--+   1 iobroker iobroker  27M Feb 27 21:58 objects.json.bak.migrated
                            -rw-rwxr--+   1 iobroker iobroker  12M Sep 10  2021 objects.json.broken
                            -rw-rw-r--+   1 iobroker iobroker  31M May 26 14:31 objects.jsonl
                            drwxrwxr-x+   2 iobroker iobroker 4.0K May 26 14:31 objects.jsonl.lock
                            -rw-rwxr--+   1 iobroker iobroker  27M Feb 27 21:58 objects.json.migrated
                            -rw-rwxr--+   1 iobroker iobroker 4.0M Feb 27 21:58 states.json.bak.migrated
                            -rw-rwxr--+   1 iobroker iobroker    0 Nov  1  2021 states.json.broken
                            -rw-rw-r--+   1 iobroker iobroker 5.1M May 26 14:30 states.jsonl
                            drwxrwxr-x+   2 iobroker iobroker 4.0K May 26 14:31 states.jsonl.lock
                            -rw-rwxr--+   1 iobroker iobroker 4.0M Feb 27 21:58 states.json.migrated
                            drwxrwxr-x+   2 iobroker iobroker 4.0K Mar  8  2021 tmp
                            drwxrwxr-x+   2 iobroker iobroker  20K May 26 14:27 zigbee_0
                            pi@raspberrypi:~ $
                            
                            

                            MfG Michael

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Altersrentner last edited by

                              @altersrentner
                              tage das als Pfad beim history ein

                              /opt/iobroker/iobroker-data/history
                              
                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Altersrentner @crunchip last edited by

                                @crunchip sagte in Test Adapter ioBroker.backitup v2.4.x:

                                /opt/iobroker/iobroker-data/history

                                Habe ich gemacht,
                                Eben gesichert.
                                Es hat funktioniert.
                                History, Influx und ioBroker gesichert.
                                Danke

                                MfG Michael

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

                                  @altersrentner das meinte ich mit richtigen Pfad

                                  M 1 Reply Last reply Reply Quote 0
                                  • sigi234
                                    sigi234 Forum Testing Most Active @Altersrentner last edited by

                                    @altersrentner

                                    Hinweis:

                                    Eine Datensicherung macht man immer auf einem externen Medium! 😏

                                    A crunchip 2 Replies Last reply Reply Quote 1
                                    • A
                                      Altersrentner @sigi234 last edited by

                                      @sigi234 sagte in Test Adapter ioBroker.backitup v2.4.x:

                                      Eine Datensicherung macht man immer auf einem externen Medium!

                                      Ich sichere auf GoogleDrive,
                                      ist das OK?
                                      MfG Michael

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @Altersrentner last edited by

                                        @altersrentner sagte in Test Adapter ioBroker.backitup v2.4.x:

                                        @sigi234 sagte in Test Adapter ioBroker.backitup v2.4.x:

                                        Eine Datensicherung macht man immer auf einem externen Medium!

                                        Ich sichere auf GoogleDrive,
                                        ist das OK?
                                        MfG Michael

                                        Besser, hatte schon Firmen die ihre Buchhaltung auf Laufwerk C sicherten. 😀

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @sigi234 last edited by

                                          @sigi234
                                          @Altersrentner hat sich zeitweise sogar 4fach abgesichert und hat ungewollt sogar backups der backups gemacht😜
                                          kleiner Spaß am Rande

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            MCU @simatec last edited by

                                            @simatec Frage zum backup.json -Inhalt: Warum wird doppelt gespeichert?
                                            Zu jeder ID wird ein "value" gespeichert und ein "doc", obwohl beide Werte gleich sind.
                                            Gibt es dafür einen besonderen Grund oder könnte man auch "doc" in der Sicherung weglassen? Platz sparen?
                                            Vielen Dank.

                                            {
                                                  "id": "system.adapter.dwd.0.compactMode",
                                                  "value": {
                                                    "_id": "system.adapter.dwd.0.compactMode",
                                                    "type": "state",
                                                    "common": {
                                                      "name": "dwd.0.compactMode",
                                                      "type": "boolean",
                                                      "read": true,
                                                      "write": false,
                                                      "role": "indicator.state"
                                                    },
                                                    "native": {},
                                                    "from": "system.adapter.dwd.0",
                                                    "ts": 1650067215973,
                                                    "acl": {
                                                      "object": 1636,
                                                      "state": 1636,
                                                      "owner": "system.user.admin",
                                                      "ownerGroup": "system.group.administrator"
                                                    },
                                                    "user": "system.user.admin"
                                                  },
                                                  "doc": {
                                                    "_id": "system.adapter.dwd.0.compactMode",
                                                    "type": "state",
                                                    "common": {
                                                      "name": "dwd.0.compactMode",
                                                      "type": "boolean",
                                                      "read": true,
                                                      "write": false,
                                                      "role": "indicator.state"
                                                    },
                                                    "native": {},
                                                    "from": "system.adapter.dwd.0",
                                                    "ts": 1650067215973,
                                                    "acl": {
                                                      "object": 1636,
                                                      "state": 1636,
                                                      "owner": "system.user.admin",
                                                      "ownerGroup": "system.group.administrator"
                                                    },
                                                    "user": "system.user.admin"
                                                  }
                                                }
                                            
                                            simatec 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            454
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            168
                                            2756
                                            2216591
                                            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