Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: iobroker.backitup (stable Release)

    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

    Adapter: iobroker.backitup (stable Release)

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

      Muß man beim neuen Update noch weitere Einstellungen machen?

      ich kann den Upload nur noch per FTP und nicht mehr per CIFS durchführen.

      Wenn ich den upload per CIFS machen will, kommt nur die Meldung gestartet…........... sonst tut sich nichs.

      Gruß,

      Mathias

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

        Bitte den Log im Debug Modus posten

        Gesendet von iPhone mit Tapatalk

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

          Hier ist er:

           `system.adapter.admin.0: logging true
          backitup.0	2019-01-13 11:40:54.003	debug	[minimal/history] backitup.0.history.html
          pushover.0	2019-01-13 11:40:53.981	info	Send pushover notification: {"message":"BackItUp:\nEin neues minimal Backup wurde am 13\. Januar 2019 um 11:40 Uhr erstellt, und unter //dahoam.fritz.box/Backup/IObroker gespeichert und in der Dropbox
          backitup.0	2019-01-13 11:40:53.972	debug	[minimal/pushover] done
          backitup.0	2019-01-13 11:40:53.971	debug	sendTo "send" to system.adapter.pushover.0 from system.adapter.backitup.0
          backitup.0	2019-01-13 11:40:53.968	debug	[minimal/pushover] [minimal] used pushover-Instance: pushover.0
          backitup.0	2019-01-13 11:40:53.956	debug	[minimal/clean] done
          backitup.0	2019-01-13 11:40:53.949	debug	[minimal/dropbox] done
          backitup.0	2019-01-13 11:40:50.879	debug	[minimal/dropbox] Copy minimal_2019_01_13-11_40_44_backupiobroker.tar.gz...
          backitup.0	2019-01-13 11:40:50.860	debug	[minimal/cifs] done
          backitup.0	2019-01-13 11:40:50.853	debug	[minimal/minimal] done
          backitup.0	2019-01-13 11:40:50.831	debug	[minimal/minimal] Backup created: /opt/iobroker/backups/minimal_2019_01_13-11_40_44_backupiobroker.tar.gz
          backitup.0	2019-01-13 11:40:44.536	debug	[minimal/mount] sudo: Kein TTY vorhanden und kein »askpass«-Programm angegeben
          backitup.0	2019-01-13 11:40:44.536	debug	[minimal/mount] #3) Mit großer Macht kommt große Verantwortung.
          backitup.0	2019-01-13 11:40:44.536	debug	[minimal/mount] #2) Denken Sie nach, bevor Sie tippen.
          backitup.0	2019-01-13 11:40:44.535	debug	[minimal/mount] #1) Respektieren Sie die Privatsphäre anderer.
          backitup.0	2019-01-13 11:40:44.535	debug	[minimal/mount] Regeln erklärt hat. Normalerweise läuft es auf drei Regeln hinaus:
          backitup.0	2019-01-13 11:40:44.533	debug	[minimal/mount] Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
          backitup.0	2019-01-13 11:40:44.532	debug	[minimal/mount] [IGNORED] Error: Command failed: sudo mount -t cifs -o 
          backitup.0	2019-01-13 11:40:44.530	debug	[minimal/mount] sudo: Kein TTY vorhanden und kein »askpass«-Programm angegeben
          backitup.0	2019-01-13 11:40:44.529	debug	[minimal/mount] #3) Mit großer Macht kommt große Verantwortung.
          backitup.0	2019-01-13 11:40:44.529	debug	[minimal/mount] #2) Denken Sie nach, bevor Sie tippen.
          backitup.0	2019-01-13 11:40:44.529	debug	[minimal/mount] #1) Respektieren Sie die Privatsphäre anderer.
          backitup.0	2019-01-13 11:40:44.529	debug	[minimal/mount] Regeln erklärt hat. Normalerweise läuft es auf drei Regeln hinaus:
          backitup.0	2019-01-13 11:40:44.529	debug	[minimal/mount] Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
          backitup.0	2019-01-13 11:40:44.528	debug	[minimal/mount] [undefined[/code]`
          
          Gruß,
          
          Mathias
          
          1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active last edited by

            Du hast sudo (root mount) in den NAS Einstellungen aktiviert, aber dein sudo verlangt beim Aufruf ein Passwort.

            Wie man das in deinem System ändert, findest du in der Doku und hier im ersten Beitrag.

            Wenn du iobroker allerdings als root installiert hast, dann kannst du den Hacken auch rausnehmen.

            sudo (root mount) wird nur benötigt, wenn iobroker nicht als root läuft (z.B. neue Installationsmethode).

            Gesendet von iPhone mit Tapatalk

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

              Danke!

              Das probiere ich dann aus und melde mich dann wieder.

              Gruß,

              Mathias

              Gesendet von meinem MI 8 mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • P
                passuff last edited by

                Würde es begrüßen wenn man die Option hinzufügen könnte zusätzlich die JS-Skripte zu exportieren, so wie man es auch aus dem JS Adapter heraus manuell vornehmen kann. Mir ist bewusst, dass die Skripte prinzipiell sowohl in minimal als auch im Komplett Backup vorhanden sind, jedoch ist es ohne wiederherstellen eines Backups kaum möglich die Skripte aus der objects.json zu extrahieren.

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

                  Und VIS könnte man auvh seperat sichern.

                  Beim letzten einspielen des Backups musste ich alle Views neu machen, weil da was in die Hose ging

                  Gesendet von meinem MI 8 mit Tapatalk

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

                    Das liegt aber nicht an backitup.

                    Da stimmt was mit deinem System nicht.

                    Backitup nutzt den identischen Befehl wie in der Konsole.

                    Wenn euer System sauber ist, dann wird auch vis gesichert

                    Gesendet von iPhone mit Tapatalk

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

                      Ab sofort ist die Version 1.0.5 im Github und ab heute Nacht im latest verfügbar.

                      In dieser Version wurden die Fehlermeldungen, den Benachrichtigungen und der history hinzugefügt.

                      Sollte euer Backup nicht sauber durchlaufen, bekommt ihr per Telegram, E-Mail oder Pushover die Fehlermeldung gesendet.

                      Des Weiteren seht ihr in den Datenpunkten der history und auch in der history html, dass ein Fehler aufgetreten ist.

                      Viel Spaß weiterhin mit backitup. 😉

                      1.0.5 (14.01.2019)

                      __(simatec) Fix compact mode

                      (simatec) Fix total backup

                      (simatec) better history handling for html

                      (simatec) better history handling

                      (simatec) error Message for telegram

                      (simatec) error Message for E-Mail

                      (simatec) error Message for pushover__

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

                        nun habe ich alle Änderungen vorgenommen.

                        Es soll keine Kritik sein.

                        Aber bei der nächsten IObroker-Installation lasse ich den verwahrungsort auf default.

                        Es geht immer noch nicht.

                        Gruß,

                        Mathias

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

                          Um was geht es denn genau?

                          Wenn es um dein root mount geht, nochmal zur Info.

                          Da kann backitup nix machen, denn hier sind rein deine eigenen Systemeinstellungen dran Schuld.

                          backitup verwendet lediglich dein eingerichtetes sudo.

                          Wenn du das nicht laut Doku einrichtest, bzw. dein iobroker nicht alle benötigten Rechte hat, kann backitup machen was es will.

                          Und auch noch zu Info … root mount ist auch im default drin.

                          Gesendet von iPhone mit Tapatalk

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

                            Ich hsbe backitup deindtalliert, neu installiert und die alten Einstellungen (der Vorversion) ubernommen.

                            Da gabs noch kein root.

                            Also root deaktiviert.

                            Dann geschaut ob cifs-tools installiert sind. Sind auch da.

                            Geht trotzdem nicht.

                            Defakto: Verwshrungsort default.

                            Gesendet von meinem MI 8 mit Tapatalk

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

                              @MathiasJ:

                              Ich hsbe backitup deindtalliert, neu installiert und die alten Einstellungen (der Vorversion) ubernommen.

                              Da gabs noch kein root.

                              Also root deaktiviert.

                              Dann geschaut ob cifs-tools installiert sind. Sind auch da.

                              Geht trotzdem nicht.

                              Defakto: Verwshrungsort default.

                              Gesendet von meinem MI 8 mit Tapatalk `

                              Wir hatten das Thema doch hier schon mehrfach.

                              Ohne genaue Angaben, wie log, npm, node, nodejs Versionen und die Installationsart (neue oder alt und root oder user) von iobroker kommen wir bei der fehlersuche nicht weiter?

                              Bitte poste hier die Infos, die benötigt werden, um dir zu helfen.

                              1 Reply Last reply Reply Quote 0
                              • P
                                paul.honka last edited by

                                Habe IOBroker gerade neu aufgesetzt nach der neuen Installroutine. Node und Nodejs sind 8.15.0, npm ist 6.5.0.

                                Backitup V1.0.5.Ich wollte dann ein Restore einer Standartsichererung, ich glaube aus Backitup V1.X., ich weiss nicht genau.

                                Habe mich gewundert das der Adapter IOBroker stoppen will. Folgende Meldung in der Backitup Oberfläche

                                [ERROR] [minimal] Stop iobroker first!

                                [EXIT] 1

                                [EXIT] 0

                                und dann u.a. flogendes im Log gefunden

                                backitup.0 2019-01-15 20:29:12.252 warn Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'

                                backitup.0 2019-01-15 20:29:12.251 error [ERROR] [minimal] Stop iobroker first!

                                backitup.0 2019-01-15 20:29:12.241 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0

                                in /opt/iobroker/node_modules/iobroker.backitup/lib/find ich keine total.json,

                                in /opt/iobroker/node_modules/iobroker.backitup/lib/restore find ich eine total.json

                                Jetzt stehe ich da mit meinen Sicherungen und weiss nicht weiter.

                                Beste Grüsse paul

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

                                  @paul.honka:

                                  Habe IOBroker gerade neu aufgesetzt nach der neuen Installroutine. Node und Nodejs sind 8.15.0, npm ist 6.5.0.

                                  Backitup V1.0.5.Ich wollte dann ein Restore einer Standartsichererung, ich glaube aus Backitup V1.X., ich weiss nicht genau.

                                  Habe mich gewundert das der Adapter IOBroker stoppen will. Folgende Meldung in der Backitup Oberfläche

                                  [ERROR] [minimal] Stop iobroker first!

                                  [EXIT] 1

                                  [EXIT] 0

                                  und dann u.a. flogendes im Log gefunden

                                  backitup.0 2019-01-15 20:29:12.252 warn Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'

                                  backitup.0 2019-01-15 20:29:12.251 error [ERROR] [minimal] Stop iobroker first!

                                  backitup.0 2019-01-15 20:29:12.241 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0

                                  in /opt/iobroker/node_modules/iobroker.backitup/lib/find ich keine total.json,

                                  in /opt/iobroker/node_modules/iobroker.backitup/lib/restore find ich eine total.json

                                  Jetzt stehe ich da mit meinen Sicherungen und weiss nicht weiter.

                                  Beste Grüsse paul `

                                  Der Restart ist normal nur zur Verständnis,

                                  • du hast ein "altes" minimal Backup in das Verzeichnis Backups (via ftp-Programm o.ä.) gelegt

                                  • dann im Adapter auf Wiederherstellen geklickt

                                  • das local abgelegte Backup ausgewählt und auf das Restore-Symbol geklickt?

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

                                    @paul.honka:

                                    Habe IOBroker gerade neu aufgesetzt nach der neuen Installroutine. Node und Nodejs sind 8.15.0, npm ist 6.5.0.

                                    Backitup V1.0.5.Ich wollte dann ein Restore einer Standartsichererung, ich glaube aus Backitup V1.X., ich weiss nicht genau.

                                    Habe mich gewundert das der Adapter IOBroker stoppen will. Folgende Meldung in der Backitup Oberfläche

                                    [ERROR] [minimal] Stop iobroker first!

                                    [EXIT] 1

                                    [EXIT] 0

                                    und dann u.a. flogendes im Log gefunden

                                    backitup.0 2019-01-15 20:29:12.252 warn Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'

                                    backitup.0 2019-01-15 20:29:12.251 error [ERROR] [minimal] Stop iobroker first!

                                    backitup.0 2019-01-15 20:29:12.241 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0

                                    in /opt/iobroker/node_modules/iobroker.backitup/lib/find ich keine total.json,

                                    in /opt/iobroker/node_modules/iobroker.backitup/lib/restore find ich eine total.json

                                    Jetzt stehe ich da mit meinen Sicherungen und weiss nicht weiter.

                                    Beste Grüsse paul `

                                    Schalte bitte mal die Instanz von backitup auf debug und poste mal den Log.

                                    Wie gast du iobroker nach der Installation gestartet?

                                    Mit „sudo iobroker start“ ?

                                    Gesendet von iPhone mit Tapatalk

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

                                      @peoples:

                                      …....

                                      Der Restart ist normal nur zur Verständnis,

                                      • du hast ein "altes" minimal Backup in das Verzeichnis Backups (via ftp-Programm o.ä.) gelegt

                                      • dann im Adapter auf Wiederherstellen geklickt

                                      • das local abgelegte Backup ausgewählt und auf das Restore-Symbol geklickt? `

                                      Habe gerade mal auf meinem Testsystem die neueste Adapterversion installiert und ein Backup das mit der Version 0.3.8 erstellt wurde Wiederhergestellt ohne Probleme

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        paul.honka last edited by

                                        Hallo simatec, anbei das Log vom Wiederherstellen minimal.

                                        backitup.0 2019-01-16 09:15:46.822 info [minimal] backup was activated at 02:00 every 1 day(s)

                                        backitup.0 2019-01-16 09:15:46.809 warn Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'

                                        backitup.0 2019-01-16 09:15:46.808 error [ERROR] [minimal] Stop iobroker first!

                                        backitup.0 2019-01-16 09:15:46.798 info starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0

                                        host.ioBroker-Sted1 2019-01-16 09:15:45.841 info instance system.adapter.backitup.0 started with pid 6012

                                        discovery.0 2019-01-16 09:15:42.624 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.discovery, node: v8.15.0

                                        host.ioBroker-Sted1 2019-01-16 09:15:41.823 info instance system.adapter.discovery.0 started with pid 6002

                                        admin.0 2019-01-16 09:15:41.317 info Repository received successfully.

                                        host.ioBroker-Sted1 2019-01-16 09:15:40.068 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"

                                        admin.0 2019-01-16 09:15:39.963 info Use link "http://localhost:8081" to configure.

                                        admin.0 2019-01-16 09:15:39.963 info http server listening on port 8081

                                        admin.0 2019-01-16 09:15:39.914 info received all objects

                                        admin.0 2019-01-16 09:15:39.475 info received all states

                                        admin.0 2019-01-16 09:15:39.236 info Request actual repository…

                                        admin.0 2019-01-16 09:15:39.235 info requesting all objects

                                        admin.0 2019-01-16 09:15:39.233 info requesting all states

                                        admin.0 2019-01-16 09:15:39.221 info starting. Version 3.5.10 in /opt/iobroker/node_modules/iobroker.admin, node: v8.15.0

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.843 info instance system.adapter.admin.0 started with pid 5992

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.808 info starting 3 instances

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.802 info 3 instances found

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.792 info InMemoryDB connected

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.776 info inMem-objects listening on port 9001

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.676 info inMem-states listening on port 9000

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.613 info ip addresses: 192.168.0.80 2a02:8109:dc0:40cc:ae93:e08a:dff2:31f1 fe80::cbf:4678:3b10:d5d2

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.609 info hostname: ioBroker-Sted1, node: v8.15.0

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.609 info Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker

                                        host.ioBroker-Sted1 2019-01-16 09:15:37.605 info iobroker.js-controller version 1.4.2 js-controller starting

                                        admin.0 2019-01-16 09:15:36.777 info terminating http server on port 8081

                                        Beste Grüsse paul

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

                                          Kannst du bitte die Instanz von backitup auf debug stellen und dann diesen Log posten.

                                          Der jetzige ist nicht aussagekräftig

                                          Gesendet von iPhone mit Tapatalk

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            paul.honka last edited by

                                            Hallo simatec, jetzt noch mal ein Start für Restore Minimal. Debug der Instans ist eingeschaltet.

                                            backitup.0	2019-01-16 09:48:20.286	warn	Cannot read log file: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.backitup/lib/total.json'
                                            backitup.0	2019-01-16 09:48:20.284	error	[ERROR] [minimal] Stop iobroker first!
                                            backitup.0	2019-01-16 09:48:20.275	info	starting. Version 1.0.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.15.0
                                            host.ioBroker-Sted1	2019-01-16 09:48:19.343	info	instance system.adapter.backitup.0 started with pid 2750
                                            discovery.0	2019-01-16 09:48:16.036	info	starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.discovery, node: v8.15.0
                                            host.ioBroker-Sted1	2019-01-16 09:48:15.326	info	instance system.adapter.discovery.0 started with pid 2740
                                            admin.0	2019-01-16 09:48:14.862	info	Repository received successfully.
                                            host.ioBroker-Sted1	2019-01-16 09:48:13.615	info	Update repository "default" under "http://download.iobroker.net/sources-dist.json"
                                            admin.0	2019-01-16 09:48:13.510	info	Use link "http://localhost:8081" to configure.
                                            admin.0	2019-01-16 09:48:13.509	info	http server listening on port 8081
                                            admin.0	2019-01-16 09:48:13.461	info	received all objects
                                            admin.0	2019-01-16 09:48:13.024	info	received all states
                                            admin.0	2019-01-16 09:48:12.798	info	Request actual repository...
                                            admin.0	2019-01-16 09:48:12.797	info	requesting all objects
                                            admin.0	2019-01-16 09:48:12.795	info	requesting all states
                                            admin.0	2019-01-16 09:48:12.782	info	starting. Version 3.5.10 in /opt/iobroker/node_modules/iobroker.admin, node: v8.15.0
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.344	info	instance system.adapter.admin.0 started with pid 2730
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.311	info	starting 3 instances
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.305	info	3 instances found
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.296	info	InMemoryDB connected
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.280	info	inMem-objects listening on port 9001
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.186	info	inMem-states listening on port 9000
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.125	info	ip addresses: 192.168.0.80 2a02:8109:dc0:40cc:ae93:e08a:dff2:31f1 fe80::cbf:4678:3b10:d5d2
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.122	info	hostname: ioBroker-Sted1, node: v8.15.0
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.122	info	Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker
                                            host.ioBroker-Sted1	2019-01-16 09:48:11.117	info	iobroker.js-controller version 1.4.2 js-controller starting
                                            admin.0	2019-01-16 09:48:10.327	info	terminating http server on port 8081
                                            

                                            Zur Info, der IOBroker läuft auf einem Tinker S.

                                            Beste Grüsse paul geändert: Code in Code-Tags; Homoran (Admin)

                                            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

                                            897
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter backitup backup iobroker backup iobroker.backitup
                                            185
                                            2335
                                            1105512
                                            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