Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active last edited by

      @jackdaniel sagte in Test Adapter ioBroker.backitup v2.5.x:

      path must be specified as a single positional argument

      Das mal geprüft?
      https://forum.iobroker.net/topic/57284/gelöst-backitup-error

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

        ja das hatte ich schon gefunden, der token passt zu 100% (hab extra einen neuen erstellt)

        jackdaniel@iobroker:~$ influx auth list -t 1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA==
        ID                      Description     Token                                                                          User Name        User ID                 Permissions
        0aba8d818e0ed000        iob backup      1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA==        JackDaniel      0ab0654b30378000        [read:orgs/f101a4afa60bf046/annotations write:orgs/f101a4afa60bf046/annotations read:orgs/f101a4afa60bf046/authorizations write:orgs/f101a4afa60bf046/authorizations read:orgs/f101a4afa60bf046/buckets write:orgs/f101a4afa60bf046/buckets read:orgs/f101a4afa60bf046/checks write:orgs/f101a4afa60bf046/checks read:orgs/f101a4afa60bf046/dashboards write:orgs/f101a4afa60bf046/dashboards read:orgs/f101a4afa60bf046/dbrp write:orgs/f101a4afa60bf046/dbrp read:orgs/f101a4afa60bf046/documents write:orgs/f101a4afa60bf046/documents read:orgs/f101a4afa60bf046/labels write:orgs/f101a4afa60bf046/labels read:orgs/f101a4afa60bf046/notebooks write:orgs/f101a4afa60bf046/notebooks read:orgs/f101a4afa60bf046/notificationEndpoints write:orgs/f101a4afa60bf046/notificationEndpoints read:orgs/f101a4afa60bf046/notificationRules write:orgs/f101a4afa60bf046/notificationRules read:/orgs/f101a4afa60bf046 read:orgs/f101a4afa60bf046/remotes write:orgs/f101a4afa60bf046/remotes read:orgs/f101a4afa60bf046/replications write:orgs/f101a4afa60bf046/replications read:orgs/f101a4afa60bf046/scrapers write:orgs/f101a4afa60bf046/scrapers read:orgs/f101a4afa60bf046/secrets write:orgs/f101a4afa60bf046/secrets read:orgs/f101a4afa60bf046/sources write:orgs/f101a4afa60bf046/sources read:orgs/f101a4afa60bf046/tasks write:orgs/f101a4afa60bf046/tasks read:orgs/f101a4afa60bf046/telegrafs write:orgs/f101a4afa60bf046/telegrafs read:/users/0ab0654b30378000 write:/users/0ab0654b30378000 read:orgs/f101a4afa60bf046/variables write:orgs/f101a4afa60bf046/variables read:orgs/f101a4afa60bf046/views write:orgs/f101a4afa60bf046/views]
        
        1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @JackDaniel last edited by

          @jackdaniel sagte in Test Adapter ioBroker.backitup v2.5.x:

          [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t influx auth list -t 1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA== "/opt/iobroker/backups/influxDB_2023_02_10-08_33_06_backupiobroker" Error: backup path must be specified as a single positional argument

          Also das influx auth list -t hat im Token nichts zu suchen.
          Da hast du sicher copy & paste gemacht

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

            @simatec sagte in Test Adapter ioBroker.backitup v2.5.x:

            Da hast du sicher copy & paste gemacht

            sorry aber das ist die ausgabe wenn ich im admin ein backup manuell starte
            was meinst du mit "sicher mit c&p gemacht" ?
            Unbenannt.png

            Thomas Braun simatec 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @JackDaniel last edited by

              @jackdaniel

              Zeig mal die Seite mit den Einstellungen in Backitup.

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

                @jackdaniel

                Du hast in der Config von Backitup folgenden Inhalt als Token gespeichert.

                influx auth list -t 1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA==
                

                Ändere das bitte mit dem reinen Token:

                1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA==
                
                JackDaniel 1 Reply Last reply Reply Quote 0
                • JackDaniel
                  JackDaniel @simatec last edited by

                  @simatec sagte in Test Adapter ioBroker.backitup v2.5.x:

                  Ändere das bitte mit dem reinen Token:
                  1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA==

                  erledigt, nun bekomme ich wieder das

                  Started iobroker ...
                  [DEBUG] [iobroker] - host.iobroker 45451 states saved
                  
                  [DEBUG] [iobroker] - host.iobroker 35356 objects saved
                  
                  [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_02_10-13_11_48_backupiobroker.tar.gz
                  
                  [DEBUG] [iobroker] - done
                  [DEBUG] [influxDB] - InfluxDB-Backup started ...
                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                  [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                  [DEBUG] [influxDB] - 
                  [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker -t 1pRxyeDJKPVX_QkyLz-jiGerRGU43WBKyguqQJqTA4VVb1UmZWttZITeE5njbYQWrf5-Bd__-8u9tjQvryADPA== "/opt/iobroker/backups/influxDB_2023_02_10-13_12_02_backupiobroker"
                  2023/02/10 13:12:02 INFO: Downloading metadata snapshot
                  Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                  
                  simatec 2 Replies Last reply Reply Quote 0
                  • simatec
                    simatec Developer Most Active @JackDaniel last edited by

                    @jackdaniel Dann ist es wohl kein Admin Token...

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

                      @jackdaniel Lese dir mal das hier durch ...
                      https://forum.iobroker.net/post/929325

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

                        @simatec sagte in Test Adapter ioBroker.backitup v2.5.x:

                        @jackdaniel Dann ist es wohl kein Admin Token...

                        hmm da kann man(n) eigentlich nicht viel falsch machen ...
                        Unbenannt.png

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

                          @simatec sagte in Test Adapter ioBroker.backitup v2.5.x:

                          @jackdaniel Lese dir mal das hier durch ...
                          https://forum.iobroker.net/post/929325

                          mach ich morgen, hab heute leider keine zeit 😞

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

                            @jackdaniel
                            Mit welchem User bist du eingeloggt?
                            Lies da mal in der Doku. Denke der Token muss definitiv mit dem Admin Account erstellt werden.

                            Hier gab es dazu auch einen Thread

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

                              Ab sofort steht auf Github und in kürze auch im latest die Version 2.6.0 zum testen bereit.

                              Changelog

                              2.6.0 (2023-02-16)

                              • (simatec) Onedrive-Api added
                              • (simatec) Matrix Messenger added
                              • (simatec) TLS for FTP added
                              • (simatec) Tab Extra-Settings added
                              • (simatec) Node-Red Backup added
                              • (simatec) SQLLite Backup added
                              • (simatec) Zigbee2MQTT Backup added
                              • (simatec) Local-Storage check added
                              • (simatec) System-Message added
                              • (simatec) Jarvis Backup updated
                              • (simatec) many small Fixes
                              J 1 Reply Last reply Reply Quote 2
                              • J
                                jay-jey @simatec last edited by

                                @simatec Hallo ich wollte jetzt mal das Backup auf Onedrive testen. Aber ich bekomme dabei einen immer einen Fehler. Irgendwas wird getan, weil im Onedrive werden Dateien angelegt aber nur kleine mit 8KB

                                hier mal das Ende vom Log:

                                [DEBUG] [grafana] - found Dashboard: heizung
                                [DEBUG] [grafana] - start Grafana backup compress ...
                                [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2023_02_24-07_32_50_backupiobroker.tar.gz
                                [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                                [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                                [DEBUG] [grafana] - done
                                [DEBUG] [onedrive] - Onedrive: Copy iobroker_2023_02_24-07_31_49_backupiobroker.tar.gz...
                                [ERROR] [onedrive] - upload Onedrive: {"name":"HTTPError","code":"ERR_NON_2XX_3XX_RESPONSE","timings":{"start":1677220377193,"socket":1677220377194,"lookup":1677220377206,"connect":1677220377228,"secureConnect":1677220377280,"upload":1677220401641,"response":1677220402872,"end":1677220402876,"phases":{"wait":1,"dns":12,"tcp":22,"tls":52,"request":24361,"firstByte":1231,"download":4,"total":25683}}}
                                [DEBUG] [onedrive] - Onedrive: Copy influxDB_2023_02_24-07_32_21_backupiobroker.tar.gz...
                                [ERROR] [onedrive] - upload Onedrive: {"name":"HTTPError","code":"ERR_NON_2XX_3XX_RESPONSE","timings":{"start":1677220402896,"socket":1677220402897,"lookup":1677220402909,"connect":1677220402931,"secureConnect":1677220402984,"upload":1677220440784,"response":1677220445642,"end":1677220445647,"phases":{"wait":1,"dns":12,"tcp":22,"tls":53,"request":37800,"firstByte":4858,"download":5,"total":42751}}}
                                [DEBUG] [onedrive] - Onedrive: Copy zigbee.0_2023_02_24-07_32_49_backupiobroker.tar.gz...
                                [DEBUG] [onedrive] - zigbee.0_2023_02_24-07_32_49_backupiobroker.tar.gz with Id: 8EAB853A46DB9335!145904 saved on Onedrive
                                [DEBUG] [onedrive] - Onedrive: Copy zigbee.1_2023_02_24-07_32_49_backupiobroker.tar.gz...
                                [DEBUG] [onedrive] - zigbee.1_2023_02_24-07_32_49_backupiobroker.tar.gz with Id: 8EAB853A46DB9335!145905 saved on Onedrive
                                [DEBUG] [onedrive] - Onedrive: Copy zigbee.2_2023_02_24-07_32_49_backupiobroker.tar.gz...
                                [DEBUG] [onedrive] - zigbee.2_2023_02_24-07_32_49_backupiobroker.tar.gz with Id: 8EAB853A46DB9335!145906 saved on Onedrive
                                [DEBUG] [onedrive] - Onedrive: Copy grafana_2023_02_24-07_32_50_backupiobroker.tar.gz...
                                [DEBUG] [onedrive] - grafana_2023_02_24-07_32_50_backupiobroker.tar.gz with Id: 8EAB853A46DB9335!145907 saved on Onedrive
                                [DEBUG] [onedrive] - done
                                [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                [DEBUG] [clean] - done
                                [DEBUG] [historyHTML] - new history html values created
                                [DEBUG] [historyHTML] - done
                                [DEBUG] [historyJSON] - new history json values created
                                [DEBUG] [historyJSON] - done
                                [EXIT] 0
                                

                                98986099-f2e4-4035-b4a3-70dbcf14db3b-grafik.png

                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @jay-jey last edited by

                                  @jay-jey Wie groß sind denn deinen Backup Files für iobroker und Influx?

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jay-jey @simatec last edited by

                                    @simatec Hallo, danke für die promte Antwort. So schnell hab ich nicht damit gerechnet, daher jetzt erst: Also das Iobroker ist 113mb und Influx ist 180mb

                                    simatec 1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @jay-jey last edited by

                                      @jay-jey Speicherplatz in der Onedrive ist genug vorhanden?
                                      Ich schaue mir das mal an, ob es in der Onedrive Api da Begrenzungen gibt. Mir ist erstmal nichts bekannt.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        jay-jey @simatec last edited by

                                        @simatec Ja noch mehr als 600Gb. 218ea906-219d-4f3c-a1ea-03d7a09b521b-grafik.png

                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @jay-jey last edited by simatec

                                          @jay-jey Teste mal bitte die v.2.6.4.
                                          Dort habe ich umgestellt auf eine Upload-Session.

                                          Sollte damit auch möglich sein, größere Files hochzuladen

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            jay-jey @simatec last edited by

                                            @simatec Hat funktioniert, danke dafür.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            871
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            168
                                            2706
                                            1835768
                                            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