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.
    • simatec
      simatec Developer Most Active @Phil82 last edited by

      @phil82
      Bist du sicher, dass sie auf dem neuen System liegen?
      Prüfe mal bitte mit ls -la /opt/iobroker/backups den Inhalt deines Backup Ordners

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

        @simatec
        Anbei die Ausgabe vom neuen System:
        Unbenannt.JPG
        Ich hatte schon mal geschaut ob ich in der falschen Konsole bin, das passt aber.

        simatec Thomas Braun 2 Replies Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @Phil82 last edited by

          @phil82
          5ca782ce-fbf9-45bc-8a3c-56c4c8cbedeb-image.png

          pi@iobroker-dev:~$ ls -la /opt/iobroker/backups
          insgesamt 13492
          drwxrwxrwx+ 2 iobroker iobroker    4096 Jan 15 18:41 .
          drwxrwxrwx+ 8 iobroker iobroker    4096 Jan  7 22:33 ..
          -rw-rwxr--+ 1 iobroker iobroker 2652160 Dez  1 08:45 homematic_2020_12_01-08_45_                                                                       11_3.53.34_backupiobroker.tar.sbk
          -rw-rw-r--+ 1 iobroker iobroker 2652160 Jan  9 08:45 homematic_2021_01_09-08_45_                                                                           11_3.53.34_backupiobroker.tar.sbk
          -rw-rw-r--+ 1 iobroker iobroker 4218971 Jan  8 15:22 iobroker_2021_01_08-15_22_0                                                                           1_dev_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker 4227979 Jan  9 12:20 iobroker_2021_01_09-12_20_1                                                                           0_dev_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker    2849 Jan  8 15:22 jarvis.0_2021_01_08-15_22_0                                                                           7_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker    2849 Jan  9 12:20 jarvis.0_2021_01_09-12_20_1                                                                           6_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker    1032 Jan  8 15:22 jarvis.1_2021_01_08-15_22_0                                                                           7_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker    1032 Jan  9 12:20 jarvis.1_2021_01_09-12_20_1                                                                           6_backupiobroker.tar.gz
          -rw-rw-r--+ 1 iobroker iobroker    1033 Jan 15 18:40 jarvis.1_2021_01_13-19_55_2                                                                           9_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     188 Nov 30 12:53 zigbee.0_2020_11_30-12_53_1                                                                           5_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     188 Nov 30 16:09 zigbee.0_2020_11_30-16_09_1                                                                           6_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     188 Dez  1 10:05 zigbee.0_2020_12_01-10_05_3                                                                           0_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     189 Nov 30 12:53 zigbee.1_2020_11_30-12_53_1                                                                           5_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     189 Nov 30 16:09 zigbee.1_2020_11_30-16_09_1                                                                           6_backupiobroker.tar.gz
          -rw-rwxr--+ 1 iobroker iobroker     189 Dez  1 10:05 zigbee.1_2020_12_01-10_05_3                                                                           0_backupiobroker.tar.gz
          pi@iobroker-dev:~$
          
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Phil82 last edited by

            @phil82
            Bitte keine Screenshots von KonsolenTEXT.
            Den kann man nicht kopieren.

            Jedenfalls gehört das zigbee-Backup dem falschen user.

            P 1 Reply Last reply Reply Quote 0
            • P
              Phil82 @Thomas Braun last edited by

              @thomas-braun
              Okay, danke ich werde darauf achten. Das eine habe ich vom alten System überspielt, von daher kommt das vermutlich
              Es ist aber auch noch ein Backup von dieser Maschine enthalten, da ist der korrekte Benutzer das sehe ich im Adapter aber auch nicht.
              Ich habe die Ansicht vom Post oberhalb nicht, da habe ich nichts zum auswählen.

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

                @phil82
                lösche mal das Backup, welches dort nicht vom User iobroker ist und lese danach erneut mit backitup die Backups ein

                P E 2 Replies Last reply Reply Quote 0
                • P
                  Phil82 @simatec last edited by

                  @simatec @Thomas-Braun
                  So das wars! Vielen Dank euch beiden!

                  So gehts:
                  1.PNG

                  /opt/iobroker/backups$ ls -la /opt/iobroker/backups
                  total 3468
                  drwxrwxr-x+ 2 iobroker iobroker    4096 Jan 18 20:58 .
                  drwxrwxr-x+ 8 iobroker iobroker    4096 Jan 17 19:29 ..
                  -rw-r--r--+ 1 ioadmin  ioadmin  2930161 Jan 17 16:36 iobroker_2021_01_18-02_36_10_backupiobroker.tar.gz
                  -rw-r--r--+ 1 ioadmin  ioadmin    14815 Jan 17 16:36 jarvis.0_2021_01_18-02_36_20_backupiobroker.tar.gz
                  -rw-r--r--+ 1 ioadmin  ioadmin   592653 Jan 17 16:36 zigbee.0_2021_01_18-02_36_20_backupiobroker.tar.gz
                  

                  So nicht:
                  2.PNG

                  /opt/iobroker/backups$ ls -la /opt/iobroker/backups
                  total 4048
                  drwxrwxr-x+ 2 iobroker iobroker    4096 Jan 18 21:02 .
                  drwxrwxr-x+ 8 iobroker iobroker    4096 Jan 17 19:29 ..
                  -rw-r--r--+ 1 ioadmin  ioadmin  2930161 Jan 17 16:36 iobroker_2021_01_18-02_36_10_backupiobroker.tar.gz
                  -rw-r--r--+ 1 ioadmin  ioadmin    14815 Jan 17 16:36 jarvis.0_2021_01_18-02_36_20_backupiobroker.tar.gz
                  -rw-r--r--+ 1 ioadmin  ioadmin   592653 Jan 17 16:36 zigbee.0_2021_01_18-02_36_20_backupiobroker.tar.gz
                  -rw-r--r--+ 1 ioadmin  ioadmin   592647 Jan 17 13:41 zigbee.0_backupiobroker.tar.gz
                  

                  Es liegt an dieser zigbee.0_backupiobroker.tar.gz Datei. Ich hatte die damals umbenannt um Tippfehler in der Konsole zu vermeiden.

                  Ich würde gerne jedem von euch etwas in die Kaffee- Bierkasse werfen.

                  LG phil82

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

                    @phil82
                    Du kannst gerne die Github Seite von Backitup besuchen 😊

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bob der 1. @simatec last edited by

                      @simatec

                      Eine Sache die ich und viele andere gerne für unseren NOTFALL Adaptwr hätten wäre eine Sicherung der zll.bd von Deconz.
                      Diese liegt unter /home/pi/.local/share/dresden-elektronik/deCONZ.

                      Wäre sowas machbar?....

                      simatec 1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @bob der 1. last edited by

                        @bob-der-1
                        Momentan ist das zu Tricky, da Backitup Systemübergreifend arbeitet.
                        Decons hat da aktuell keine gute Lösung.

                        Wir haben aber bereits ein Issue bei Deconz laufen und hoffen auf eine bessere Lösung, die dann auch in Backitup integriert werden kann

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bob der 1. @simatec last edited by

                          @simatec sagte in Test Adapter Backitup v1.8.x:

                          @bob-der-1
                          Momentan ist das zu Tricky, da Backitup Systemübergreifend arbeitet.
                          Decons hat da aktuell keine gute Lösung.

                          Wir haben aber bereits ein Issue bei Deconz laufen und hoffen auf eine bessere Lösung, die dann auch in Backitup integriert werden kann

                          Also heisst händisch sichern....aber danke

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

                            @simatec
                            Man könnte auch die admin Seite "härten", bei Spielereien hatte ich mal denselben Fehler:

                                    function getName(name) {
                                        var parts = name.split('_');
                                        if (parseInt(parts[0], 10).toString() !== parts[0]) {
                                            parts.shift();
                                        }
                                        //prevent exception if split fails
                                        if (parts.length >= 4)
                                        {
                                            return new Date(
                                                parts[0],
                                                parseInt(parts[1], 10) - 1,
                                                parseInt(parts[2].split('-')[0], 10),
                                                parseInt(parts[2].split('-')[1], 10),
                                                parseInt(parts[3], 10)).toLocaleString().replace(/:00$/, '');
                                        }
                                        //Jan 01 1970 00:00:00 target with size 0 bytes
                                        return new Date(0);
                                    }
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • gelberlemmy
                              gelberlemmy @simatec last edited by

                              @simatec Guten Morgen, ich habe aktuell mit dem IoBroker dieverse Probleme. Habe natürlich genügend Backups zu Wiederherstellung. Kann ich eigentlich das Backup einfach über mein altes System laufen lassen? Ich weiss, wurde bestimmt 100 mal bereits gefragt, nur finde ich es gerade nicht. O
                              Oder was passiert dort beim Redtore auf dem alten System?

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

                                @simatec

                                Hallo, bekomme immer eine Fehler Meldung per Mail von Jarvis wenn es per Cron gestartet wird.
                                Wenn ich es Manuel starte sollte es aber laut Log passen.

                                BackItUp:
                                Your backup was not completely created. Please check the errors!!
                                
                                cifs: Error: EPERM: operation not permitted, unlink 'F:\Backup ioBroker\iobroker\jarvis.0_2021_01_11-00_08_06_backupiobroker.tar'
                                

                                Log:

                                2021-01-24 09:18:48.183 - debug: backitup.0 (14844) system.adapter.admin.0: logging false
                                2021-01-24 09:20:25.055 - debug: backitup.0 (14844) [iobroker/mount] done
                                2021-01-24 09:20:25.055 - debug: backitup.0 (14844) Backup has started ...
                                2021-01-24 09:20:28.887 - debug: backitup.0 (14844) [iobroker/iobroker] host.Medion(Test) 16022 states saved
                                2021-01-24 09:20:28.965 - debug: backitup.0 (14844) [iobroker/iobroker] host.Medion(Test) 30651 objects saved
                                2021-01-24 09:20:48.151 - debug: backitup.0 (14844) system.adapter.admin.0: logging true
                                2021-01-24 09:20:58.734 - debug: backitup.0 (14844) [iobroker/iobroker] Backup created: C:\Program Files\iobroker\Test\backups\iobroker_2021_01_24-09_20_25_backupiobroker.tar.gz
                                2021-01-24 09:20:59.792 - debug: backitup.0 (14844) [iobroker/iobroker] done
                                2021-01-24 09:21:00.966 - debug: backitup.0 (14844) [iobroker/jarvis] found Jarvis Instance: 0
                                2021-01-24 09:21:00.967 - debug: backitup.0 (14844) [iobroker/jarvis] start Jarvis Backup for Instance 0...
                                2021-01-24 09:21:00.999 - debug: backitup.0 (14844) [iobroker/jarvis] Backup created: C:\Program Files\iobroker\Test\backups\jarvis.0_2021_01_24-09_21_00_backupiobroker.tar.gz
                                2021-01-24 09:21:01.000 - debug: backitup.0 (14844) [iobroker/jarvis] done
                                2021-01-24 09:21:01.485 - debug: backitup.0 (14844) [iobroker/cifs] Copy iobroker_2021_01_24-09_20_25_backupiobroker.tar.gz...
                                2021-01-24 09:21:02.784 - debug: backitup.0 (14844) [iobroker/cifs] Copy jarvis.0_2021_01_24-09_21_00_backupiobroker.tar.gz...
                                2021-01-24 09:21:02.807 - debug: backitup.0 (14844) [iobroker/cifs] done
                                2021-01-24 09:21:03.277 - debug: backitup.0 (14844) [iobroker/clean] done
                                2021-01-24 09:21:08.451 - debug: backitup.0 (14844) [iobroker/email] [iobroker] used E-Mail-Instance: email.0
                                2021-01-24 09:21:08.455 - debug: backitup.0 (14844) [iobroker/email] done
                                2021-01-24 09:21:09.077 - debug: backitup.0 (14844) [iobroker/historyHTML] new history html values created
                                2021-01-24 09:21:09.078 - debug: backitup.0 (14844) [iobroker/historyHTML] done
                                2021-01-24 09:21:09.235 - debug: backitup.0 (14844) [iobroker/historyJSON] new history json values created
                                2021-01-24 09:21:09.236 - debug: backitup.0 (14844) [iobroker/historyJSON] done
                                2021-01-24 09:21:09.392 - debug: backitup.0 (14844) [iobroker/umount] done
                                2021-01-24 09:21:09.550 - debug: backitup.0 (14844) [iobroker] exec: done
                                

                                Output Line:

                                [DEBUG] [umount] start with {"mountType":"Copy","type":"storage","source":"local","mount":"192.168.178.23","debugging":true,"fileDir":"C:\\Program Files\\iobroker\\Test\\node_modules\\iobroker.backitup","wakeOnLAN":false,"macAd":"xxx","wolTime":"","smb":"vers=1.0","sudo":false,"cifsDomain":"","deleteOldBackup":true,"ownDir":true,"bkpType":null,"dir":"F:\\Backup ioBroker\\iobroker","dirMinimal":"F:\\Backup ioBroker\\iobroker","user":"","pass":"****","backupDir":"C:/Program Files/iobroker/Test/backups"}
                                

                                Screenshot (3218).png

                                Backups werden aber erstellt.

                                Screenshot (3220).png

                                Platform: Windows
                                RAM: 16 GB 
                                Node.js: v12.20.1
                                NPM: 6.14.10
                                JS Controler: 3.2.10
                                Admin: 4.2.1
                                Web: 3.2.3
                                Socket.io: 3.1.4
                                Script Engine: 4.10.13
                                IOT: 1.8.8
                                VIS: 1.3.7
                                HM-Rega: 3.0.7
                                HM-RPC: 1.14.31
                                Jarvis: 2.2.0-beta.24
                                
                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @sigi234 last edited by

                                  @sigi234
                                  Hi Siggi, werden die anderen Backups gelöscht und nur jarvis bleibt, oder besteht das Problem auch mit den anderen Backups.
                                  Ich vermute es liegt am Leerzeichen im Pfad. Schaue mir das aber nachher mal genauer an

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

                                    @gelberlemmy
                                    Der Stand aus deinem Backup wird damit wiederhergestellt

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

                                      @simatec sagte in Test Adapter Backitup v1.8.x:

                                      nur jarvis bleibt

                                      Ja, nur bei jarvis

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

                                        @sigi234
                                        Ich schaue mir nachher mal den Code an. Sind bei dem jarvis Backup irgendwie abweichende Rechte?

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

                                          @simatec sagte in Test Adapter Backitup v1.8.x:

                                          Sind bei dem jarvis Backup irgendwie abweichende Rechte?

                                          Glaube nicht, wo sehe ich die?

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

                                            @sigi234
                                            Denke im Windows unter Eigenschaften der Datei ... Bin mehr Linux 😋

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            757
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            170
                                            2779
                                            2218639
                                            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