Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    286

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Erledigt Redis über Backitup , Fehler beim Restore

Scheduled Pinned Locked Moved ioBroker Allgemein
redis backitup
20 Posts 5 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @paul-honka

    sudo -u iobroker groups
    
    P Offline
    P Offline
    paul.honka
    wrote on last edited by Homoran
    #3

    @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 BraunT 1 Reply Last reply
    0
    • P paul.honka

      @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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #4

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

      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 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @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 Offline
        P Offline
        paul.honka
        wrote on last edited by
        #5

        @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

        HomoranH Thomas BraunT 2 Replies Last reply
        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

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by Homoran
          #6

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

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          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

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            wrote on last edited by 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 Reply Last reply
            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
              wrote on last edited by 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 Replies Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                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
                  wrote on last edited by
                  #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 Reply Last reply
                  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 Online
                    FredFF Online
                    FredF
                    Most Active Forum Testing
                    wrote on last edited by
                    #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 Reply Last reply
                    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
                      wrote on last edited by
                      #12

                      @fredf
                      Ist kein Multihost!
                      cu paul

                      FredFF 1 Reply Last reply
                      0
                      • P paul.honka

                        @fredf
                        Ist kein Multihost!
                        cu paul

                        FredFF Online
                        FredFF Online
                        FredF
                        Most Active Forum Testing
                        wrote on last edited by
                        #13

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

                        HomoranH 1 Reply Last reply
                        0
                        • FredFF FredF

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

                          HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #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 -
                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          FredFF 1 Reply Last reply
                          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
                            wrote on last edited by
                            #15

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

                            1 Reply Last reply
                            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 Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #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 -
                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Reply Last reply
                              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 Online
                                FredFF Online
                                FredF
                                Most Active Forum Testing
                                wrote on last edited by
                                #17

                                @homoran
                                afaik 0.0.0.0

                                HomoranH 1 Reply Last reply
                                0
                                • FredFF FredF

                                  @homoran
                                  afaik 0.0.0.0

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #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 -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  FredFF 1 Reply Last reply
                                  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 Online
                                    FredFF Online
                                    FredF
                                    Most Active Forum Testing
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    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
                                      wrote on last edited by
                                      #20

                                      @fredf
                                      jo das war, thx.
                                      cu paul

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      Support us

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

                                      594

                                      Online

                                      32.7k

                                      Users

                                      82.5k

                                      Topics

                                      1.3m

                                      Posts
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                      ioBroker Community 2014-2025
                                      logo
                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Home
                                      • Recent
                                      • Tags
                                      • Unread 0
                                      • Categories
                                      • Unreplied
                                      • Popular
                                      • GitHub
                                      • Docu
                                      • Hilfe