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. English
  3. ioBroker general
  4. can't restore backup from linux to docker

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

can't restore backup from linux to docker

Scheduled Pinned Locked Moved ioBroker general
13 Posts 5 Posters 1.9k Views 5 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #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 Reply Last reply
    0
    • ? A Former User

      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
      A Former User
      wrote on last edited by
      #2

      @manilx Nobody?

      HomoranH 1 Reply Last reply
      0
      • ? A Former User

        @manilx Nobody?

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by 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 Reply Last reply
        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
          A Former User
          wrote on last edited by
          #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 Reply Last reply
          0
          • ? A Former User

            @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 Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by 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 Replies Last reply
            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
              A Former User
              wrote on last edited by
              #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 Replies Last reply
              0
              • ? A Former User

                @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
                wrote on last edited by
                #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 Reply Last reply
                0
                • ? A Former User

                  @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 Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #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 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @manilx

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

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

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

                    1 Reply Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      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
                        A Former User
                        wrote on last edited by
                        #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 Reply Last reply
                        0
                        • ? A Former User

                          @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
                          A Former User
                          wrote on last edited by
                          #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 Reply Last reply
                          0
                          • ? A Former User

                            @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
                            A Former User
                            wrote on last edited by
                            #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 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

                            713

                            Online

                            32.5k

                            Users

                            81.7k

                            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