Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Betatester für Backitup 2.0.0 gesucht

    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

    Betatester für Backitup 2.0.0 gesucht

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

      Guten Abend!

      @simatec sagte in Betatester für Backitup 2.0.0 gesucht:

      @darkiop
      Es werden ale Scripte gesichert. Voraussetzung ist, dass du den Javscript-Adapter richtig konfiguriert hast.
      https://forum.iobroker.net/post/571920

      Ja, das passt - aber so war das nicht gemeint. Der Javascript Adapter speichert unter diesem Pfad die Skripte als .js - auch die Blocklys. Exportiert man die Skripte über die Export-Funktion des Adapters generiert dieser json mit den notwendigen Daten für den Import der Blocklys.

      Grundsätzlich brauche ich meinem Backupkonzept diese Funktion nicht, da zum einen über das normale ioBroker Backup die Skripte absichert sind und zum anderen auch über die regelmäßigen Backups des Containers aus Proxmox heraus.

      Allerdings ensteht der Eindruck, das über diese Funktion auch die Blocklys als "Blockly" gesichert sind. Da sollte mindestens ein Hinweis darüber platziert werden oder idealerweise die Skripte durch Aufruf der Exportfunktion über den Javascript-Adapter gesichert werden.

      Aber auch an dieser Stelle: Klasse Arbeit - imho einer der wichtigsten Adapter!

      @amg_666 sagte in Betatester für Backitup 2.0.0 gesucht:

      @darkiop said in Betatester für Backitup 2.0.0 gesucht:

      spätestens Morgen früh wenn die Jobs durch sind.

      Warum testest du nicht manuell aus dem Adapter ein Update, dann kannst du doch checken ob er alles gesichert hat.
      Die javascript Sicherungen sehen bei gut aus (getestet indem ich die Sicherungsdatei geöffnet habe, ist ja ne einfache zip-Datei) und dann sehe ich meine Ordnerstruktur und die Skripte in den Ordern, die ich stichprobenartig geöffnet und kontrolliert habe.

      Ja, klar - das hab ich ja auch - und wie erwartet auch die jeweiligen Exports - aber relevant ist ja auch ob mit der Beta auch die Timer noch funktionieren 🙂

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

        @simatec

        Ich hab jetzt nochmal in die mount-Optionen geschaut:

        //192.168.0.42/FRITZ.NAS/iobroker_backups on /opt/iobroker/backups type cifs (rw,relatime,vers=3.0,cache=strict,username=iobroker,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.42,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1)
        

        Mit

        uid=0,noforceuid,gid=0,noforcegid
        

        ist das aber klar, dass die Dateien root:root gehören. Da müsste die uid=1001 bzw. die gid=1001 für den iobroker rein. Die Optionen kann man genau wo einstellen im Adapter?

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

          @thomas-braun
          Hmmm sehr komisch wo diese Option herkommt.
          Backitup setzt den Mount so nicht

          https://github.com/simatec/ioBroker.backitup/blob/bd1a04dc3d8897057295669bd3c8bc9a3dcce5ca/lib/scripts/01-mount.js#L76

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

            @simatec
            Ich bin nicht gut in Code lesen... 🙂

            Wenn ich das händisch mounte per

            sudo mount //192.168.0.42/FRITZ.NAS/iobroker_backups /opt/iobroker/backups -t cifs -o rw,relatime,vers=3.0,cache=strict,username=iobroker,uid=1001,noforceuid,gid=1001,noforcegid,addr=192.168.0.42,file_mode=0777,dir_mode=0777,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1
            

            passt natürlich alles: Owner iobroker statt root auf dem exportierten Dateisystem.

            pi@raspberrypi:~ $ ls -la /opt/iobroker/backups/
            insgesamt 5968
            drwxrwxrwx  2 iobroker iobroker       0 Feb  2 20:31 .
            drwxrwxr-x+ 8 iobroker iobroker    4096 Feb  2 20:24 ..
            -rwxrwxrwx  1 iobroker iobroker 5882573 Feb  2 20:31 iobroker_2021_02_02-20_31_12_backupiobroker.tar.gz
            -rwxrwxrwx  1 iobroker iobroker  220167 Feb  2 20:31 redis_2021_02_02-20_31_23_backupiobroker.tar.gz
            
            simatec 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @Thomas Braun last edited by

              @thomas-braun
              Kannst du mit dem händischen mount mal testen, ob GoogleDrive dann vom NAS will?
              Also händisch mouten und in Backitup nur GoogleDrive als Storage wählen

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

                @simatec
                Auch das geht nicht.

                pi@raspberrypi:~ $ ls -la /opt/iobroker/backups/
                insgesamt 17904
                drwxrwxrwx  2 iobroker iobroker       0 Feb  2 21:25 .
                drwxrwxr-x+ 8 iobroker iobroker    4096 Feb  2 20:24 ..
                -rwxrwxrwx  1 iobroker iobroker 5882573 Feb  2 20:31 iobroker_2021_02_02-20_31_12_backupiobroker.tar.gz
                -rwxrwxrwx  1 iobroker iobroker 5882414 Feb  2 21:10 iobroker_2021_02_02-21_10_21_backupiobroker.tar.gz
                -rwxrwxrwx  1 iobroker iobroker 5890416 Feb  2 21:25 iobroker_2021_02_02-21_25_45_backupiobroker.tar.gz
                -rwxrwxrwx  1 iobroker iobroker  220167 Feb  2 20:31 redis_2021_02_02-20_31_23_backupiobroker.tar.gz
                -rwxrwxrwx  1 iobroker iobroker  219816 Feb  2 21:10 redis_2021_02_02-21_10_33_backupiobroker.tar.gz
                -rwxrwxrwx  1 iobroker iobroker  219960 Feb  2 21:25 redis_2021_02_02-21_25_55_backupiobroker.tar.gz
                
                Started iobroker ...
                [DEBUG] [iobroker] - host.raspberrypi 3740 states saved
                
                [DEBUG] [iobroker] - host.raspberrypi 4520 objects saved
                
                [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_02-21_25_45_backupiobroker.tar.gz
                
                [DEBUG] [iobroker] - done
                [DEBUG] [redis] - Start Redis Backup ...
                [DEBUG] [redis] - done
                [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_02-21_25_45_backupiobroker.tar.gz...
                [ERROR] [googledrive] - Google Drive: Error: Unknown system error -116: Unknown system error -116, open '/opt/iobroker/backups/iobroker_2021_02_02-21_25_45_backupiobroker.tar.gz'
                
                simatec 1 Reply Last reply Reply Quote 0
                • B
                  bishop last edited by

                  habe ein IoBroker als Master im Docker laufen und noch ein IoBroker auf einer Raspberry Pi2 als slave.

                  benötige ich dann 2 Instanzen des Backitup Adapters jeweils auf den Systemen oder reicht es wenn ich auf dem Master eine Instanz laufen habe?

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

                    @bishop
                    Es reich auf dem Master.
                    Das iobroker backup sichert den Slave mit.

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

                      @thomas-braun
                      Sehr komisch... also liegt es nicht an den Rechten. Irgendwas ist an deiner Fritzbox krum.
                      Hatte neulich erst ne Fritzbox für Backitup eingerichtet und das lief sofort ohne Probs.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • L
                        lonsimbt @simatec last edited by

                        @simatec sagte in Betatester für Backitup 2.0.0 gesucht:

                        @lonsimbt
                        Den Backup Ordner würde ich dafür nicht verwenden.
                        Beim wiederherstellen kann das zu Problemen führen
                        Lagere es eventuell extern aus oder gehe ich die obere Ordnerstruktur von /opt/iobroker

                        Offensichtlich gibt es damit nicht nur Probleme beim Wiederherstellen. Ich hab es jetzt mit dem Pfad /opt/iobroker/javascript probiert. Damit wird das Backup für die Javascripts erstellt.

                        Danke und Gruß
                        Marco

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

                          @simatec Ich habe die Freigaben auf der FritzBox nicht 'über das Internet zugänglich' gemacht. Kann das damit zusammenhängen?
                          Das würde ich allerdings nicht tun, dann bleibt es getrennt in zwei Instanzen.

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

                            @thomas-braun Kann ich mir nicht vorstellen.
                            Werde es mal die nächsten Tage hier nachstellen und mal meine Fritz als NAS umbauen. War für meine Anwendungen bisher nicht wirklich Interessant, da ich lieber mit NFS arbeite.

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

                              @simatec
                              Ich würde auch NFS bevorzugen. Aber die FritzBox kann das nicht und extra dafür setze ich mir kein dickes NAS in die Bude.

                              Wobei...
                              Hier liegt noch ein Raspberry 3 in der Schublade, den könnte ich ja zum NFS-NAS werden lassen...

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

                                @simatec sagte in Betatester für Backitup 2.0.0 gesucht:

                                @bishop
                                Es reich auf dem Master.
                                Das iobroker backup sichert den Slave mit.

                                ok, Danke

                                1 Reply Last reply Reply Quote 0
                                • da_Woody
                                  da_Woody last edited by da_Woody

                                  @simatec fluppt bei mir.
                                  444c45c8-4479-40cc-8ad2-268e35adfca7-grafik.png

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    Rosi8818 @da_Woody last edited by

                                    hat auch über Nacht auto. bei mir funktioniert

                                    22aace33-c43a-4908-b489-941b3ddc1783-image.png

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

                                      @rosi8818 @da_Woody
                                      Bitte prüft auch mal die Inhalte der Backups auf Vollständigkeit und schaltet die Instanz von Backitup auf debug.
                                      Da könnt ihr besser sehen, ob eventuell Fehler auftreten

                                      R da_Woody 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        Bei mir scheint auch erst mal alles in Ordnung:
                                        backitup_new_Cubie.png
                                        Allerdings braucht der arme alte Cubie für das SQL-Backup und das anschließende Packen fast 1 1/2 Stunden 😞

                                        Was mir allerdings fehlt ist das prefix bei redis und javascript

                                        iobroker-Backup ist anscheinend ok, die Verzeichnisse admin, web und userdata in files sind allerdings leer.
                                        Rest vergleiche ich noch

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

                                          @simatec said in Betatester für Backitup 2.0.0 gesucht:

                                          Bitte prüft auch mal die Inhalte der Backups auf Vollständigkeit und schaltet die Instanz von Backitup auf debug.
                                          Da könnt ihr besser sehen, ob eventuell Fehler auftreten

                                          ich habe mir mal die Inhalte angeschaut (als Laie), bspw. in den Script-Backup sind alle aktuellen Scripte drin und die anderen Dateien was ich sehen konnte sind auch die Daten aus den Verzeichnissen drin. Das kann ich aber nicht 100%ig beurteilen ohne ein Restore. Das kann ich aber aktuell nicht durchführen - leider

                                          Ich habe auf DEBUG umgestellt (musste erst suchen wie das geht) und manuell angestossen.
                                          Das kam im Fenster nach dem manuellen auslösen, was für mich okay aussieht:
                                          Im Log der Oberfläche stehen auch keine Fehler. Ist das so ausreichend für dich?

                                          Started iobroker ...
                                          [DEBUG] [mount] - mount activ... umount is started before mount!!
                                          [DEBUG] [mount] - umount successfully completed
                                          [DEBUG] [mount] - mount successfully completed
                                          [DEBUG] [mount] - done
                                          [DEBUG] [iobroker] - host.smarthomepi 2066 states saved
                                          
                                          [DEBUG] [iobroker] - host.smarthomepi 2822 objects saved
                                          
                                          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_03-12_34_05_backupiobroker.tar.gz
                                          
                                          [DEBUG] [iobroker] - done
                                          [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2021_02_03-12_34_11_backupiobroker.tar.gz
                                          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                                          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                                          [DEBUG] [influxDB] - done
                                          [DEBUG] [historyDB] - done
                                          [DEBUG] [zigbee] - no zigbee database found!!
                                          [DEBUG] [zigbee] - done
                                          [DEBUG] [grafana] - Start Grafana Backup ...
                                          [DEBUG] [grafana] - Created grafana_tmp directory
                                          [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: helmscherode
                                          [DEBUG] [grafana] - found Dashboard: helmscherode-wetterdaten
                                          [DEBUG] [grafana] - start Grafana backup compress ...
                                          [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2021_02_03-12_34_14_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] - found Jarvis Instance: 0
                                          [DEBUG] [jarvis] - start Jarvis Backup for Instance 0...
                                          [DEBUG] [jarvis] - Backup created: /opt/iobroker/backups/jarvis.0_2021_02_03-12_34_14_backupiobroker.tar.gz
                                          [DEBUG] [jarvis] - done
                                          [DEBUG] [javascripts] - done
                                          [DEBUG] [cifs] - done
                                          [DEBUG] [clean] - done
                                          [DEBUG] [telegram] - done
                                          [DEBUG] [historyHTML] - new history html values created
                                          [DEBUG] [historyHTML] - done
                                          [DEBUG] [historyJSON] - new history json values created
                                          [DEBUG] [historyJSON] - done
                                          [DEBUG] [umount] - mount activ... umount in 60 Seconds!!
                                          [DEBUG] [umount] - umount successfully completed
                                          [DEBUG] [umount] - done
                                          [EXIT] 0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • da_Woody
                                            da_Woody @simatec last edited by

                                            @simatec js schaut gut aus, da ist alles drinnen. grafana ist nur 1KB gross, da hats was. sind nur ordner, keine dateien. allerdings spinnt bei mir grafana mit influx sowieso. da werd ich mich mal mit @Dutchman in verbindung setzen...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            488
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            32
                                            293
                                            31903
                                            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