Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Backitup für kein Automatisches Backup aus

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Backitup für kein Automatisches Backup aus

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi4
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Ubuntu
      Node-Version: 10.x.x
      Nodejs-Version: v12.22.1
      NPM-Version: 6.14.12
      Installationsart:
      Image genutzt: Ja
      Ort/Name der Imagedatei: PI4

      Hallo zusammen leider führt der Adapter kein automatisches Backup aus.

      02-06-2021 06-41-44.jpg

      hier der log eines Manuel Backup

      Started iobroker ...
      [DEBUG] [iobroker] - host.PI4 6304 states saved
      
      [DEBUG] [iobroker] - host.PI4 7824 objects saved
      
      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_06_02-06_41_47_backupiobroker.tar.gz
      
      [DEBUG] [iobroker] - done
      [DEBUG] [historyDB] - compress from historyDB started ...
      [ERROR] [historyDB] - [IGNORED] Backitup cannot found source "undefined" for compress!
      [DEBUG] [zigbee] - found zigbee database: zigbee.0,zigbee.1
      [DEBUG] [zigbee] - done
      [DEBUG] [javascripts] - javascript directory "/media/usb/scripts" not found
      [DEBUG] [javascripts] - done
      [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_06_02-06_41_47_backupiobroker.tar.gz...
      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/historyDB_2021_06_02-06_41_58_backupiobroker.tar.gz" not found
      [DEBUG] [googledrive] - Google Drive: Copy zigbee.0_2021_06_02-06_41_59_backupiobroker.tar.gz...
      [DEBUG] [googledrive] - Google Drive: Copy zigbee.1_2021_06_02-06_41_59_backupiobroker.tar.gz...
      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/javascripts_2021_06_02-06_41_59_backupiobroker.tar.gz" not found
      [DEBUG] [googledrive] - done
      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
      [DEBUG] [clean] - done
      [DEBUG] [telegram] - done
      [DEBUG] [historyHTML] - new history html values created
      [DEBUG] [historyHTML] - done
      [DEBUG] [historyJSON] - new history json values created
      [DEBUG] [historyJSON] - done
      [EXIT] 0
      

      was mache ich falsch? es hat eine ganze zeit lang funktioniert aber jetzt irgendwie nicht mehr.

      Thomas Braun Meister Mopper 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @ChrisNett last edited by

        @christian-sandkaulen

        Stell Mal eine 'krumme' Uhrzeit ein. Zu vollen Stunden ist auf Google Drive schon mal zu viel los.
        3:37 z.B.

        ChrisNett 1 Reply Last reply Reply Quote 0
        • ChrisNett
          ChrisNett @Thomas Braun last edited by

          @thomas-braun

          Danke habe gerade mal 7:37 eingestellt müsste dann ja gleich laufen..

          simatec 1 Reply Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @ChrisNett last edited by Meister Mopper

            @christian-sandkaulen sagte in Backitup für kein Automatisches Backup aus:

            Node-Version:
            10.x.x

            Nodejs-Version:
            v12.22.1

            Da stimmt was nicht. Die Versionen sollen identisch sein:

            ChrisNett 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @ChrisNett last edited by

              @christian-sandkaulen Dein History und Javascript Backup sind nicht korrekt konfiguriert.
              Hier müssen die richtigen Pfade noch konfiguriert werden

              ChrisNett 1 Reply Last reply Reply Quote 0
              • ChrisNett
                ChrisNett @Meister Mopper last edited by

                @meister-mopper

                habe ich fasch eingetragen die sind gleich

                1 Reply Last reply Reply Quote 0
                • ChrisNett
                  ChrisNett @simatec last edited by ChrisNett

                  @simatec

                  ja das Backup läuft jetzt aber nur die beiden fehler, was müss ich da angeben?

                  backitup.0	2021-06-02 07:51:15.521	info	(22053) [iobroker] backup was activated at 07:49 every 1 day(s)
                  backitup.0	2021-06-02 07:51:15.420	info	(22053) starting. Version 2.1.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.3.9
                  backitup.0	2021-06-02 07:51:07.730	info	(20698) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  backitup.0	2021-06-02 07:51:07.728	info	(20698) terminating
                  backitup.0	2021-06-02 07:51:07.727	info	(20698) cleaned everything up...
                  backitup.0	2021-06-02 07:51:07.726	info	(20698) Got terminate signal TERMINATE_YOURSELF
                  backitup.0	2021-06-02 07:45:44.462	info	(20698) [iobroker] backup was activated at 07:49 every 1 day(s)
                  backitup.0	2021-06-02 07:45:44.351	info	(20698) starting. Version 2.1.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.3.9
                  backitup.0	2021-06-02 07:45:36.733	info	(18982) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  backitup.0	2021-06-02 07:45:36.730	info	(18982) terminating
                  backitup.0	2021-06-02 07:45:36.729	info	(18982) cleaned everything up...
                  backitup.0	2021-06-02 07:45:36.727	info	(18982) Got terminate signal TERMINATE_YOURSELF
                  
                  simatec Glasfaser 2 Replies Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @ChrisNett last edited by

                    @christian-sandkaulen Der Log sagt leider nichts aus, außer dass du den Adapter neu gestartet hast

                    ChrisNett 1 Reply Last reply Reply Quote 0
                    • ChrisNett
                      ChrisNett @simatec last edited by

                      @simatec
                      sorry dachte da seht das bei..

                      Started iobroker ...
                      [DEBUG] [iobroker] - host.PI4 6271 states saved
                      
                      [DEBUG] [iobroker] - host.PI4 7753 objects saved
                      
                      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_06_02-08_01_32_backupiobroker.tar.gz
                      
                      [DEBUG] [iobroker] - done
                      [DEBUG] [historyDB] - compress from historyDB started ...
                      [ERROR] [historyDB] - [IGNORED] Backitup cannot found source "undefined" for compress!
                      [DEBUG] [zigbee] - found zigbee database: zigbee.0,zigbee.1
                      [DEBUG] [zigbee] - done
                      [DEBUG] [javascripts] - javascript directory "" not found
                      [DEBUG] [javascripts] - done
                      [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_06_02-08_01_32_backupiobroker.tar.gz...
                      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/historyDB_2021_06_02-08_01_45_backupiobroker.tar.gz" not found
                      [DEBUG] [googledrive] - Google Drive: Copy zigbee.0_2021_06_02-08_01_45_backupiobroker.tar.gz...
                      [DEBUG] [googledrive] - Google Drive: Copy zigbee.1_2021_06_02-08_01_45_backupiobroker.tar.gz...
                      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/javascripts_2021_06_02-08_01_46_backupiobroker.tar.gz" not found
                      [DEBUG] [googledrive] - done
                      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                      [DEBUG] [clean] - done
                      [DEBUG] [telegram] - done
                      [DEBUG] [historyHTML] - new history html values created
                      [DEBUG] [historyHTML] - done
                      [DEBUG] [historyJSON] - new history json values created
                      [DEBUG] [historyJSON] - done
                      [EXIT] 0
                      

                      js.jpg hd.jpg

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

                        @christian-sandkaulen sagte in Backitup für kein Automatisches Backup aus:

                        js-controller: 3.3.9

                        Biste du im BETA Kanal unterwegs !?

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

                          @glasfaser
                          nicht das ich wüsste sol ich das ändern?

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

                            @christian-sandkaulen sagte in Backitup für kein Automatisches Backup aus:

                            nicht das ich wüsste

                            Zeige mal :

                            iobroker version
                            iobroker repo list
                            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                            
                            ChrisNett 1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @ChrisNett last edited by

                              @christian-sandkaulen Du hast weder bei dem History Backup einen Pfad angegeben noch beim Javascript.
                              Wenn du die beiden Optionen mitsichern willst, dann musst dort die Pfadangabe rein. Wenn nicht die beiden Optionen in den Haupteinstellungen deaktivieren

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

                                @glasfaser

                                pi@PI4:~ $ iobroker version
                                3.3.9
                                pi@PI4:~ $ iobroker repo list
                                Stable (default): http://download.iobroker.net/sources-dist.json
                                Beta (latest): http://download.iobroker.net/sources-dist-latest.json
                                
                                Active repo: Stable (default)
                                pi@PI4:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                v12.22.1
                                v12.22.1
                                6.14.12
                                Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,7 kB]
                                Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                                Holen:3 http://packages.microsoft.com/repos/code stable InRelease [10,4 kB]
                                OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                                Holen:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB]
                                Holen:6 http://packages.microsoft.com/repos/code stable/main armhf Packages [30,9 kB]
                                Holen:7 http://packages.microsoft.com/repos/code stable/main arm64 Packages [30,9 kB]
                                Holen:8 http://packages.microsoft.com/repos/code stable/main amd64 Packages [29,9 kB]
                                Holen:9 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
                                Es wurden 13,5 MB in 13 s geholt (1.077 kB/s).
                                Paketlisten werden gelesen... Fertig
                                Abhängigkeitsbaum wird aufgebaut.
                                Statusinformationen werden eingelesen.... Fertig
                                Aktualisierung für 73 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                                OK:3 http://packages.microsoft.com/repos/code stable InRelease
                                OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                                Paketlisten werden gelesen... Fertig
                                Abhängigkeitsbaum wird aufgebaut.
                                Statusinformationen werden eingelesen.... Fertig
                                Aktualisierung für 73 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                nodejs:
                                  Installiert:           12.22.1-1nodesource1
                                  Installationskandidat: 12.22.1-1nodesource1
                                  Versionstabelle:
                                 *** 12.22.1-1nodesource1 500
                                        500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     10.24.0~dfsg-1~deb10u1 500
                                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • ChrisNett
                                  ChrisNett @simatec last edited by

                                  @simatec
                                  wie bekomme ich die Pfade raus ?

                                  simatec 1 Reply Last reply Reply Quote 0
                                  • simatec
                                    simatec Developer Most Active @ChrisNett last edited by

                                    @christian-sandkaulen Jeweils auf den Button ermitteln klicken.
                                    Wenn Javascript und der History Adapter richtig konfiguriert sind, holt sich Backitup die Daten

                                    https://github.com/simatec/ioBroker.backitup/blob/master/docs/de/backitup.md#Javascript-Backup

                                    ChrisNett 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @ChrisNett last edited by

                                      @christian-sandkaulen
                                      Eigentlich alles richtig eingestellt.
                                      Du musst aber irgendwann mal die Beta-Version des js-controllers eingespielt haben, 3.3.9 war nie im Stable verfügbar.

                                      Die 73 hängenden Upgrades würde ich reinholen:

                                      sudo apt dist-upgrade
                                      sudo reboot
                                      
                                      ChrisNett 2 Replies Last reply Reply Quote 0
                                      • ChrisNett
                                        ChrisNett @Thomas Braun last edited by

                                        @thomas-braun
                                        ja das kann sein als ich problem mit Zigbee hatte ist das gemacht worden, update mache ich gleich.

                                        1 Reply Last reply Reply Quote 0
                                        • ChrisNett
                                          ChrisNett @simatec last edited by

                                          @simatec

                                          danke JS habe ich ümgestellt aber was muss hier rein?

                                          a8c0cd56-b9fc-417c-8b87-3a24d8d2526f-image.png

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @ChrisNett last edited by

                                            @christian-sandkaulen

                                            Bei mir habe ich da (analog zu den JS-skripten) ein Spiegelverzeichnis in /home/iobroker/history angelegt. Also außerhalb von /opt/iobroker

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            872
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            29
                                            572
                                            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