Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. backitup bricht bei sicherung zigbee2mqtt ab

    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 bricht bei sicherung zigbee2mqtt ab

    This topic has been deleted. Only users with topic management privileges can see it.
    • arteck
      arteck Developer Most Active @simatec last edited by arteck

      @simatec jo genau alles was im data liegt ausser log.. da sind aber noch mehr dateien.. kommt auf die konfiguration an ...
      also würde ich nur den log ausschliessen..

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

        @arteck hab ich erstmal so angepasst und läuft auch. Müsste ich aber in der Doku aufnehmen, wie der Pfad aussehen müsste.

        Oder habt ihr den Pfad im zigbee2mqtt Adapter irgendwo definiert, wo Backitup sich den direkt aus der Config holen kann?

        Hintergrund ist, dass es im Docker ja etwas anders vom Pfad ausschaut. Da liegt das Volume ja direkt auf dem data Pfad.

        Restore ist gerade zwecks Dateirechten noch tricky. Muss ich heute mal schauen.

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

          @Thomas-Braun Hast du als Linux Guru ne sinnvolle Idee, wie man den Config Ordner für den User iobroker sinnvoll Schreibberechtigungen geben kann?

          Will es halt Userfreundlich machen und nicht die einzelnen Dateirechte anpassen

          Meine Idee war ähnlich wie bei redis zu arbeiten.

          sudo usermod -a -G <was-auch-immer-für-eine-User-Gruppe> iobroker
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @simatec last edited by

            @simatec

            Gibt es keine Gruppe dafür? Hab mit mqtt2zigbee noch nie herumgespielt und kenne die default-Rechte da nicht.

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

              @thomas-braun So wie ich das sehe, gibt es die nicht.
              Läuft wohl wie im Beispiel hier unter pi:pi

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

                @simatec

                Ich würde dann glaube ich auf meinem System eine Gruppe 'mqtt2zigbee' anlegen und die Rechte entsprechend vergeben. Dann würde ein Backup über die Gruppenrechte ermöglicht.

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

                  @simatec Ich habe in der v2.6.11 Anpassungen für das Zigbee2MQTT Backup gemacht.
                  Wichtig ist die richtige Pfadangabe zu den Config Files.

                  /opt/zigbee2mqtt/data
                  

                  Des Weiteren muss der User "iobroker" Zugriff auf die Gruppe pi haben, damit er in deinem Fall an die Daten kommt ud sie auch lesen und schreiben darf.

                  sudo usermod -a -G pi iobroker
                  sudo reboot
                  

                  Die v.2.6.11 wird gerade gepusht

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    rotamint @simatec last edited by

                    @simatec Herausragend! Vielen Dank!

                    backitup.0
                    	2023-03-11 17:33:14.292	debug	[iobroker] exec: done
                    backitup.0
                    	2023-03-11 17:33:14.141	debug	[iobroker/umount] done
                    backitup.0
                    	2023-03-11 17:33:14.139	debug	[iobroker/umount] umount successfully completed
                    backitup.0
                    	2023-03-11 17:33:09.076	debug	[iobroker/umount] mount activ, umount is started ...
                    backitup.0
                    	2023-03-11 17:33:08.876	debug	[iobroker/historyJSON] done
                    backitup.0
                    	2023-03-11 17:33:08.876	debug	[iobroker/historyJSON] new history json values created
                    backitup.0
                    	2023-03-11 17:33:08.709	debug	[iobroker/historyHTML] done
                    backitup.0
                    	2023-03-11 17:33:08.708	debug	[iobroker/historyHTML] new history html values created
                    backitup.0
                    	2023-03-11 17:33:07.605	debug	[iobroker/clean] done
                    backitup.0
                    	2023-03-11 17:33:07.603	debug	[iobroker/clean] No older backup files are deleted, because this backup was started manually
                    backitup.0
                    	2023-03-11 17:33:07.000	debug	[iobroker/cifs] done
                    backitup.0
                    	2023-03-11 17:33:06.999	debug	[iobroker/cifs] used copy path: /IoBroker_Backup/
                    backitup.0
                    	2023-03-11 17:33:05.644	debug	[iobroker/zigbee2mqtt] done
                    backitup.0
                    	2023-03-11 17:33:05.499	debug	[iobroker/zigbee2mqtt] Try deleting the old zigbee2mqtt tmp directory: "/opt/iobroker/backups/zigbee2mqtt_tmp"
                    backitup.0
                    	2023-03-11 17:33:05.498	debug	[iobroker/zigbee2mqtt] Backup created: /opt/iobroker/backups/zigbee2mqtt_2023_03_11-17_33_04_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:33:05.496	debug	[iobroker/zigbee2mqtt] Backup created: /opt/iobroker/backups/zigbee2mqtt_2023_03_11-17_33_04_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:33:05.391	debug	[iobroker/zigbee2mqtt] Zigbee2MQTT tmp copy finish
                    backitup.0
                    	2023-03-11 17:33:05.337	debug	[iobroker/zigbee2mqtt] compress from Zigbee2MQTT started ...
                    backitup.0
                    	2023-03-11 17:33:05.337	debug	[iobroker/zigbee2mqtt] Created noderedtmp directory
                    backitup.0
                    	2023-03-11 17:33:03.979	debug	[iobroker/zigbee] done
                    backitup.0
                    	2023-03-11 17:33:03.979	debug	[iobroker/zigbee] found zigbee database: zigbee.0
                    backitup.0
                    	2023-03-11 17:33:03.824	debug	[iobroker/historyDB] done
                    backitup.0
                    	2023-03-11 17:33:03.822	debug	[iobroker/historyDB] Backup created: /opt/iobroker/backups/historyDB_2023_03_11-17_32_48_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:32:59.012	debug	[iobroker/historyDB] Packed 8MB so far...
                    backitup.0
                    	2023-03-11 17:32:48.997	debug	[iobroker/historyDB] compress from historyDB started ...
                    backitup.0
                    	2023-03-11 17:32:48.092	debug	[iobroker/iobroker] done
                    backitup.0
                    	2023-03-11 17:32:46.575	debug	[iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2023_03_11-17_32_25_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:32:34.232	debug	[iobroker/iobroker] host.ioBroker 13667 objects saved
                    backitup.0
                    	2023-03-11 17:32:29.720	debug	[iobroker/iobroker] host.ioBroker 10660 states saved
                    backitup.0
                    	2023-03-11 17:32:25.450	debug	[iobroker/mount] done
                    backitup.0
                    	2023-03-11 17:32:25.449	debug	[iobroker/mount] mount successfully completed
                    backitup.0
                    	2023-03-11 17:32:24.758	debug	[iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=IoBroker,password=****,domain=SynologyDS218j,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.16.9/IoBroker_Backup/ /opt/iobroker/backups"
                    backitup.0
                    	2023-03-11 17:32:24.758	debug	[iobroker/mount] noserverino option: false
                    backitup.0
                    	2023-03-11 17:32:14.757	debug	Backup has started ...
                    backitup.0
                    	2023-03-11 17:32:14.702	debug	The local storage check was completed successfully. On the host "ioBroker" are currently 46262 MB free space available!
                    backitup.0
                    	2023-03-11 17:32:10.843	debug	The local storage check was completed successfully. On the host "ioBroker" are currently 46262 MB free space available!
                    backitup.0
                    	2023-03-11 17:31:49.827	debug	umount successfully completed
                    backitup.0
                    	2023-03-11 17:31:47.785	debug	mount activ... umount in 2 Seconds!!
                    backitup.0
                    	2023-03-11 17:31:40.658	debug	detect last backup file: iobroker_2023_03_11-17_30_07_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.657	debug	detect backup file 51 from NAS: iobroker_2023_03_11-17_30_07_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.656	debug	detect backup file 50 from NAS: iobroker_2023_03_11-02_40_20_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.656	debug	detect backup file 49 from NAS: iobroker_2023_03_10-21_13_02_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.656	debug	detect backup file 48 from NAS: iobroker_2023_03_10-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.656	debug	detect backup file 47 from NAS: iobroker_2023_03_10-00_15_34_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.655	debug	detect backup file 46 from NAS: iobroker_2023_03_10-00_10_34_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.655	debug	detect backup file 45 from NAS: iobroker_2023_03_09-21_26_17_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.655	debug	detect backup file 44 from NAS: iobroker_2023_03_09-21_13_59_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.655	debug	detect backup file 43 from NAS: iobroker_2023_03_09-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.655	debug	detect backup file 42 from NAS: iobroker_2023_03_08-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.654	debug	detect backup file 41 from NAS: iobroker_2023_03_07-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.654	debug	detect backup file 40 from NAS: iobroker_2023_03_06-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.654	debug	detect backup file 39 from NAS: iobroker_2023_03_05-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.654	debug	detect backup file 38 from NAS: iobroker_2023_03_04-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.653	debug	detect backup file 37 from NAS: iobroker_2023_03_03-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.653	debug	detect backup file 36 from NAS: iobroker_2023_03_02-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.653	debug	detect backup file 35 from NAS: iobroker_2023_03_01-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.653	debug	detect backup file 34 from NAS: iobroker_2023_02_28-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.652	debug	detect backup file 33 from NAS: iobroker_2023_02_27-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.652	debug	detect backup file 32 from NAS: iobroker_2023_02_26-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.652	debug	detect backup file 31 from NAS: iobroker_2023_02_25-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.652	debug	detect backup file 30 from NAS: iobroker_2023_02_24-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.651	debug	detect backup file 29 from NAS: iobroker_2023_02_23-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.651	debug	detect backup file 28 from NAS: iobroker_2023_02_22-02_40_20_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.651	debug	detect backup file 27 from NAS: iobroker_2023_02_21-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.651	debug	detect backup file 26 from NAS: iobroker_2023_02_20-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.650	debug	detect backup file 25 from NAS: iobroker_2023_02_19-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.649	debug	detect backup file 24 from NAS: iobroker_2023_02_18-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.649	debug	detect backup file 23 from NAS: iobroker_2023_02_17-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.649	debug	detect backup file 22 from NAS: iobroker_2023_02_16-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.649	debug	detect backup file 21 from NAS: iobroker_2023_02_15-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.648	debug	detect backup file 20 from NAS: iobroker_2023_02_14-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.648	debug	detect backup file 19 from NAS: iobroker_2023_02_13-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.648	debug	detect backup file 18 from NAS: iobroker_2023_02_12-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.648	debug	detect backup file 17 from NAS: iobroker_2023_02_11-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.647	debug	detect backup file 16 from NAS: iobroker_2023_02_10-02_40_20_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.647	debug	detect backup file 15 from NAS: iobroker_2023_02_09-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.647	debug	detect backup file 14 from NAS: iobroker_2023_02_08-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.646	debug	detect backup file 13 from NAS: iobroker_2023_02_07-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.646	debug	detect backup file 12 from NAS: iobroker_2023_02_06-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.646	debug	detect backup file 11 from NAS: iobroker_2023_02_05-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.645	debug	detect backup file 10 from NAS: iobroker_2023_02_04-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.645	debug	detect backup file 9 from NAS: iobroker_2023_02_03-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.644	debug	detect backup file 8 from NAS: iobroker_2023_02_02-02_40_20_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.644	debug	detect backup file 7 from NAS: iobroker_2023_02_01-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.644	debug	detect backup file 6 from NAS: iobroker_2023_01_31-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.643	debug	detect backup file 5 from NAS: iobroker_2023_01_30-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.643	debug	detect backup file 4 from NAS: iobroker_2023_01_29-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.642	debug	detect backup file 3 from NAS: iobroker_2023_01_28-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.642	debug	detect backup file 2 from NAS: iobroker_2023_01_27-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:40.641	debug	detect backup file 1 from NAS: iobroker_2023_01_26-02_40_21_backupiobroker.tar.gz
                    backitup.0
                    	2023-03-11 17:31:38.607	debug	mount successfully completed
                    backitup.0
                    	2023-03-11 17:31:37.878	debug	cifs-mount command: "sudo mount -t cifs -o username=IoBroker,password=****,domain=SynologyDS218j,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.16.9IoBroker_Backup/ /opt/iobroker/backups"
                    backitup.0
                    	2023-03-11 17:31:37.878	debug	noserverino option: false
                    backitup.0
                    	2023-03-11 17:31:37.862	info	[ccu] backup was activated at 03:00 every 1 day(s)
                    backitup.0
                    	2023-03-11 17:31:37.787	info	[iobroker] backup was activated at 02:40 every 1 day(s)
                    backitup.0
                    	2023-03-11 17:31:37.713	debug	Backitup has recognized a linux system
                    backitup.0
                    	2023-03-11 17:31:37.660	info	starting. Version 2.6.11 (non-npm: simatec/ioBroker.backitup#2831644ef6a5b9b3489d8b436e1df6a0c344e1cd) in /opt/iobroker/node_modules/iobroker.backitup, node: v16.19.1, js-controller: 4.0.24
                    backitup.0
                    	2023-03-11 17:31:37.322	debug	Plugin sentry destroyed because not initialized correctly
                    backitup.0
                    	2023-03-11 17:31:37.271	debug	Plugin sentry Do not initialize Plugin (enabled=false)
                    backitup.0
                    	2023-03-11 17:31:37.099	debug	States connected to redis: 127.0.0.1:9000
                    backitup.0
                    	2023-03-11 17:31:36.993	debug	States create User PubSub Client
                    backitup.0
                    	2023-03-11 17:31:36.991	debug	States create System PubSub Client
                    backitup.0
                    	2023-03-11 17:31:36.958	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                    backitup.0
                    	2023-03-11 17:31:36.892	debug	Objects connected to redis: 127.0.0.1:9001
                    backitup.0
                    	2023-03-11 17:31:36.884	debug	Objects client initialize lua scripts
                    backitup.0
                    	2023-03-11 17:31:36.757	debug	Objects create User PubSub Client
                    backitup.0
                    	2023-03-11 17:31:36.755	debug	Objects create System PubSub Client
                    backitup.0
                    	2023-03-11 17:31:36.752	debug	Objects client ready ... initialize now
                    backitup.0
                    	2023-03-11 17:31:36.657	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                    backitup.0
                    	2023-03-11 17:31:32.200	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                    backitup.0
                    	2023-03-11 17:31:32.199	info	terminating
                    backitup.0
                    	2023-03-11 17:31:32.198	info	cleaned everything up...
                    backitup.0
                    	2023-03-11 17:31:32.194	info	Got terminate signal TERMINATE_YOURSELF
                    
                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @rotamint last edited by

                      @rotamint Kontrolliere mal bitte den Inhalt des Backups. Sind die 2x erstellt wurden oder hab ich nur einen Log doppelt drin.

                      Zeige mal bitte den Inhalt des zigbee2mqtt Backups

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

                        @simatec Soll ich die zigbee2mqtt_xx.tar.gz hier hochladen?

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

                          @rotamint der Inhalt als Screenshot würde mir reichen

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

                            @simatec Screenshot 2023-03-11 202412.jpg

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

                              @rotamint sieht seht gut aus 😊

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

                                @simatec Danke für Deine schnelle Hilfe. Und die rege Unterstützung aller Beteiligten, @arteck ! 👍

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

                                Support us

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

                                417
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                6
                                35
                                1769
                                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