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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    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 @Negalein last edited by

      @negalein sagte in Test Adapter ioBroker.backitup v2.4.x:

      45003693-308d-4d66-9be6-b8ca511573af-image.png
      d0e791ec-4616-4a54-8220-f740be5e4750-image.png

      Das ist aber kein nfs mount direkt aus dem lxc.
      Du bindest über Proxmox ein Verzeichnis, welches du vorher in Proxmox gemountet hast ein.

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

        @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

        Das ist aber kein nfs mount direkt aus dem lxc.

        Ah ok, das meintest du!

        Ich bin nach dieser Anleitung vorgegangen.
        https://drozmotix.github.io/languages/de/BasicSetup/03.ProxmoxLXC.html#_5-externes-laufwerk-einbinden-z-b-nas

        Und später dann geändert wie hier auf mp.
        https://forum.iobroker.net/topic/53859/mount-nfs-operation-not-permitted?page=1

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

          @negalein Ja das ist eine Methode, aber ich persönlich mag sie nicht. Auf dem Host sollte nichts eingebunden sein, was am Ende nur ein LXC nutzt.
          Aber das ist ein Philosophie Thema 😊

          Für den mount von Backitup hilft das am Ende auch nicht.

          So sollte die Config für den mount in einen LXC aussehen
          677b5c34-81ac-4fa7-9e1d-850afec3b2a8-image.png

          @qqolli
          Erstelle ein backup deines Containers und erstelle im Anschluss aus dem Backup einen neuen Container.
          Bei der Erstellung wählst du privilegiert aus.
          Im Anschluss noch unter Optionen in den Features die Option nfs oder cifs (je nachdem was du brauchst) aktivieren.
          Dann den Container starten und ggfs. halt noch im LXC die cifs-utils oder nfs-common nachinstallieren

          qqolli Dutchman 2 Replies Last reply Reply Quote 1
          • qqolli
            qqolli @simatec last edited by

            @simatec

            Super, werde ich mal in Angriff nehmen.

            Noch eine kurze Frage, bei mir in den Optionen ist unter den Features noch nesting=1 aktiviert (auch im unprivilegierten Container). Soll ich das so lassen oder deaktivieren?

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

              @qqolli
              Wenn man nesting aktiviert, wird /proc und /sys vom Hypervisor (Proxmox) rw gemounted.
              Vom Sicherheitsaspekt also nicht so gut.

              Es gibt aber Konstellationen, wo es benötigt wird. Beispiel ist hier ein Docker im LXC

              qqolli 1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators @simatec last edited by

                @simatec sagte in Test Adapter ioBroker.backitup v2.4.x:

                @negalein Ja das ist eine Methode, aber ich persönlich mag sie nicht. Auf dem Host sollte nichts eingebunden sein, was am Ende nur ein LXC nutzt.
                Aber das ist ein Philosophie Thema

                mja, mount of host versus priviligierten modus des container und damit komplett alle Prozesse darin root auf deinem host.... nicht nur Philosophie Thema 😉

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

                  @dutchman
                  Ja da gebe ich dir auch Recht … es sind beides Dinge mit Nachteilen 😊

                  1 Reply Last reply Reply Quote 1
                  • M
                    MCU last edited by MCU

                    @simatec
                    Ich habe in Proxmox (Priviligerter LXC CT) 2 Verzeichnisse zugeordnet.

                    1. Verzeichnis -> interne zusätzliche Festplatte für Backups
                    2. Verzeichnis -> externe FritzNAS

                    Kann ich jetzt mit einer Sicherung bzw. einer backitup-Instanz beiden eine Sicherung schicken?
                    -> durch Semikolon getrennte Pfade?
                    a2dc20f5-f136-4be9-916f-fa993e6c56d0-image.png
                    Oder muss ich dafür 2 Instanzen nutzen?
                    Oder gibt es eine andere Möglichkeit dafür?
                    Vielen Dank.

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

                      @mcu Nein das geht nicht.
                      Da du Proxmox nutzt kannst du aber mit dem Proxmox-Backup-Server an der Stelle arbeiten und damit auf dein NAS den Inhalt der internen Platte sichern.
                      PBS ist da genial.

                      Alternativ könntest du via rsync mit cronjob arbeiten und die interne Platte nach dem Backup auf dein NAS synchronisieren

                      Oder du bindest die interne Platte in den Pfad /opt/iobroker/backups ein und machst ein copy auf dein NAS

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

                        @simatec

                        ich habe mal eine Frage zum Objekt lastedBackup.
                        Wann wird das aktualisiert?

                        Hintergrund: Da meine NAS nicht 24x7 läuft, habe ich ein Blockly erstellt, dass

                        • Listenpunktdas Datum aus latestBackup mit dem aktuellen Datum vergleicht

                        • ListenpunktSollte dass länger als 7 Tage her sein, setze ich den Wert des Objektes oneClick/iobroker auf true.

                        Funktioniert soweit auch ganz gut, bis auf das Objekt latestBackup, dass wird leider nicht aktualisiert.
                        Hast du einen Tipp für mich?

                        Danke und Gruß

                        AxLED

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

                          @axled Darf ich fragen, warum du dies so machst?
                          Backitup kann doch selber zu definierten Zeiten und alle x Tage ein automatisches Backup erstellen.
                          Da braucht es kein Blockly

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

                            @simatec

                            weil meine NAS sporadisch 1x die Woche läuft, daher greift die Zeitplanung von Backitup leider in meinem Fall auch nicht (immer).

                            Gruß

                            AxLED

                            A 1 Reply Last reply Reply Quote 0
                            • M
                              MCU last edited by MCU

                              @simatec Einstellungsfrage:
                              Welcher Token gehört hier hinein?
                              9905c716-7b2e-4c3f-83de-e48d84291a69-image.png
                              c9ff6782-8d6a-47f7-9650-da6b02ea726b-image.png

                              User-Token?
                              699f0c7b-7c52-4872-a760-0ed4c60d8aed-image.png
                              Wo hole ich den InfluxDB-Datenbank-Token?

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

                                @mcu Dir fehlen die Influx-cli
                                https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch#influxdb-backup

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

                                  @simatec
                                  Ich habe es jetzt nach Anleitung installiert, bekomme aber den gleichen Fehler, auch nach Neustart von influx und Instanz (backitup)? Muss man noch was machen?

                                  prox@influxdb:~$ apt policy influxdb-client influxdb2-cli
                                  influxdb-client:
                                    Installed: (none)
                                    Candidate: 1.6.7~rc0-1+b5
                                    Version table:
                                       1.6.7~rc0-1+b5 500
                                          500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  influxdb2-cli:
                                    Installed: 2.3.0
                                    Candidate: 2.3.0
                                    Version table:
                                   *** 2.3.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @MCU last edited by

                                    @mcu

                                    Hast du denn auch influxdb2?

                                    apt policy influxdb*
                                    

                                    zeigt mehr.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MCU @Thomas Braun last edited by

                                      @thomas-braun sagte in Test Adapter ioBroker.backitup v2.4.x:

                                      apt policy influxdb*

                                      apt policy influxdb*
                                      N: Unable to locate package influxdb2-client-2.3.0-linux-amd64
                                      N: Couldn't find any package by glob 'influxdb2-client-2.3.0-linux-amd64'
                                      N: Unable to locate package influxdb2-client-2.3.0-linux-amd64.tar.gz
                                      N: Couldn't find any package by glob 'influxdb2-client-2.3.0-linux-amd64.tar.gz'
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @MCU last edited by Thomas Braun

                                        @mcu

                                        Dann hast du dir irgendwas irgendwie am Paketmanager vorbei ins System geprügelt.

                                        Sauber sähe das so aus:

                                        echad@chet:/opt/iobroker $ apt policy influxdb*
                                        influxdb2-cli:
                                          Installed: (none)
                                          Candidate: 2.3.0
                                          Version table:
                                             2.3.0 500
                                                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                        influxdb-client:
                                          Installed: (none)
                                          Candidate: 1.6.7~rc0-1+b5
                                          Version table:
                                             1.6.7~rc0-1+b5 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        influxdb-dev:
                                          Installed: (none)
                                          Candidate: (none)
                                          Version table:
                                        influxdb:
                                          Installed: (none)
                                          Candidate: 1.8.10-1
                                          Version table:
                                             1.8.10-1 500
                                                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                             1.6.7~rc0-1+b5 500
                                                500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                        influxdb2:
                                          Installed: (none)
                                          Candidate: 2.3.0-1
                                          Version table:
                                             2.3.0-1 500
                                                500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                        
                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MCU @Thomas Braun last edited by

                                          @thomas-braun

                                          wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.3.0-linux-amd64.tar.gz
                                          --2022-07-10 19:41:36--  https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.3.0-linux-amd64.tar.gz
                                          Resolving dl.influxdata.com (dl.influxdata.com)... 54.230.206.23, 54.230.206.30, 54.230.206.53, ...
                                          Connecting to dl.influxdata.com (dl.influxdata.com)|54.230.206.23|:443... connected.
                                          HTTP request sent, awaiting response... 200 OK
                                          Length: 5350662 (5.1M) [application/x-gzip]
                                          Saving to: 'influxdb2-client-2.3.0-linux-amd64.tar.gz'
                                          
                                          influxdb2-client-2.3.0-linux-amd64.tar.gz  100%[=======================================================================================>]   5.10M  --.-KB/s    in 0.1s    
                                          
                                          2022-07-10 19:41:36 (34.4 MB/s) - 'influxdb2-client-2.3.0-linux-amd64.tar.gz' saved [5350662/5350662]
                                          
                                          prox@influxdb:~$ tar xvzf ./influxdb2-client-2.3.0-linux-amd64.tar.gz
                                          influxdb2-client-2.3.0-linux-amd64/LICENSE
                                          influxdb2-client-2.3.0-linux-amd64/README.md
                                          influxdb2-client-2.3.0-linux-amd64/influx
                                          prox@influxdb:~$ sudo cp influxdb2-client-2.3.0-linux-amd64/influx /usr/local/bin/
                                          
                                          We trust you have received the usual lecture from the local System
                                          Administrator. It usually boils down to these three things:
                                          
                                              #1) Respect the privacy of others.
                                              #2) Think before you type.
                                              #3) With great power comes great responsibility.
                                          
                                          [sudo] password for prox: 
                                          prox@influxdb:~$ 
                                          
                                          Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @MCU last edited by

                                            @mcu

                                            Macht man ja auch nicht so.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            631
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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