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

  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. can't restore backup from linux to docker

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

can't restore backup from linux to docker

Geplant Angeheftet Gesperrt Verschoben ioBroker general
13 Beiträge 5 Kommentatoren 1.8k Aufrufe 5 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.
  • ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #1

    Hi

    I have iobroker running on debian host for quite a while now. Latest version.
    I installed the latest docker version from scratch. Trying to restore the backup I have taken on the linux version I get the following error:

    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    How can I restore?

    Help much appreciated.

    ? 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      Hi

      I have iobroker running on debian host for quite a while now. Latest version.
      I installed the latest docker version from scratch. Trying to restore the backup I have taken on the linux version I get the following error:

      SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

      How can I restore?

      Help much appreciated.

      ? Offline
      ? Offline
      Ein ehemaliger Benutzer
      schrieb am zuletzt editiert von
      #2

      @manilx Nobody?

      HomoranH 1 Antwort Letzte Antwort
      0
      • ? Ein ehemaliger Benutzer

        @manilx Nobody?

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

        @manilx sagte in can't restore backup from linux to docker:

        @manilx Nobody?

        Sorry!
        I'm not sure whether I have seen this post and ignored it because I'm not familiar with docker, or (more possible) I didn't see it.

        So I will try now!
        Do you use the buanet docker?
        There is a great docu available.

        Otherwise I only can push this thread, hoping any docker user will find it.

        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

          @manilx sagte in can't restore backup from linux to docker:

          @manilx Nobody?

          Sorry!
          I'm not sure whether I have seen this post and ignored it because I'm not familiar with docker, or (more possible) I didn't see it.

          So I will try now!
          Do you use the buanet docker?
          There is a great docu available.

          Otherwise I only can push this thread, hoping any docker user will find it.

          ? Offline
          ? Offline
          Ein ehemaliger Benutzer
          schrieb am zuletzt editiert von
          #4

          @homoran Yes. Using that docker image.
          Plain install and then trying to import the backup from a bare metal install results in the above error.

          HomoranH 1 Antwort Letzte Antwort
          0
          • ? Ein ehemaliger Benutzer

            @homoran Yes. Using that docker image.
            Plain install and then trying to import the backup from a bare metal install results in the above error.

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

            @manilx hope anyone else can help you. @andre would be 1st choice.

            but I think you should provide more Info

            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 -

            ? andreA 2 Antworten Letzte Antwort
            0
            • HomoranH Homoran

              @manilx hope anyone else can help you. @andre would be 1st choice.

              but I think you should provide more Info

              ? Offline
              ? Offline
              Ein ehemaliger Benutzer
              schrieb am zuletzt editiert von
              #6

              @homoran Exactly what additional info do you need?

              Fresh iobroker docker install. I finish the wizard and then go to Backitup and hit restore, select my saved backup file (zip) and then I get the error.

              When I try to do the same on a bare metal install it restores just fine.

              Thomas BraunT HomoranH 2 Antworten Letzte Antwort
              0
              • ? Ein ehemaliger Benutzer

                @homoran Exactly what additional info do you need?

                Fresh iobroker docker install. I finish the wizard and then go to Backitup and hit restore, select my saved backup file (zip) and then I get the error.

                When I try to do the same on a bare metal install it restores just fine.

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

                @manilx

                You need the latest version of the docker image as well as of the Backitup Adapter

                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 Antwort Letzte Antwort
                0
                • ? Ein ehemaliger Benutzer

                  @homoran Exactly what additional info do you need?

                  Fresh iobroker docker install. I finish the wizard and then go to Backitup and hit restore, select my saved backup file (zip) and then I get the error.

                  When I try to do the same on a bare metal install it restores just fine.

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

                  @manilx sagte in can't restore backup from linux to docker:

                  Exactly what additional info do you need?

                  not me personally, as I don't know nothing about docker
                  so i cannot tell

                  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
                  • Thomas BraunT Thomas Braun

                    @manilx

                    You need the latest version of the docker image as well as of the Backitup Adapter

                    ? Offline
                    ? Offline
                    Ein ehemaliger Benutzer
                    schrieb am zuletzt editiert von
                    #9

                    @thomas-braun Just installed fresh docker image to try this again.

                    1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @manilx hope anyone else can help you. @andre would be 1st choice.

                      but I think you should provide more Info

                      andreA Offline
                      andreA Offline
                      andre
                      Developer
                      schrieb am zuletzt editiert von
                      #10

                      @homoran sagte in can't restore backup from linux to docker:

                      @manilx hope anyone else can help you. @andre would be 1st choice.

                      but I think you should provide more Info

                      There is an issue with restoring fromt backitup in docker image v9

                      https://github.com/buanet/ioBroker.docker/issues/393

                      You can use commandline to restore or use backitup minimum v2.8.7.

                      Regards,
                      André

                      Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                      ? 1 Antwort Letzte Antwort
                      1
                      • andreA andre

                        @homoran sagte in can't restore backup from linux to docker:

                        @manilx hope anyone else can help you. @andre would be 1st choice.

                        but I think you should provide more Info

                        There is an issue with restoring fromt backitup in docker image v9

                        https://github.com/buanet/ioBroker.docker/issues/393

                        You can use commandline to restore or use backitup minimum v2.8.7.

                        Regards,
                        André

                        ? Offline
                        ? Offline
                        Ein ehemaliger Benutzer
                        schrieb am zuletzt editiert von
                        #11

                        @andre Just tried that.
                        Opening a cli on the iobroker docker container. Got that:

                        root@iobroker:/opt/iobroker# iobroker restore iobroker_2023_10_19-02_41_01_backupiobroker.tar.gz
                        Stop iobroker first!
                        root@iobroker:/opt/iobroker# iobroker stop
                        The execution of this command is blocked as your ioBroker is running inside a Docker container!

                        ? 1 Antwort Letzte Antwort
                        0
                        • ? Ein ehemaliger Benutzer

                          @andre Just tried that.
                          Opening a cli on the iobroker docker container. Got that:

                          root@iobroker:/opt/iobroker# iobroker restore iobroker_2023_10_19-02_41_01_backupiobroker.tar.gz
                          Stop iobroker first!
                          root@iobroker:/opt/iobroker# iobroker stop
                          The execution of this command is blocked as your ioBroker is running inside a Docker container!

                          ? Offline
                          ? Offline
                          Ein ehemaliger Benutzer
                          schrieb am zuletzt editiert von
                          #12

                          @manilx tried via maintenance mode logged in as iobroker user:

                          maintenance restore

                          iobroker@iobroker:~$ maintenance restore
                          You are now going to perform a restore of your iobroker.
                          During the restore process, the container will automatically switch into maintenance mode and stop ioBroker.
                          Depending on the restart policy, your container will be stopped or restarted automatically after the restore.
                          Do you want to continue [yes/no]? yes
                          You are now going to stop ioBroker and activate maintenance mode for this container.
                          Activating maintenance mode...
                          Stopping ioBroker.....Done.
                          Restoring ioBroker... Failed.
                          For more details see "/opt/iobroker/log/restore.log".
                          Please check backup file location and permissions and try again.

                          where do I put the backup zip file and under what name?

                          ? 1 Antwort Letzte Antwort
                          0
                          • ? Ein ehemaliger Benutzer

                            @manilx tried via maintenance mode logged in as iobroker user:

                            maintenance restore

                            iobroker@iobroker:~$ maintenance restore
                            You are now going to perform a restore of your iobroker.
                            During the restore process, the container will automatically switch into maintenance mode and stop ioBroker.
                            Depending on the restart policy, your container will be stopped or restarted automatically after the restore.
                            Do you want to continue [yes/no]? yes
                            You are now going to stop ioBroker and activate maintenance mode for this container.
                            Activating maintenance mode...
                            Stopping ioBroker.....Done.
                            Restoring ioBroker... Failed.
                            For more details see "/opt/iobroker/log/restore.log".
                            Please check backup file location and permissions and try again.

                            where do I put the backup zip file and under what name?

                            ? Offline
                            ? Offline
                            Ein ehemaliger Benutzer
                            schrieb am zuletzt editiert von
                            #13

                            @manilx OK. Put the backuo file under "backups" and did maintenance restore. Worked.
                            But now influxdb is not registering data..... More to fix.

                            Thx!

                            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

                            341

                            Online

                            32.4k

                            Benutzer

                            81.4k

                            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