Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup probleme

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backitup probleme

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

      @Amnesia1211
      cifs-utils ist nicht installiert. Du bzw der Docker hat ja nicht mal einen Installationskandidaten dafür.

      Eigentlich sollte da sowas bei herum kommen:

      pi@raspberrypi:~ $ apt policy cifs-utils
      cifs-utils:
        Installiert:           2:6.8-2
        Installationskandidat: 2:6.8-2
        Versionstabelle:
       *** 2:6.8-2 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              100 /var/lib/dpkg/status
      
      1 Reply Last reply Reply Quote 0
      • Amnesia1211
        Amnesia1211 last edited by

        @Homoran Ok wird gemacht.

        @simatec
        Dank dir trotzdem, ich kenne mich da leider auch nicht mit aus.

        @Thomas-Braun
        Mhh ich hab keinen plan 😄 also wird das nix wie es aus sieht. Danke dir natürlich trotzdem für deine Zeit.

        1 Reply Last reply Reply Quote 0
        • W
          waterchill last edited by

          moin, ich scheiter auch gerade an dem Backitup Adapter. Ich möchte die Backups auf der Synology NAS speichern und folgender Fehler kommt:

          Error: Command failed: mount -t cifs -o username=iobroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.171.40/Software/Backup/Raspi /opt/iobroker/backups mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab

          Jemand eine Idee?

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

            @waterchill

            Wie sehen die Einstellungen aus?
            In die fstab kann man, aber man muss die Freigabe nicht unbedingt einstellen.
            Hängt davon ab wie gemountet wird.

            Mit Eintrag in der fstab kann u. U. von einem user gemountet werden, ohne Eintrag muss es mit root-Rechten gemacht werden.

            W 1 Reply Last reply Reply Quote 0
            • W
              waterchill @Thomas Braun last edited by

              @thomas-braun

              Sieht so aus:

              Bildschirmfoto 2022-08-25 um 09.41.10.png

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

                @waterchill
                Als root mouten (sudo)
                und das Protokoll würde ich wenn möglich auch auf SMB3.1.1 drehen.

                W 1 Reply Last reply Reply Quote 0
                • W
                  waterchill @Thomas Braun last edited by

                  @thomas-braun

                  Mit den SMB habe ich schon rumgespielt. Aber die Option als root mounten war die Lösung. Danke!

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

                    @waterchill sagte in Backitup probleme:

                    Mit den SMB habe ich schon rumgespielt

                    Und steht das jetzt auf der höchstmöglichen Version?

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      waterchill @Thomas Braun last edited by

                      @thomas-braun

                      Jo geht einwandfrei 🙂

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Diamand2k22 @waterchill last edited by

                        @Thomas-Braun

                        [DEBUG] [iobroker] - done
                        [DEBUG] [influxDB] - InfluxDB-Backup started ...
                        [DEBUG] [influxDB] - Start InfluxDB Backup ...
                        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                        [DEBUG] [influxDB] - 
                        [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2022_11_02-21_26_37_backupiobroker"
                        Error: unknown shorthand flag: 'p' in -portable
                        See 'influxd -h' for help
                        

                        hast du ne Idee warum er die Influx DB nicht sichert.
                        Das Backup vom iobroker läuft ganz normal durch, bei der influx db bricht er immer mit error ab.

                        Gemountet wird über cifs, smb 3.1.1, mount as root ist auch aktiv.

                        Gruß

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

                          @diamand2k22

                          Ich hab influxdb nicht laufen.
                          Keine Ahnung welche Optionen da gesetzt sein müssen.
                          I.d.R. würde ich aber Paramter solcher Art erwarten: --portable

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Diamand2k22 @Thomas Braun last edited by

                            @thomas-braun

                            danke für die schnelle Rückmeldung. Evtl. ist das ein Bug im Backitup Script.
                            gibts hier noch Leute die evtl. die selbe Konstellation am laufen haben?

                            Grüße

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

                              @diamand2k22

                              Was ist denn da alles von influx installiert? Die cli-Programme auch?

                              apt policy influxdb*
                              
                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Diamand2k22 @Thomas Braun last edited by

                                @thomas-braun

                                pi4b@pi4b:~ $ apt policy influxdb*
                                N: Paket influxdb.key kann nicht gefunden werden.
                                N: Mittels des Musters »influxdb.key« konnte kein Paket gefunden werden.
                                N: Paket influxdb.key.1 kann nicht gefunden werden.
                                N: Mittels des Musters »influxdb.key.1« konnte kein Paket gefunden werden.
                                

                                das ist seltsam. Influx DB ist eigentlich installiert?!

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

                                  @diamand2k22 sagte in Backitup probleme:

                                  Influx DB ist eigentlich installiert?!

                                  Aber nicht 'ordentlich' über deinen Paketmanager, der würde das sonst kennen. Die Ausgabe sollte eigentlich so (ähnlich) aussehen:

                                  echad@chet:~ $ apt policy influxdb*
                                  influxdb2-cli:
                                    Installed: (none)
                                    Candidate: 2.5.0
                                    Version table:
                                       2.5.0 500
                                          500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                       2.4.0 500
                                          500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                       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.4.0-1
                                    Version table:
                                       2.4.0-1 500
                                          500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                       2.3.0-1 500
                                          500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                       2.2.0 500
                                          500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                                  

                                  Die vmtl. unorthodoxe Installation könnte auch deine Probleme erklären.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    Diamand2k22 @Thomas Braun last edited by

                                    @thomas-braun

                                    ohje...

                                    service influxdb status
                                    ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                         Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                                         Active: active (running) since Tue 2022-11-01 22:40:09 CET; 23h ago
                                           Docs: https://docs.influxdata.com/influxdb/
                                       Main PID: 579 (influxd)
                                          Tasks: 10 (limit: 8986)
                                            CPU: 1min 21.809s
                                         CGroup: /system.slice/influxdb.service
                                                 └─579 /usr/bin/influxd
                                    

                                    also heißt nochmal neu installieren?

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

                                      @diamand2k22

                                      Wie hast du es denn installiert, wenn nicht über deinen Paketmanager?

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        Diamand2k22 @Thomas Braun last edited by

                                        @thomas-braun

                                        https://docs.google.com/document/d/19Nw8_qKjHJh4mXcvPEqS-BK3vBEQA19ZFDZBlJ63s3A/edit

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

                                          @diamand2k22

                                          Ist eigentlich nicht so'n Mumpf wie ich ihn erwartet hatte.

                                          sudo apt update
                                          

                                          sagt?

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

                                            @diamand2k22

                                            Führ das mal aus:

                                            wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg
                                            export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                                            echo "deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            971
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            22
                                            187
                                            22809
                                            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