Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

    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

    TESTER gesucht / Backup auf Fritz.nas - node 18.18.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @fastfoot last edited by

      @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

      Hast du die V2 vom Skript mal testen können?

      Huh? Hab ich übersehen...

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Thomas Braun last edited by

        Damit kein Problem auf das NAS zu backupsen:

        echad@chet:/opt/iobroker $ nodejs -v
        v18.17.1
        echad@chet:/opt/iobroker $ ls -lAh backups/ | grep 20_23
        -rwxrwxrwx 1 iobroker iobroker  29M Oct  4 20:24 historyDB_2023_10_04-20_23_55_chet_backupiobroker.tar.gz
        -rwxrwxrwx 1 iobroker iobroker 5.8M Oct  4 20:23 iobroker_2023_10_04-20_23_39_chet_backupiobroker.tar.gz
        
        1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @Thomas Braun last edited by

          @thomas-braun Ich meinte js-controller in Verbindung mit Node20 😊

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • F
            fastfoot @simatec last edited by

            @simatec sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

            @thomas-braun dann kann eigentlich auch der js-controller ausgeschlossen werden

            das verstehe ich jetzt nicht iob backup macht doch der js-controller, auch die Datei in node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js deutet auf den controller?

            simatec 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @simatec last edited by Thomas Braun

              fastfoot-Skript V2 mit nodejs 18.17.1:

              /opt/iobroker/backups unmounted
              //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
              
              file test_standard.tar.gz created
              file test_standard.tar.gz done
              number of files in test_standard.tar.gz: 115
              
              file test_nocompression.tar created
              file test_nocompression.tar done
              number of files in test_nocompression.tar: 115
              
              file test_alternative.tar.gz created
              file test_alternative.tar.gz done
              number of files in test_alternative.tar.gz: 115
              
              listing of created files in /opt/iobroker/backups
              -rwxrwxrwx 1 root root 154379 Oct  4 20:35 /opt/iobroker/backups/test_alternative.tar.gz
              -rwxrwxrwx 1 root root 819712 Oct  4 20:35 /opt/iobroker/backups/test_nocompression.tar
              -rwxrwxrwx 1 root root 154379 Oct  4 20:35 /opt/iobroker/backups/test_standard.tar.gz
              

              Mit nodejs 18.18.0:

              /opt/iobroker/backups unmounted
              //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
              
              file test_standard.tar.gz created
              file test_standard.tar.gz done
              number of files in test_standard.tar.gz: 0
              
              file test_nocompression.tar created
              file test_nocompression.tar done
              number of files in test_nocompression.tar: 0
              
              file test_alternative.tar.gz created
              file test_alternative.tar.gz done
              number of files in test_alternative.tar.gz: 115
              
              listing of created files in /opt/iobroker/backups
              -rwxrwxrwx 1 root root 154371 Oct  4 20:41 /opt/iobroker/backups/test_alternative.tar.gz
              -rwxrwxrwx 1 root root 252928 Oct  4 20:41 /opt/iobroker/backups/test_nocompression.tar
              -rwxrwxrwx 1 root root  16384 Oct  4 20:41 /opt/iobroker/backups/test_standard.tar.gz
              
              
              F 1 Reply Last reply Reply Quote 0
              • F
                fastfoot @Thomas Braun last edited by

                @thomas-braun das ist was ich sehen wollte! Mit create local/copy to nas funktioniert das Ganze. Könntest du mal das nocompression testen, files = 0 sieht aus wie korrupt aber die Gösse könnte stimmen. tar -tf backups/test_nocompression.tar

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @fastfoot last edited by

                  @fastfoot

                  echad@chet:/opt/iobroker $ tar -tf backups/test_nocompression.tar
                  echad@chet:/opt/iobroker $ ls -lAh backups/
                  total 36M
                  -rwxrwxrwx 1 root root    0 Oct  4 18:16 01_FREIGABE_FRITZ_NAS
                  -rwxrwxrwx 1 root root  16K Oct  4 18:46 2023_10_04-18_46_20_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  16K Oct  4 19:08 2023_10_04-19_07_57_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  16K Oct  4 19:11 2023_10_04-19_11_08_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 19:26 historyDB_2023_10_04-19_26_02_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 20:05 historyDB_2023_10_04-20_04_52_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  16K Oct  4 20:07 historyDB_2023_10_04-20_06_45_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  29M Oct  4 20:24 historyDB_2023_10_04-20_23_55_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 19:26 iobroker_2023_10_04-19_25_51_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 20:05 iobroker_2023_10_04-20_04_41_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  16K Oct  4 20:06 iobroker_2023_10_04-20_06_34_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root 5.8M Oct  4 20:23 iobroker_2023_10_04-20_23_39_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 19:26 javascripts_2023_10_04-19_26_28_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 20:05 javascripts_2023_10_04-20_05_20_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  14K Oct  4 20:07 javascripts_2023_10_04-20_07_12_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  73K Oct  4 20:24 javascripts_2023_10_04-20_24_23_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root 151K Oct  4 20:41 test_alternative.tar.gz
                  -rwxrwxrwx 1 root root 247K Oct  4 20:41 test_nocompression.tar
                  -rwxrwxrwx 1 root root  16K Oct  4 20:41 test_standard.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 19:26 zigbee.0_2023_10_04-19_26_28_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root    0 Oct  4 20:05 zigbee.0_2023_10_04-20_05_19_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  955 Oct  4 20:07 zigbee.0_2023_10_04-20_07_11_chet_backupiobroker.tar.gz
                  -rwxrwxrwx 1 root root  969 Oct  4 20:24 zigbee.0_2023_10_04-20_24_22_chet_backupiobroker.tar.gz
                  echad@chet:/opt/iobroker $
                  
                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fastfoot @Thomas Braun last edited by

                    @thomas-braun gibts ja gar nicht, gar kein output? mach mal -tvf

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @fastfoot last edited by

                      @fastfoot
                      Nö, nix:

                      echad@chet:/opt/iobroker $ tar -tvf backups/test_nocompression.tar
                      echad@chet:/opt/iobroker $
                      
                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fastfoot @Thomas Braun last edited by

                        @thomas-braun ok, verbucht als Fehler der tar Implementation. Müsste eh 800Kb gross sein so wie unter 18.17. Damit wäre aber auch gzip ausgeschlossen weil es mit und ohne nicht klappt. Bleibt der pipe() Mechanismus. Jetzt erstell Du mal ein issue bei node und erkläre denen das 🙂

                        welche fritz box hast du denn? evtl liegt es tatsächlich an der smb implementierung, bin ratlos

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

                          @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                          @simatec sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                          @thomas-braun dann kann eigentlich auch der js-controller ausgeschlossen werden

                          das verstehe ich jetzt nicht iob backup macht doch der js-controller, auch die Datei in node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js deutet auf den controller?

                          Aber der js-controller hat nix mit den Backup Optionen wie JavaScript Influx usw. zu tun.

                          F 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @fastfoot last edited by

                            @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                            welche fritz box hast du denn?

                            Ist eine FRITZ!Box 6660 Cable mit FRITZ!OS:7.57-Version aktuell.

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @fastfoot last edited by

                              @fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                              Jetzt erstell Du mal ein issue bei node und erkläre denen das

                              Könnte schwierig werden.

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

                                @simatec sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                Aber der js-controller hat nix mit den Backup Optionen wie JavaScript Influenza usw. zu tun.

                                ja das stimmt natürlich, aber wenn wir es schaffen die iobroker backups zuverlässig zu schreiben dann wäre das auch die Lösung für den Rest.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fastfoot @Thomas Braun last edited by

                                  @thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:

                                  Könnte schwierig werden.

                                  ich arbeite dran das zu vermeiden:-) weiss auch nicht wie man so ein issue formulieren sollte

                                  Thomas Braun 3 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @fastfoot last edited by Thomas Braun

                                    @fastfoot

                                    Ey, euer tar macht komische Dinge seit 18.18.0, aber nur auf ein per CIFS gemountetes FritzNAS? Und das auch nicht bei jedem/immer.

                                    Ich glaube das wird nicht weiter beachtet werden...

                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @fastfoot last edited by

                                      @fastfoot

                                      Mit welchem js-Kommando wird denn das nocompression.tar getart?
                                      Ich verhedder mich schon dabei im Skript zu lesen...

                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @fastfoot last edited by Thomas Braun

                                        @fastfoot

                                        Der Vollständigkeit halber.

                                        Skript V2 mit nodejs 20.8.0:

                                        /opt/iobroker/backups unmounted
                                        //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups
                                        
                                        file test_standard.tar.gz created
                                        file test_standard.tar.gz done
                                        number of files in test_standard.tar.gz: 0
                                        
                                        file test_nocompression.tar created
                                        file test_nocompression.tar done
                                        number of files in test_nocompression.tar: 0
                                        
                                        file test_alternative.tar.gz created
                                        file test_alternative.tar.gz done
                                        number of files in test_alternative.tar.gz: 115
                                        
                                        listing of created files in /opt/iobroker/backups
                                        -rwxrwxrwx 1 root root 154384 Oct  4 22:42 /opt/iobroker/backups/test_alternative.tar.gz
                                        -rwxrwxrwx 1 root root 252928 Oct  4 22:42 /opt/iobroker/backups/test_nocompression.tar
                                        -rwxrwxrwx 1 root root  16384 Oct  4 22:42 /opt/iobroker/backups/test_standard.tar.gz
                                        
                                        

                                        Was ist denn test_alternative.tar.gz genau?
                                        Das scheint ja zu funktionieren.

                                        Ist das der Schlingel?

                                        echad@chet:/opt/iobroker $ npm ls tar
                                        iobroker.inst@3.0.0 /opt/iobroker
                                        ├─┬ iobroker.echarts@1.5.4
                                        │ └─┬ canvas@2.11.2
                                        │   └─┬ @mapbox/node-pre-gyp@1.0.11
                                        │     └── tar@6.1.15 deduped
                                        ├─┬ iobroker.js-controller@5.0.12
                                        │ └── tar@6.1.15
                                        └─┬ iobroker.zigbee@1.8.24
                                          └── tar@6.1.15 deduped
                                        
                                        F simatec 2 Replies Last reply Reply Quote 0
                                        • F
                                          fastfoot @Thomas Braun last edited by

                                          @thomas-braun die alternative function macht das erstellen und kopieren was funktioniert. denke nicht dass es das tar ist. das nocompression wird mit standard und 2tem parameter false aufgerufen.

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

                                            @thomas-braun Jaein… js-controller nutzt tar direkt.
                                            Backitup nutzt allerdings tar-fs ….
                                            tar-fs hat aber wiederum tar mit integriert…

                                            Nur um die Verwirrung mal komplett zu machen 😂

                                            https://www.npmjs.com/package/tar

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            527
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            204
                                            16225
                                            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