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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • simatec
      simatec Developer Most Active @MathiasJ last edited by simatec

      @MathiasJ
      Gut dann liegt dein Problem definitiv nicht an backitup sondern an deinem System
      Prüfe die Rechte von /opt/iobroker/backups mal als erstes ...

      MathiasJ 1 Reply Last reply Reply Quote 0
      • JB_Sullivan
        JB_Sullivan last edited by

        Ich haue mal wieder eine Frage raus, weil dazu in der Doku auf GitHub nichts zu finden ist.

        ZiggBee Datenbank - bezieht sich das nur auf den Adapter ZiggBee oder wird auch was von deConz (ist ja auch ZiggBee) gesichert?

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

          @JB_Sullivan
          Es bezieht sich auf die Gerätedatenbank des zigbee Adapters
          Unter deconz ist das nicht nötig.

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

            @simatec
            Mache ich dann morgen.
            Wie kann das sein, dass das System von jetzt auf gleich so verhunzt ist?
            Gehe ich richtig in der Annahme, dass es 777 sein muss bei /opt/iobroker/backups?

            Rootrechte= chmod 777
            Ich kann weder mit dem user, noch mit root ein Backup erstellen.
            ich habe den Fix nochmal drüber laufen lassen, jedoch ohne Erfolg.
            ich bekomme jedesmal 0 kb.

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

              @MathiasJ
              Am besten mit folgenden Befehlen ...

              
              sudo chmod 777 /opt/iobroker/backups/
              sudo chmod 777 /opt/iobroker/backups
              sudo chmod 777 /opt/iobroker/backups/*
              
              

              Damit bist du ganz sicher ...

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

                @simatec

                root@ioBroker-RasPi4:~# chmod 777 /opt/iobroker/backups/*
                chmod: Zugriff auf '/opt/iobroker/backups/*' nicht möglich: Datei oder Verzeichnis nicht gefunden                                                                                                                                           
                

                Ich werde nach der Arbeit Backitup komplett deinstallieren, den Ordner /opt/iobroker/backups löschen,
                Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.

                Gruß,
                Mathias

                E simatec 2 Replies Last reply Reply Quote 0
                • J
                  Jan1 last edited by Jan1

                  wieder wurde das automatische Backup nicht entsprechend der Vorgabe erstellt. alles doppelt und IOBroker fehlt:
                  17639e4e-d5eb-4007-bf69-23bc25b125ad-grafik.png

                  im Log wieder die bekannten compact mode Errors:

                  2019-12-18 02:00:38.043  - error: backitup.0 (COMPACT) TypeError: Cannot read property 'split' of undefined
                      at options.adapter.getState (/opt/iobroker/node_modules/iobroker.backitup/lib/scripts/92-history.js:24:40)
                      at Adapter.getState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5407:29)
                      at Object.command (/opt/iobroker/node_modules/iobroker.backitup/lib/scripts/92-history.js:10:25)
                      at Immediate.executeScripts (/opt/iobroker/node_modules/iobroker.backitup/lib/execute.js:216:22)
                      at runCallback (timers.js:706:11)
                      at tryOnImmediate (timers.js:676:5)
                  

                  088020db-2f17-4ac6-b170-be76618712c7-grafik.png

                  und auch wieder beim manuellen Start des Backup alles OK.
                  Warum geht das automatisch nicht?

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

                    @MathiasJ said in Test Adapter Backitup v1.3.x:

                    Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.

                    Der Ordner wird nicht von BackitUp angelegt, sondern von ioBroker.

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

                      @Einstein67
                      Das ist so nicht korrekt.
                      Backitup legt den Ordner beim ersten Start an

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

                        @Jan1
                        Das ist aber eine andere Fehlermeldung.
                        Entstanden ist die durch den Compact Modus und wird ebenfalls gefixt.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @simatec last edited by

                          @simatec
                          Ich habe eben mal Node 10.18 hoch und den Backitup Adapter neu installiert. Mal sehen ob er heute Nacht das Backup korrekt ausführt.
                          Was ich aber nicht verstehe, wo ist der Unterschied zwischen automatisch und manuellem Start?

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

                            @Jan1 sagte in Test Adapter Backitup v1.3.x:

                            automatisch

                            Ich denke das es eher mit dem Compact Mode zu tun hat.
                            Die State, welche den error verursachen kommen ab und an im Compact zu spät.

                            Aber da ist es halt so, wie in der Doku geschrieben steht, dass der Compact Modus auch die Funktionen instabiler machen kann.
                            Ich rate grundsätzlich nur zu einem Compact Modus, wenn dass System absolut zu klein ist.
                            Und wichtige Adapter wie dieser hier zur Datensicherung würde ich aus dem Compact Modus rausnehmen.

                            Ich probiere die neue Fehlermeldung zu lösen, aber grundsätzlich würde ich die stabile Variante ohne Compact Modus vorziehen.

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @simatec last edited by

                              @simatec
                              Ok, ich nehme in raus, da auf meinem Beelink eh genug Platz vorhanden ist.

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

                                @MathiasJ sagte in Test Adapter Backitup v1.3.x:

                                @simatec

                                root@ioBroker-RasPi4:~# chmod 777 /opt/iobroker/backups/*
                                chmod: Zugriff auf '/opt/iobroker/backups/*' nicht möglich: Datei oder Verzeichnis nicht gefunden                                                                                                                                           
                                

                                Ich werde nach der Arbeit Backitup komplett deinstallieren, den Ordner /opt/iobroker/backups löschen,
                                Backitup wieder installieren. Dann müsste der Odner neu angelegt werden.

                                Gruß,
                                Mathias

                                Wenn die beiden anderen Befehlen keinen Fehler ausgeworfen haben, dann hat der Backup Ordner lediglich keinen Inhalt

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

                                  Ab sofort ist die Version 1.3.6 im Github und ab spätestens heute Nacht auch in der latest Repo.

                                  Changelog

                                  1.3.6 (18.12.2019)

                                  • (simatec) Fix historyList for compact-mode
                                  • (simatec) Added ack for history states
                                  Agria4800 1 Reply Last reply Reply Quote 1
                                  • MathiasJ
                                    MathiasJ @simatec last edited by

                                    @simatec
                                    Dann müsste es eigentlich passen....... eigentlich, aber 0 kb 😠

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

                                      @MathiasJ
                                      Dann hast du ein anderes Problem.
                                      Hast eventuell mal ein node Update gemacht und danach keinen sauberen rebuild deiner Iobroker Installation?

                                      Wie gesagt backitup kann hier definitiv ausgeschlossen werden, da der Konsolenbefehl auch nicht läuft.

                                      Dein Problem sitzt bei dir tiefer

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

                                        @simatec
                                        Auf deine Antwort bin ich jetzt gespannt........
                                        IObroker neu aufgesetzt (Download von dieser Webseite)
                                        Backitup 1.3.6 installiert,
                                        Backup auf der NAS 0 kb
                                        Backup in der Konsole war i.O.
                                        Zurück zur 1.3.2
                                        Backup auf der NAS 0 kb
                                        Backup in der Konsole ausgeführt 0 kb.
                                        Soll das jetzt heißen, dass der Download auf dieser Seite nichts taugt?
                                        Ich wollte lediglich die nackte IObroker-Installation sichern......
                                        Ach ja, bevor ich es vergesse:
                                        ein Backup in der Konsole hat funktioniert, als Backitup noch nicht downgegraded wurde.

                                        Edit:
                                        nach dem Downgrade von Backitup hilft nur ein Neustart von IObroker, sonst 0 kb.
                                        Man hätte auch darauf hinweisen können, dass auf der NAS nur noch SMB3 geht......

                                        Homoran simatec 2 Replies Last reply Reply Quote 0
                                        • Agria4800
                                          Agria4800 @simatec last edited by

                                          @simatec Habe die V1.3.6 am laufen, ein Backup erstellt er auch brav, leider bringt er mir ein "error: 21. Dezember 2019 um 10:21 Uhr" im backitup.1.history.iobrokerLastTime und ein false in backitup.1.history.iobrokerSuccess.

                                          Kann mir das nicht erklären... kannst du helfen ?

                                          Das steht im LOG:

                                          backitup.1	2019-12-21 10:29:23.074	debug	(7199) [iobroker] exec: done
                                          backitup.1	2019-12-21 10:29:23.073	debug	(7199) [iobroker/history] backitup.1.history.html
                                          backitup.1	2019-12-21 10:29:23.025	debug	(7199) [iobroker/clean] done
                                          backitup.1	2019-12-21 10:29:23.024	debug	(7199) [iobroker/iobroker] done
                                          backitup.1	2019-12-21 10:29:22.012	debug	(7199) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2019_12_21-10_29_12_NUC6_Backupit.1_backupiobroker.tar.gz
                                          backitup.1	2019-12-21 10:29:14.546	debug	(7199) [iobroker/iobroker] host.nuc6 11205 objects saved
                                          backitup.1	2019-12-21 10:29:14.526	debug	(7199) [iobroker/iobroker] host.nuc6 10906 states saved
                                          backitup.1	2019-12-21 10:29:04.979	debug	(7199) [iobroker] 10 00 02 */1 * *
                                          backitup.1	2019-12-21 10:29:04.965	info	(7199) [iobroker] backup was activated at 02:00 every 1 day(s)
                                          backitup.1	2019-12-21 10:29:04.940	info	(7199) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0
                                          backitup.1	2019-12-21 10:29:03.799	debug	(7199) States connected to redis: 127.0.0.1:9000
                                          backitup.1	2019-12-21 10:29:03.749	debug	(7199) statesDB connected
                                          backitup.1	2019-12-21 10:29:03.749	debug	(7199) States create PubSub Client
                                          backitup.1	2019-12-21 10:29:03.744	debug	(7199) Objects connected to redis: 127.0.0.1:9001
                                          backitup.1	2019-12-21 10:29:03.743	debug	(7199) Redis States: Use Redis connection: 127.0.0.1:9000
                                          backitup.1	2019-12-21 10:29:03.741	debug	(7199) objectDB connected
                                          backitup.1	2019-12-21 10:29:03.734	debug	(7199) Objects client initialize lua scripts
                                          backitup.1	2019-12-21 10:29:03.733	debug	(7199) Objects create PubSub Client
                                          backitup.1	2019-12-21 10:29:03.732	debug	(7199) Objects client ready ... initialize now
                                          backitup.1	2019-12-21 10:29:03.714	debug	(7199) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                          backitup.1	2019-12-21 10:29:00.471	info	(5953) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                          backitup.1	2019-12-21 10:29:00.469	info	(5953) terminating
                                          backitup.1	2019-12-21 10:28:59.967	info	(5953) Got terminate signal TERMINATE_YOURSELF
                                          backitup.1	2019-12-21 10:28:55.362	info	(5953) [iobroker] backup was activated at 02:00 every 1 day(s)
                                          backitup.1	2019-12-21 10:28:55.331	info	(5953) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0
                                          

                                          und das in der Backupit Anzeige während dem Ausführen:

                                          Gestartet...
                                          [DEBUG] [iobroker] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","nameSuffix":"NUC6_Backupit.1","deleteBackupAfter":0,"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/var/lib/redis"},"historyDB":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"media/usb/history"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"email":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
                                          [DEBUG] [iobroker] - host.nuc6 10906 states saved
                                          
                                          [DEBUG] [iobroker] - host.nuc6 11205 objects saved
                                          
                                          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2019_12_21-10_29_12_NUC6_Backupit.1_backupiobroker.tar.gz
                                          
                                          [DEBUG] [iobroker] - done
                                          [DEBUG] [clean] - done
                                          [DEBUG] [history] - backitup.1.history.html
                                          [EXIT] 0
                                          [DEBUG] [history] start with {"type":"creator","time":"02:00","debugging":true,"everyXDays":"1","nameSuffix":"NUC6_Backupit.1","deleteBackupAfter":0,"dir":"/opt/iobroker","redis":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/var/lib/redis"},"historyDB":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"media/usb/history"},"zigbee":{"enabled":false,"type":"creator","ftp":{"enabled":false,"type":"storage","source":"local","host":"","debugging":true,"deleteOldBackup":false,"ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker","user":"","pass":"****","port":"21"},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****"},"dropbox":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessToken":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"googledrive":{"enabled":false,"type":"storage","source":"local","debugging":true,"deleteOldBackup":false,"accessJson":"****","ownDir":false,"dir":"/backupDir","dirMinimal":"/backupDir/iobroker"},"path":"/opt/iobroker/iobroker-data"},"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"21. Dezember 2019 um 10:29 Uhr"},"email":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","onlyError":false,"emailWaiting":0,"systemLang":"de"},"pushover":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
                                          
                                          simatec 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @MathiasJ last edited by

                                            @MathiasJ sagte in Test Adapter Backitup v1.3.x:

                                            dass auf der NAS nur noch SMB3 geht......

                                            Das stimmt ja so auch nicht.

                                            Das kommt darauf an was dein NAS für Einstellungen hat.
                                            Wenn du da bei der Sambakonfig smb3 voraussetzt musst du das aber auch bei backitup einstellen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            512
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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