Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Erledigt Redis über Backitup , Fehler beim Restore

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    334

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

Erledigt Redis über Backitup , Fehler beim Restore

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
redis backitup
20 Beiträge 5 Kommentatoren 1.4k Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P paul.honka

    Hallo,
    ich bekomme beim Restore von Redis folgende Fehlermeldungen

    [DEBUG] [redis] Start Redis Restore ...
    [DEBUG] [redis] Try deleting the old redis tmp directory: "/opt/iobroker/backups/redistmp"
    [DEBUG] [redis] old redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
    [DEBUG] [redis] Created redistmp directory
    [DEBUG] [redis] decompress started ...
    [ERROR] [redis] Error: EACCES: permission denied, open '/var/lib/redis/dump.rdb'
    [EXIT] redis restore broken **** Restore was canceled!! ****
    

    Rechte von /var/lib/redis sind 138171 4 drwxr-xr-x 2 redis redis 4096 21. Okt 19:46 .
    Reihenfolge war IOBroker installiert über curl, dann redis mit sudo apt install redis , Neustart
    und dann mit Backupit, Restore versucht redis wiederherzustellen.
    Dannach wollte ich dann das Iobrokerbackup restoren.
    Was mach ich falsch?
    cu paul
    in code text gewandelt

    liv-in-skyL Offline
    liv-in-skyL Offline
    liv-in-sky
    schrieb am zuletzt editiert von liv-in-sky
    #7

    @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

    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

    P 1 Antwort Letzte Antwort
    0
    • liv-in-skyL 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 Offline
      P Offline
      paul.honka
      schrieb am zuletzt editiert von paul.honka
      #8

      @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-skyL FredFF 2 Antworten Letzte Antwort
      0
      • P 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-skyL Offline
        liv-in-skyL Offline
        liv-in-sky
        schrieb am zuletzt editiert von
        #9

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

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

        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

        1 Antwort Letzte Antwort
        0
        • P paul.honka

          @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

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #10

          @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?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          P 1 Antwort Letzte Antwort
          0
          • P 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

            FredFF Offline
            FredFF Offline
            FredF
            Most Active Forum Testing
            schrieb am zuletzt editiert von
            #11

            @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 Antwort Letzte Antwort
            0
            • FredFF FredF

              @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 Offline
              P Offline
              paul.honka
              schrieb am zuletzt editiert von
              #12

              @fredf
              Ist kein Multihost!
              cu paul

              FredFF 1 Antwort Letzte Antwort
              0
              • P paul.honka

                @fredf
                Ist kein Multihost!
                cu paul

                FredFF Offline
                FredFF Offline
                FredF
                Most Active Forum Testing
                schrieb am zuletzt editiert von
                #13

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

                HomoranH 1 Antwort Letzte Antwort
                0
                • FredFF FredF

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

                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #14

                  @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?

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  FredFF 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @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 Offline
                    P Offline
                    paul.honka
                    schrieb am zuletzt editiert von
                    #15

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

                    1 Antwort Letzte Antwort
                    0
                    • P paul.honka

                      Hallo,
                      ich bekomme beim Restore von Redis folgende Fehlermeldungen

                      [DEBUG] [redis] Start Redis Restore ...
                      [DEBUG] [redis] Try deleting the old redis tmp directory: "/opt/iobroker/backups/redistmp"
                      [DEBUG] [redis] old redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted
                      [DEBUG] [redis] Created redistmp directory
                      [DEBUG] [redis] decompress started ...
                      [ERROR] [redis] Error: EACCES: permission denied, open '/var/lib/redis/dump.rdb'
                      [EXIT] redis restore broken **** Restore was canceled!! ****
                      

                      Rechte von /var/lib/redis sind 138171 4 drwxr-xr-x 2 redis redis 4096 21. Okt 19:46 .
                      Reihenfolge war IOBroker installiert über curl, dann redis mit sudo apt install redis , Neustart
                      und dann mit Backupit, Restore versucht redis wiederherzustellen.
                      Dannach wollte ich dann das Iobrokerbackup restoren.
                      Was mach ich falsch?
                      cu paul
                      in code text gewandelt

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #16

                      @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?

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Antwort Letzte Antwort
                      0
                      • HomoranH Homoran

                        @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?

                        FredFF Offline
                        FredFF Offline
                        FredF
                        Most Active Forum Testing
                        schrieb am zuletzt editiert von
                        #17

                        @homoran
                        afaik 0.0.0.0

                        HomoranH 1 Antwort Letzte Antwort
                        0
                        • FredFF FredF

                          @homoran
                          afaik 0.0.0.0

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von
                          #18

                          @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.

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          FredFF 1 Antwort Letzte Antwort
                          0
                          • HomoranH Homoran

                            @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.

                            FredFF Offline
                            FredFF Offline
                            FredF
                            Most Active Forum Testing
                            schrieb am zuletzt editiert von
                            #19

                            @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 Antwort Letzte Antwort
                            1
                            • FredFF FredF

                              @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 Offline
                              P Offline
                              paul.honka
                              schrieb am zuletzt editiert von
                              #20

                              @fredf
                              jo das war, thx.
                              cu paul

                              1 Antwort Letzte Antwort
                              0
                              Antworten
                              • In einem neuen Thema antworten
                              Anmelden zum Antworten
                              • Älteste zuerst
                              • Neuste zuerst
                              • Meiste Stimmen


                              Support us

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

                              547

                              Online

                              32.5k

                              Benutzer

                              81.7k

                              Themen

                              1.3m

                              Beiträge
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Anmelden

                              • Du hast noch kein Konto? Registrieren

                              • Anmelden oder registrieren, um zu suchen
                              • Erster Beitrag
                                Letzter Beitrag
                              0
                              • Home
                              • Aktuell
                              • Tags
                              • Ungelesen 0
                              • Kategorien
                              • Unreplied
                              • Beliebt
                              • GitHub
                              • Docu
                              • Hilfe