Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup sichert SQLite3 nicht

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Backitup sichert SQLite3 nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • MeinzIsAs
      MeinzIsAs last edited by

      Hallo.

      Wenn Backitup die Sicherung startet wird der SQL-Adapter beendet.
      Im Logfile stehen dann folgende Fehlermeldungen:

      Started iobroker ...
      [DEBUG] [iobroker] - host.iobroker 10028 states saved
      
      [DEBUG] [iobroker] - host.iobroker 11189 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_05_05-09_28_50_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - done
      [DEBUG] [sqlite] - Start SQLite3 Backup ...
      [DEBUG] [sqlite] - sql.0 is stopped
      [ERROR] [sqlite] - Error: Command failed: sqlite3 Temperaturen.db .dump > /opt/iobroker/backups/sqlite_2023_05_05-09_29_14_backupiobroker.sql
      /bin/sh: 1: sqlite3: not found
      

      Die Konfiguration für die Datenbank hat Backitup selbst eingetragen bzw. gelesen.
      Der SQL-Adapter wird danach auch nicht mehr gestartet.

      Was kann ich dagegen machen?

      Danke

      1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active last edited by

        @meinzisas

        @meinzisas sagte in Backitup sichert SQLite3 nicht:

        Was kann ich dagegen machen?

        Doku lesen.

        https://github.com/simatec/ioBroker.backitup/blob/master/docs/de/backitup.md

        93d5996c-7615-48e8-956f-0746fb73753d-grafik.png

        MeinzIsAs 1 Reply Last reply Reply Quote 1
        • MeinzIsAs
          MeinzIsAs @Marc Berg last edited by

          @marc-berg

          Ok. Vielen Dank für die Antwort. Werd das gleich nachholen.

          1 Reply Last reply Reply Quote 0
          • Q
            Qlink last edited by

            @simatec

            bei mir ist SQLite Backup im BackitUp Adapter ausgegraut, obwohl sqlite3 installiert ist und der SQL Adapter läuft und funktioniert ...

            Wie kann ich das SQLite Backup aktivieren ?

            3defe0d5-aad7-4f0e-b69c-3f8d8ef2ac55-image.png
            e01ab259-afe5-45b0-ad10-bdb8d2f99295-image.png

            Marc Berg simatec 2 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser last edited by Glasfaser

              @qlink sagte in Backitup sichert SQLite3 nicht:

              obwohl sqlite3 installiert

              ist dort auch ioBroker installiert.

              Auf dem Host-System muss Sqlite3 (sudo apt install msqlite3) installiert sein.

              EDIT :

              Lese gerade in deinen Beiträgen

              Umzug Ubuntu -> Docker Synology "no connection to database"

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Qlink @Glasfaser last edited by

                @glasfaser

                ja, ist es. Hab iobroker in nem docker container auf ner synology laufen...

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Qlink last edited by

                  @qlink sagte in Backitup sichert SQLite3 nicht:

                  @glasfaser
                  ja, ist es

                  auch im gleichen Container wie ioBroker installiert !?

                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    Qlink @Glasfaser last edited by

                    @glasfaser

                    ja ich hab ja nur den einen...
                    kann ichs mit irgendeinem consolen Befehl überprüfen ?

                    1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser last edited by

                      @qlink

                      apt policy sqlite3
                      

                      im ioBroker Container

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Qlink @Glasfaser last edited by

                        @glasfaser said in Backitup sichert SQLite3 nicht:

                        apt policy sqlite3

                        82ee1c75-c591-4963-94bb-f53362d95b13-image.png

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser last edited by

                          @qlink

                          Ich nutze kein sqlite3 , nur Influx, hast du deinen Container im Bridge Modus .
                          Ich meine da war mal was das es nur im Host Modus geht ... kann aber mich täuschen ..

                          Q 1 Reply Last reply Reply Quote 0
                          • Q
                            Qlink @Glasfaser last edited by

                            @glasfaser

                            du meinst netzwerkseitig oder versteh ich dich nicht richtig ?
                            Netzwerk nutze ich jedenfalls macvlan über portainer

                            1 Reply Last reply Reply Quote 0
                            • Marc Berg
                              Marc Berg Most Active @Qlink last edited by Marc Berg

                              @qlink sagte in Backitup sichert SQLite3 nicht:

                              bei mir ist SQLite Backup im BackitUp Adapter ausgegraut

                              Ist hier beschrieben: https://docs.buanet.de/iobroker-docker-image/docs_backitup

                              Die Container-Umgebungsvariable "IOB_BACKITUP_EXTDB" muss auf "true" gesetzt werden sowie (in deinem Fall) das Paket "sqlite3" in die Umgebungsvariable "PACKAGES" eingetragen sein.
                              Bitte nicht direkt mit "apt" irgendwas in den Container installieren, da diese Installation beim nächsten Deployment/Update wieder weg ist. Durch den Eintrag in "PACKAGES" wird das betreffende Paket automatisch installiert.

                              Das sieht dann im Docker-Log so aus:

                              --------------------------------------------------------------------------------
                              -----                   Step 1 of 5: Preparing container                   -----
                              --------------------------------------------------------------------------------
                               
                              Updating Linux packages on first run... Done.
                               
                              PACKAGES is set. Installing the following additional Linux packages: influxdb redis-tools sqlite3
                               
                              influxdb is not installed. Installing... Done.
                              redis-tools is not installed. Installing... Done.
                              sqlite3 is not installed. Installing... Done.
                               
                              Registering maintenance script as command... Done.
                              
                              1 Reply Last reply Reply Quote 0
                              • simatec
                                simatec Developer Most Active @Qlink last edited by

                                @qlink https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#externe-datenbanken-im-docker-container-sichern

                                1 Reply Last reply Reply Quote 0
                                • Q
                                  Qlink last edited by

                                  @Marc-Berg @simatec

                                  Danke euch für die Hinweise.
                                  Hab ich wieder was gelernt.

                                  Jetzt funktionierts auch mit SQlite!

                                  Danke 🙂

                                  Beste Grüße

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Support us

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

                                  1.0k
                                  Online

                                  31.6k
                                  Users

                                  79.4k
                                  Topics

                                  1.3m
                                  Posts

                                  5
                                  15
                                  552
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo