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.
    • SKB
      SKB Developer Most Active @Thomas Braun last edited by

      @thomas-braun Ok, komme ich gerade nicht mit, wenn ich ehrlich bin.
      Wieso ist denn der Benutzer root und nicht iobroker? Weil die ID's auf den verschiedenen Systemen unterschiedlich sind?
      Wieso muss denn die Zeit geändert werden? Ich möchte nur eine Wiederherstellung.

      Wenn ich das File aus dem Backup manuell in das /backups/ Verzeichnis kopiere und dann "Restore", geht es ja auch.

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

        @skb

        Das kann damit zusammenhängen, welches Dateisystem auf dem smb-Server verwendet wird. Wenn das z. B. ntfs ist, dann kennt das die unix-Rechte nicht und das wird dann beim mount 'emuliert'.

        Die uid's der user unterscheiden sich auf den Systemen?

        Die utime ist der Zeitstempel, wann die Datei 'angefasst' wurde. Die darf nur der Besitzer der Datei oder root verändern.

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

          @thomas-braun Also, es sind beides Linux Systeme. Pi und FreeNAS (jetzt TrueNAS).
          Ja, die UID's unterscheiden sich. Daher passt dies wohl nicht ganz, oder?

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

            @skb
            Ja, dann ist das ein anderer User, der hat dann keine Rechte an der Datei.

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

              @thomas-braun Danke.

              Macht es Sinn, die ID'S anzupassen, wie hier beschrieben?
              https://www.thegeekdiary.com/how-to-correctly-change-the-uid-and-gid-of-a-user-group-in-linux/

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

                @skb Ich würde die Freigabe einfach mit anderen Optionen mounten, dann passt es wieder.

                Mit den uid's fummelt man besser nicht rum, das gibt ganz schnell arges Kopfweh.

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

                  @thomas-braun Kannst Du mir bei den Optionen behilflich sein, bitte?

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

                    @skb

                    Mach einen eigenen Threda dazu auf, das passt nicht zu 'Test Adapter Backitup'.

                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky last edited by

                      frage:

                      wenn ich unter speicherort COPY einstelle - also kein cifs (da proxmox mit mountpoint auf andere festplatte), sollten dann unter /opt/iobroker/backups die dateien gelöscht werden ?

                      ich habe 8 backups aufheben eingestellt - im copy-pfad werden die daten nicht mehr wie 8 - das passt somit

                      ich dachte, es sollten aber unter /opt/iobroker/backups keine dateien mehr liegen

                      simatec 1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active @liv-in-sky last edited by

                        @liv-in-sky Bei der Copy Funktion werden die Backups lokal erstellt und bleiben auch dort bis zum erreichen der eingestellten Anzahl liegen.
                        Copy ist im Prinzip die identische Funktion wie alle Cloud-Dienste.

                        Gegen lokal und Copy oder Cloud würde maximal ein System auf SD-Karte sprechen.
                        Ansonsten ist am Ende nur wichtig, dass es bei Systemcrash einen weiteren Speicherpfad gibt.

                        liv-in-sky 2 Replies Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @simatec last edited by liv-in-sky

                          @simatec

                          moin moin - würde es keinen sinn machen, auch ein "move" einzufügen - habe mehrere instanzen (damit ich meine geänderten scripte nicht verliere) und jedesmal wird das netzwerk (bei cifs) belastet, obwohl die externe platte "dran hängt"

                          simatec 1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @liv-in-sky last edited by

                            @liv-in-sky Erkläre mal bitte deine Hardware-Config ... Kann nicht so recht folgen

                            1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @simatec last edited by

                              @simatec

                              weil:

                              Image 1.png

                              die fast 3GB werden letztlich auch noch im proxmox iobroker (lxc) täglich gesichert - und einige tage aufgehoben

                              hardware:
                              iobroker ist ein proxmox container. am proxmox server hängt eine 6TB (NAS) platte. es wird im prxmox setting einfach die NAS platte (mountpoint) durchgereicht und ist somit als laufwerk ansprechbar.
                              ist eigentlich wie ein raspi (auf sd installiert) mit externer usb platte

                              simatec 1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @liv-in-sky last edited by

                                @liv-in-sky Mein Vorschlag wäre dass du einen dauerhaften mount auf ein Verzeichnis innerhalb deiner NAS-Platte auf /opt/iobroker/backups setzt.
                                Dann kannst du Copy abschalten und es wird immer alles direkt auf deine NAS-Platte geschrieben

                                liv-in-sky 2 Replies Last reply Reply Quote 1
                                • liv-in-sky
                                  liv-in-sky @simatec last edited by

                                  @simatec

                                  danke dir - gute idee - werd ich mal testen

                                  1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @simatec last edited by

                                    @simatec

                                    jo - das ist es - mointpoint auf das /opt/iobroker/backups

                                    die warnung (lokaler speicher) in der instanz kommt jetzt immer - aber oft ändert man da ja nicht 🙂

                                    vielen dank

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

                                      @liv-in-sky Ja ich schaue mal, ob man die Meldung bis zum nächsten Neustart nicht mehr angezeigt bekommt

                                      1 Reply Last reply Reply Quote 1
                                      • Negalein
                                        Negalein Global Moderator last edited by

                                        @simatec

                                        bemerkte gerade, dass seit 10 Tagen Lokal und Dropbox nicht gesichert wird.
                                        FTP funktioniert problemlos.

                                        	Zeile 81633: 2021-10-25 23:00:43.355  - error: backitup.0 (713) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                        	Zeile 81634: 2021-10-25 23:00:43.359  - error: backitup.0 (713) unhandled promise rejection: ENOENT: no such file or directory, open '/opt/iobroker/backups/tmpScripts/script.json'
                                        	Zeile 81635: 2021-10-25 23:00:43.359  - error: backitup.0 (713) Error: ENOENT: no such file or directory, open '/opt/iobroker/backups/tmpScripts/script.json'
                                        	Zeile 81636: 2021-10-25 23:00:43.359  - error: backitup.0 (713) Exception-Code: ENOENT: ENOENT: no such file or direct2021-10-25 23:00:43.956  - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                                        	Zeile 81638: 2021-10-25 23:00:43.956  - error: host.ioBroker instance system.adapter.backitup.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                        	Zeile 81639: 2021-10-25 23:00:43.956  - info: host.ioBroker Restart adapter system.adapter.backitup.0 because enabled
                                        	Zeile 81719: 2021-10-25 23:01:14.015  - info: host.ioBroker instance system.adapter.backitup.0 started with pid 10779
                                        	Zeile 81769: 2021-10-25 23:01:15.168  - info: backitup.0 (10779) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.17.1, js-controller: 3.3.18
                                        	Zeile 81769: 2021-10-25 23:01:15.168  - info: backitup.0 (10779) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.17.1, js-controller: 3.3.18
                                        	Zeile 81771: 2021-10-25 23:01:15.198  - info: backitup.0 (10779) [iobroker] backup was activated at 23:00 every 1 day(s)
                                        	Zeile 81780: 2021-10-25 23:01:15.231  - info: backitup.0 (10779) [ccu] backup was activated at 01:30 every 3 day(s)
                                        	Zeile 84595: 2021-10-25 23:37:18.362  - info: host.ioBroker stopInstance system.adapter.backitup.0 (force=false, process=true)
                                        	Zeile 84695: 2021-10-25 23:37:18.445  - info: backitup.0 (10779) cleaned everything up...
                                        	Zeile 84888: 2021-10-25 23:37:18.699  - info: backitup.0 (10779) Got terminate signal TERMINATE_YOURSELF
                                        	Zeile 84961: 2021-10-25 23:37:18.789  - info: backitup.0 (10779) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                        	Zeile 84985: 2021-10-25 23:37:18.944  - info: host.ioBroker stopInstance system.adapter.backitup.0 send kill signal
                                        	Zeile 85076: 2021-10-25 23:37:20.509  - info: host.ioBroker instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                                        	Zeile 85974: 2021-10-25 23:38:58.260  - info: host.ioBroker instance system.adapter.backitup.0 started with pid 716
                                        	Zeile 85980: 2021-10-25 23:38:59.071  - info: backitup.0 (716) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.17.1, js-controller: 3.3.18
                                        	Zeile 85980: 2021-10-25 23:38:59.071  - info: backitup.0 (716) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.17.1, js-controller: 3.3.18
                                        	Zeile 85981: 2021-10-25 23:38:59.099  - info: backitup.0 (716) [iobroker] backup was activated at 23:00 every 1 day(s)
                                        	Zeile 85982: 2021-10-25 23:38:59.123  - info: backitup.0 (716) [ccu] backup was activated at 01:30 every 3 day(s)
                                        
                                        
                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @Negalein last edited by

                                          @negalein Bitte mal den Debuglog posten

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

                                            Ab sofort steht auf Github und in Kürze auch im latest die finale Version 2.2.2 zur Verfügung.

                                            Diese wird die nächsten Tage auch in Stable gehen.

                                            Changelog

                                            2.2.2 (06.11.2021)

                                            • (simatec) Fix CCU option to use self-signed certificates
                                            • (simatec) Fix Config Menu
                                            • (simatec) dependabot added
                                            • (simatec) small Bugfixes
                                            Dr. Bakterius 1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            872
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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