Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Erledigt Redis über Backitup , Fehler beim Restore

    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

    Erledigt Redis über Backitup , Fehler beim Restore

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

      @paul-honka

      sudo -u iobroker groups
      
      P 1 Reply Last reply Reply Quote 0
      • P
        paul.honka @Thomas Braun last edited by Homoran

        @thomas-braun

        sudo -u iobroker groups
        iobroker tty dialout audio video bluetooth redis gpio i2c
        

        MOD-EDIT: Code in code-tags gesetzt!

        Hat leider nichts gebracht, gleiche Fehlermeldung.
        cu paul

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

          @paul-honka sagte in Redis über Backitup , Fehler beim Restore:

          Hat leider nichts gebracht, gleiche Fehlermeldung.

          Was soll das auch 'bringen'? Das zeigt nur in welchen Gruppen der iobroker Mitglied ist.

          P 1 Reply Last reply Reply Quote 0
          • P
            paul.honka @Thomas Braun last edited by

            @thomas-braun
            Was nun?
            Wenn ich jetzt das Iobrockerbackup wieder einspiele, startet der Iobroker nicht.
            Deshalb wollte ich vorher das Redis Backup zurück spielen. Das hat aber ein Rechte / Zugriffsproblem.
            cu paul

            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @paul.honka last edited by Homoran

              @paul-honka sagte in Redis über Backitup , Fehler beim Restore:

              Was nun?

              die Ein- und Ausgabe des letzten Befehls posten

              edit: übersehen, weil nicht in code-tags.

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @paul.honka last edited by liv-in-sky

                @paul-honka

                weiß nicht, ob das hilft!
                hast du nach der installation das "iobroker setup custom" aufgerufen und auf redis geändert- bevor du restore machst - ich glaube standard ist jsonl. evtl wird dabei noch was eingerichtet

                P 1 Reply Last reply Reply Quote 0
                • P
                  paul.honka @liv-in-sky last edited by paul.honka

                  @liv-in-sky in code tags gewandelt
                  habe ich gemacht, siehe Spoiler, code tags

                  pi@Humboldt35:/opt/iobroker $ iobroker setup custom
                  Current configuration:
                  - Objects database:
                    - Type: jsonl
                    - Host/Unix Socket: 127.0.0.1
                    - Port: 9001
                  - States database:
                    - Type: jsonl
                    - Host/Unix Socket: 127.0.0.1
                    - Port: 9000
                  - Data Directory: ../../iobroker-data/
                  
                  Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: r
                  
                  When Objects and Files are stored in a Redis database please consider the following:
                  1. All data will be stored in RAM, make sure to have enough free RAM available!
                  2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss!
                  3. The Redis persistence files can get big, make sure not to use an SD card to store them.
                  
                  Host / Unix Socket of objects DB(redis), default[127.0.0.1]:
                  Port of objects DB(redis), default[6379]:
                  Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [redis]: r
                  Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                  Port of states DB (redis), default[6379]:
                  Host name of this machine [Humboldt35]:
                  Please choose if this is a Master/single host (enter "m") or a Slave host (enter "S") you are about to edit. For Slave hosts the data migration will be skipped. [S/m]: m
                  
                  Important: Using redis for the Objects database is only supported
                  with js-controller 2.0 or higher!
                  When your system consists of multiple hosts please make sure to have
                  js-controller 2.0 or higher installed on ALL hosts *before* continuing!
                  
                  
                  Important #2: If you already did the migration on an other host
                  please *do not* migrate again! This can destroy your system!
                  
                  
                  Important #3: The process will migrate all files that were officially
                  uploaded into the ioBroker system. If you have manually copied files into
                  iobroker-data/files/... into own directories then these files will NOT be
                  migrated! Make sure all files are in adapter directories inside the files
                  directory!
                  

                  Fehlermeldung die gleiche beim Restore von Redis, siehe oben.
                  cu paul

                  liv-in-sky FredF 2 Replies Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @paul.honka last edited by

                    @paul-honka bitte code tags nutzen !!!!!!! bei solchen text

                    https://forum.iobroker.net/post/394912

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

                      @paul-honka sagte in Redis über Backitup , Fehler beim Restore:

                      Deshalb wollte ich vorher das Redis Backup zurück spielen. Das hat aber ein Rechte / Zugriffsproblem.

                      Wie genau gehst du da vor? Als User 'pi'? Ist der in der Gruppe 'redis' drin?

                      P 1 Reply Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @paul.honka last edited by

                        @paul-honka sagte in Redis über Backitup , Fehler beim Restore:

                        Host / Unix Socket of states DB (redis), default[127.0.0.1]:

                        Siehe Multihost mit Redis:
                        https://www.iobroker.net/#de/documentation/config/multihost.md

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          paul.honka @FredF last edited by

                          @fredf
                          Ist kein Multihost!
                          cu paul

                          FredF 1 Reply Last reply Reply Quote 0
                          • FredF
                            FredF Most Active Forum Testing @paul.honka last edited by

                            @paul-honka
                            Upps... aber auch da sollte imho 0.0.0.0 eingetragen werden

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @FredF last edited by

                              @fredf sagte in Redis über Backitup , Fehler beim Restore:

                              @paul-honka
                              Upps... aber auch da sollte imho 0.0.0.0 eingetragen werden

                              ja? nicht localhost?

                              FredF 1 Reply Last reply Reply Quote 0
                              • P
                                paul.honka @Thomas Braun last edited by

                                @thomas-braun
                                Ich wollte das Backup mit Backupit zururückspiehlen, da tritt dann das Rechte / Zugriffsproblem auf.
                                cu paul

                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @paul.honka last edited by

                                  @paul-honka sagte in Redis über Backitup , Fehler beim Restore:

                                  ich bekomme beim Restore von Redis folgende Fehlermeldungen

                                  restore wodrauf?
                                  neue Installation?

                                  hast du denn dort redis installiert?

                                  1 Reply Last reply Reply Quote 0
                                  • FredF
                                    FredF Most Active Forum Testing @Homoran last edited by

                                    @homoran
                                    afaik 0.0.0.0

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @FredF last edited by

                                      @fredf sagte in Redis über Backitup , Fehler beim Restore:

                                      @homoran
                                      afaik 0.0.0.0

                                      ist sooooo lang her.
                                      Weiß ich wirklich nicht mehr.

                                      so als Nebelschwaden:

                                      ich hatte localhost für single und die IP des hosts (master) bei Multihost im Kopf.

                                      die 0.0.0.0 musste in der redis.conf bei Multihost eingetragen werden.

                                      FredF 1 Reply Last reply Reply Quote 0
                                      • FredF
                                        FredF Most Active Forum Testing @Homoran last edited by

                                        @homoran @paul-honka
                                        Ich nehme alles zurück...
                                        Für die "Objects" die aktuellen Einstellungen bestätigen ("file" als Typ, IP, Port 9001) und bei "States" jetzt als Typ "redis", die IP des Redis-Hostservers (bzw. 127.0.01 wenn auf dem gleichen Host) und 6379 als Port einstellen.
                                        aus

                                        https://www.iobroker.net/#de/documentation/config/redis.md

                                        P 1 Reply Last reply Reply Quote 1
                                        • P
                                          paul.honka @FredF last edited by

                                          @fredf
                                          jo das war, thx.
                                          cu paul

                                          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

                                          478
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          redis backitup
                                          5
                                          20
                                          669
                                          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