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. Einsteigerfragen
  4. Installation
  5. IOBroker backup auf neue Rasperry übertragen

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

IOBroker backup auf neue Rasperry übertragen

Scheduled Pinned Locked Moved Installation
65 Posts 5 Posters 3.6k Views 3 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.
  • crunchipC crunchip

    @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

    ich denke er startet nicht wegen deiner Datenbank, jsonl gab es früher noch nicht, denke da musst du umstellen auf file/file

    M Offline
    M Offline
    Metzid
    wrote on last edited by
    #18

    @crunchip hallo denke da musst du umstellen auf file/file. Wie kann ich das umstellen. Ist das auf der alten oder neuen Maschine

    crunchipC 1 Reply Last reply
    0
    • M Metzid

      @crunchip hallo denke da musst du umstellen auf file/file. Wie kann ich das umstellen. Ist das auf der alten oder neuen Maschine

      crunchipC Away
      crunchipC Away
      crunchip
      Forum Testing Most Active
      wrote on last edited by
      #19

      @metzid auf deiner neuen Installation

      iobroker stop  
      iobroker setup custom
      

      Aber ist aus meiner Sicht nur eine Vermutung das es daran liegt.

      umgestiegen von Proxmox auf Unraid

      M 1 Reply Last reply
      0
      • HomoranH Homoran

        @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

        liege ich da falsch

        ja!

        nodejs ist die Laufzeitumgebung auf die ioBroker aufgesetzt ist.

        M Offline
        M Offline
        Metzid
        wrote on last edited by
        #20

        @homoran danke für die Info. Leider habe ich das alte Betriebsystem bereits versucht upzudaten und danach den iobroker. Aber dann musste ich wieder das alte Image zurückspielen iobroker hat sich auf dem alten System danach micht starten lassen.

        1 Reply Last reply
        0
        • crunchipC crunchip

          @metzid auf deiner neuen Installation

          iobroker stop  
          iobroker setup custom
          

          Aber ist aus meiner Sicht nur eine Vermutung das es daran liegt.

          M Offline
          M Offline
          Metzid
          wrote on last edited by
          #21

          @crunchip pi@piiobroker:/opt/iobroker $ sudo 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]: f
          Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
          Port of objects DB(file), default[9001]: f
          Input another, please.
          Port of objects DB(file), default[9001]:

          Das schreibt er gerade was soll ich da einstellen was ist imput another please

          Thomas BraunT M crunchipC 3 Replies Last reply
          0
          • M Metzid

            @crunchip pi@piiobroker:/opt/iobroker $ sudo 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]: f
            Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
            Port of objects DB(file), default[9001]: f
            Input another, please.
            Port of objects DB(file), default[9001]:

            Das schreibt er gerade was soll ich da einstellen was ist imput another please

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #22

            @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

            sudo iobroker

            iobroker NIE in Verbindung mit sudo verwenden.

            Fixen:

            iob stop
            iob fix
            iob start
            

            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

            1 Reply Last reply
            0
            • M Metzid

              @crunchip pi@piiobroker:/opt/iobroker $ sudo 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]: f
              Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
              Port of objects DB(file), default[9001]: f
              Input another, please.
              Port of objects DB(file), default[9001]:

              Das schreibt er gerade was soll ich da einstellen was ist imput another please

              M Offline
              M Offline
              Metzid
              wrote on last edited by
              #23

              @metzid pi@piiobroker:/opt/iobroker $ sudo 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]: f
              Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
              Port of objects DB(file), default[9001]: f
              Input another, please.
              Port of objects DB(file), default[9001]: 9001
              Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
              Host / Unix Socket of states DB (file), default[f]: f
              Port of states DB (file), default[9000]: 9000
              Host name of this machine [piiobroker]: piiobroker
              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

              Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y

              Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y

              Connecting to previous DB "jsonl"...
              Creating backup ...
              This can take some time ... please be patient!
              host.piiobroker 1626 states saved
              host.piiobroker 2188 objects saved
              Backup created: /opt/iobroker/backups/2023_04_26-22_20_28_backupiobroker-migration.tar.gz
              updating conf/iobroker.json

              Connecting to new DB "file" (can take up to 20s) ...
              Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
              Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
              Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
              Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
              Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
              Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
              No connection to databases possible ...

              New Database could not be connected. Please check your settings. No settings have been changed.
              restoring conf/iobroker.json
              pi@piiobroker:/opt/iobroker $

              Thomas BraunT 1 Reply Last reply
              0
              • M Metzid

                @metzid pi@piiobroker:/opt/iobroker $ sudo 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]: f
                Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                Port of objects DB(file), default[9001]: f
                Input another, please.
                Port of objects DB(file), default[9001]: 9001
                Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                Host / Unix Socket of states DB (file), default[f]: f
                Port of states DB (file), default[9000]: 9000
                Host name of this machine [piiobroker]: piiobroker
                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

                Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y

                Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y

                Connecting to previous DB "jsonl"...
                Creating backup ...
                This can take some time ... please be patient!
                host.piiobroker 1626 states saved
                host.piiobroker 2188 objects saved
                Backup created: /opt/iobroker/backups/2023_04_26-22_20_28_backupiobroker-migration.tar.gz
                updating conf/iobroker.json

                Connecting to new DB "file" (can take up to 20s) ...
                Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
                Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
                Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                No connection to databases possible ...

                New Database could not be connected. Please check your settings. No settings have been changed.
                restoring conf/iobroker.json
                pi@piiobroker:/opt/iobroker $

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #24

                @metzid

                Nochmal...

                iobroker wird nie mit sudo eingeleitet.
                Fix das!

                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

                M 2 Replies Last reply
                0
                • Thomas BraunT Thomas Braun

                  @metzid

                  Nochmal...

                  iobroker wird nie mit sudo eingeleitet.
                  Fix das!

                  M Offline
                  M Offline
                  Metzid
                  wrote on last edited by Homoran
                  #25

                  @thomas-braun

                  pi@piiobroker:/opt/iobroker $ iob fix
                  library: loaded
                  Library version=2022-12-09
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installation fixer!
                      Script version: 2023-04-02
                  
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/5)
                  ==========================================================================
                  
                  Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                  Hit:2 http://deb.debian.org/debian bullseye InRelease
                  Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                  Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                  Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                  Reading package lists... Done
                  Installed gcc-c++
                  
                  ==========================================================================
                      Checking ioBroker user and directory permissions (2/5)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Fixing directory permissions...
                  
                  ==========================================================================
                      Check and cleanup npm temporary directories (3/5)
                  ==========================================================================
                  
                  Done.
                  
                  ==========================================================================
                      Database maintenance (4/5)
                  ==========================================================================
                  
                  Checking for uncompressed JSONL databases... This might take a while!
                  
                  Compressing /opt/iobroker/iobroker-data/states.jsonl
                  Compressing /opt/iobroker/iobroker-data/objects.jsonl
                  Compressed 2 JSONL files. Done
                  
                  ==========================================================================
                      Checking autostart (5/5)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  pi@piiobroker:/opt/iobroker $ iob start
                  

                  MOD-EDIT: Code in code-tags gesetzt!

                  leider über browser nicht erreichbar

                  crunchipC 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @metzid

                    Nochmal...

                    iobroker wird nie mit sudo eingeleitet.
                    Fix das!

                    M Offline
                    M Offline
                    Metzid
                    wrote on last edited by
                    #26

                    @thomas-braun aber Fehler hat er beim fix nicht gebracht

                    Thomas BraunT 1 Reply Last reply
                    0
                    • M Metzid

                      @crunchip pi@piiobroker:/opt/iobroker $ sudo 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]: f
                      Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                      Port of objects DB(file), default[9001]: f
                      Input another, please.
                      Port of objects DB(file), default[9001]:

                      Das schreibt er gerade was soll ich da einstellen was ist imput another please

                      crunchipC Away
                      crunchipC Away
                      crunchip
                      Forum Testing Most Active
                      wrote on last edited by
                      #27

                      @metzid wie schon geschrieben, ohne sudo
                      Du hast da ein f zu viel gedrückt, bei port einfach enter drücken, damit default übernommen wird

                      umgestiegen von Proxmox auf Unraid

                      1 Reply Last reply
                      0
                      • M Metzid

                        @thomas-braun

                        pi@piiobroker:/opt/iobroker $ iob fix
                        library: loaded
                        Library version=2022-12-09
                        
                        ==========================================================================
                        
                            Welcome to the ioBroker installation fixer!
                            Script version: 2023-04-02
                        
                            You might need to enter your password a couple of times.
                        
                        ==========================================================================
                        
                        
                        ==========================================================================
                            Installing prerequisites (1/5)
                        ==========================================================================
                        
                        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                        Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Reading package lists... Done
                        Installed gcc-c++
                        
                        ==========================================================================
                            Checking ioBroker user and directory permissions (2/5)
                        ==========================================================================
                        
                        Created /etc/sudoers.d/iobroker
                        Fixing directory permissions...
                        
                        ==========================================================================
                            Check and cleanup npm temporary directories (3/5)
                        ==========================================================================
                        
                        Done.
                        
                        ==========================================================================
                            Database maintenance (4/5)
                        ==========================================================================
                        
                        Checking for uncompressed JSONL databases... This might take a while!
                        
                        Compressing /opt/iobroker/iobroker-data/states.jsonl
                        Compressing /opt/iobroker/iobroker-data/objects.jsonl
                        Compressed 2 JSONL files. Done
                        
                        ==========================================================================
                            Checking autostart (5/5)
                        ==========================================================================
                        
                        Enabling autostart...
                        Autostart enabled!
                        
                        ==========================================================================
                        
                            Your installation was fixed successfully
                            Run iobroker start to start ioBroker again!
                        
                        ==========================================================================
                        
                        pi@piiobroker:/opt/iobroker $ iob start
                        

                        MOD-EDIT: Code in code-tags gesetzt!

                        leider über browser nicht erreichbar

                        crunchipC Away
                        crunchipC Away
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #28

                        @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                        leider über browser nicht erreichbar

                        iob list instances
                        

                        umgestiegen von Proxmox auf Unraid

                        M 2 Replies Last reply
                        0
                        • M Metzid

                          @thomas-braun aber Fehler hat er beim fix nicht gebracht

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #29

                          @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                          aber Fehler hat er beim fix nicht gebracht

                          Der Fixer gibt auch keine Fehlerdiagnose aus, der fixt es einfach.

                          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

                          1 Reply Last reply
                          0
                          • crunchipC crunchip

                            @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                            leider über browser nicht erreichbar

                            iob list instances
                            
                            M Offline
                            M Offline
                            Metzid
                            wrote on last edited by Homoran
                            #30

                            @crunchip

                            pi@piiobroker:/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]: f
                            Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                            Port of objects DB(file), default[9001]:
                            Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                            Host / Unix Socket of states DB (file), default[f]: f
                            Port of states DB (file), default[9000]:
                            Host name of this machine [piiobroker]: piiobroker
                            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
                            
                            Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y
                            
                            Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                            
                            Connecting to previous DB "jsonl"...
                            Creating backup ...
                            This can take some time ... please be patient!
                            host.piiobroker 1626 states saved
                            host.piiobroker 2188 objects saved
                            Backup created: /opt/iobroker/backups/2023_04_26-22_38_38_backupiobroker-migration.tar.gz
                            updating conf/iobroker.json
                            
                            Connecting to new DB "file" (can take up to 20s) ...
                            Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                            Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                            Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                            No connection to databases possible ...
                            
                            New Database could not be connected. Please check your settings. No settings have been changed.
                            restoring conf/iobroker.json
                            pi@piiobroker:/opt/iobroker $ iob start
                            

                            MOD-EDIT: Code in code-tags gesetzt!

                            crunchipC 1 Reply Last reply
                            0
                            • crunchipC crunchip

                              @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                              leider über browser nicht erreichbar

                              iob list instances
                              
                              M Offline
                              M Offline
                              Metzid
                              wrote on last edited by Homoran
                              #31

                              @crunchip

                              pi@piiobroker:/opt/iobroker $ iob list instances
                                system.adapter.admin.0                  : admin                 : piiobroker                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                system.adapter.broadlink2.0             : broadlink2            : piiobroker                               - disabled
                                system.adapter.hm-rega.0                : hm-rega               : piiobroker                               - disabled
                                system.adapter.hm-rpc.0                 : hm-rpc                : piiobroker                               - disabled, port: 0
                                system.adapter.iot.0                    : iot                   : piiobroker                               - disabled
                                system.adapter.javascript.0             : javascript            : piiobroker                               - disabled
                                system.adapter.scenes.0                 : scenes                : piiobroker                               - disabled
                                system.adapter.web.0                    : web                   : piiobroker                               - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                              
                              + instance is alive
                              pi@piiobroker:/opt/iobroker $
                              

                              MOD-EDIT: Code in code-tags gesetzt!

                              crunchipC 1 Reply Last reply
                              0
                              • M Metzid

                                @crunchip

                                pi@piiobroker:/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]: f
                                Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                Port of objects DB(file), default[9001]:
                                Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                                Host / Unix Socket of states DB (file), default[f]: f
                                Port of states DB (file), default[9000]:
                                Host name of this machine [piiobroker]: piiobroker
                                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
                                
                                Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [y/N]: y
                                
                                Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                                
                                Connecting to previous DB "jsonl"...
                                Creating backup ...
                                This can take some time ... please be patient!
                                host.piiobroker 1626 states saved
                                host.piiobroker 2188 objects saved
                                Backup created: /opt/iobroker/backups/2023_04_26-22_38_38_backupiobroker-migration.tar.gz
                                updating conf/iobroker.json
                                
                                Connecting to new DB "file" (can take up to 20s) ...
                                Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                                Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                                Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                No connection to databases possible ...
                                
                                New Database could not be connected. Please check your settings. No settings have been changed.
                                restoring conf/iobroker.json
                                pi@piiobroker:/opt/iobroker $ iob start
                                

                                MOD-EDIT: Code in code-tags gesetzt!

                                crunchipC Away
                                crunchipC Away
                                crunchip
                                Forum Testing Most Active
                                wrote on last edited by
                                #32

                                @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                                Connecting to previous DB "jsonl"...
                                Creating backup ...
                                This can take some time ... please be patient!
                                host.piiobroker 1626 states saved
                                host.piiobroker 2188 objects saved
                                Backup created: /opt/iobroker/backups/2023_04_26-22_38_38_backupiobroker-migration.tar.gz
                                updating conf/iobroker.json

                                Also müsste ja eigentlich eine jeweilige jsonl vorhanden sein, aber wohl nur als backup

                                umgestiegen von Proxmox auf Unraid

                                1 Reply Last reply
                                0
                                • M Metzid

                                  @crunchip

                                  pi@piiobroker:/opt/iobroker $ iob list instances
                                    system.adapter.admin.0                  : admin                 : piiobroker                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    system.adapter.broadlink2.0             : broadlink2            : piiobroker                               - disabled
                                    system.adapter.hm-rega.0                : hm-rega               : piiobroker                               - disabled
                                    system.adapter.hm-rpc.0                 : hm-rpc                : piiobroker                               - disabled, port: 0
                                    system.adapter.iot.0                    : iot                   : piiobroker                               - disabled
                                    system.adapter.javascript.0             : javascript            : piiobroker                               - disabled
                                    system.adapter.scenes.0                 : scenes                : piiobroker                               - disabled
                                    system.adapter.web.0                    : web                   : piiobroker                               - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                  
                                  + instance is alive
                                  pi@piiobroker:/opt/iobroker $
                                  

                                  MOD-EDIT: Code in code-tags gesetzt!

                                  crunchipC Away
                                  crunchipC Away
                                  crunchip
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #33

                                  @metzid da läuft kein admin, soweit man hier sehen kann

                                  umgestiegen von Proxmox auf Unraid

                                  M 1 Reply Last reply
                                  0
                                  • crunchipC crunchip

                                    @metzid da läuft kein admin, soweit man hier sehen kann

                                    M Offline
                                    M Offline
                                    Metzid
                                    wrote on last edited by
                                    #34

                                    @crunchip wie kann ich den admin
                                    starten

                                    crunchipC 1 Reply Last reply
                                    0
                                    • M Metzid

                                      @crunchip wie kann ich den admin
                                      starten

                                      crunchipC Away
                                      crunchipC Away
                                      crunchip
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #35

                                      @metzid
                                      iob start admin

                                      umgestiegen von Proxmox auf Unraid

                                      M 2 Replies Last reply
                                      0
                                      • crunchipC crunchip

                                        @metzid
                                        iob start admin

                                        M Offline
                                        M Offline
                                        Metzid
                                        wrote on last edited by Homoran
                                        #36

                                        @crunchip

                                        pi@piiobroker:/opt/iobroker $ iob start admin
                                        pi@piiobroker:/opt/iobroker $ iob list instances
                                          system.adapter.admin.0                  : admin                 : piiobroker                               -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                          system.adapter.broadlink2.0             : broadlink2            : piiobroker                               - disabled
                                          system.adapter.hm-rega.0                : hm-rega               : piiobroker                               - disabled
                                          system.adapter.hm-rpc.0                 : hm-rpc                : piiobroker                               - disabled, port: 0
                                          system.adapter.iot.0                    : iot                   : piiobroker                               - disabled
                                          system.adapter.javascript.0             : javascript            : piiobroker                               - disabled
                                          system.adapter.scenes.0                 : scenes                : piiobroker                               - disabled
                                          system.adapter.web.0                    : web                   : piiobroker                               - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        
                                        + instance is alive
                                        pi@piiobroker:/opt/iobroker $
                                        

                                        MOD-EDIT: Code in code-tags gesetzt!

                                        Leider über Browser nicht erreichbar

                                        1 Reply Last reply
                                        0
                                        • crunchipC crunchip

                                          @metzid
                                          iob start admin

                                          M Offline
                                          M Offline
                                          Metzid
                                          wrote on last edited by
                                          #37

                                          @crunchip Hallo guten Morgen. Ich habe mir heute Nacht nochmals überlegt ob es Sinn macht das Image des neuen Raspberry mit neiem OS und iobroker nochmals einzuspielen dann die datenbank auf file/file umzustellen und dann ein restore des iobrokers zu fahren. Dann dürfte doch zumindest die datenbbank auf dem Level des restores dein. Oder mache ich da einen Denkfehler.

                                          Noch eine kurze Frage wenn so ein Restore gefahren wird werden dann die ganzen Module /Datenbanken auf dem raspberry auf die Versionsnummer des Altgerätes zurückgestellt. Oder gibt es eine versionsabhängigkeit wo dann nur der Inhalt der verschiedenen Datenbank und Module zurückgespielt wird so dass keine Instalation auf die alten Level erfolgt also rein Daten eingespielt werden. Sollte man da schon die ganzen Adapter die auch im alten Backup hinterlegt sind schon in der neuen Version installieren so dass das System nur noch Daten zurück spielt und keine Adapter auf alte Versionen zurücksetzt. Oder gibt es da eine versionsabhängigkeit ab wann das iobroker Backup nur Daten oder auch Versionen zurückspielt.

                                          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

                                          733

                                          Online

                                          32.7k

                                          Users

                                          82.3k

                                          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