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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MCU @simatec last edited by MCU

      @simatec
      Quell-System und Ziel-System haben gleiche Einstellungen:
      b55f499d-2305-495c-9a88-5c4b61d2438e-image.png

      Habe nochmal ein komplett neues Verzeichnis zur Sicherung verwendet. /Backup2 (auf beiden Systemen)

      Danach wurde ein neues Backup durchgeführt auf dem Quell-System und dieses Backup wurde versucht zurückzuspielen im Ziel-System. Da kommt aber nachwievor der Fehler mit der Datei:

      Started restore ...
      [DEBUG] [jarvis] - Start Jarvis Restore ...
      [DEBUG] [jarvis] - filename for restore: /opt/iobroker/backups/jarvis.0_2021_05_13-02_02_52_backupiobroker.tar.gz
      [DEBUG] [jarvis] - jarvis tmp directory created: /opt/iobroker/backups/jarvis_0
      [DEBUG] [jarvis] - old jarvis database directory was successfully deleted
      [DEBUG] [jarvis] - jarvis.0 stopped
      [ERROR] [jarvis] - jarvis restore not completed
      [ERROR] [jarvis] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/jarvis_0/'
      [EXIT] 0
      

      Danach ist auch kein umount mehr möglich, man muss erst Backitup-stoppen , umount durchführen und wieder starten.

      FritzBox
      7cb074c1-bf4b-435c-a528-25beb10f2d81-image.png

      Hier der Vorgang:
      backitup_jarvis_restore_NAS-Fehler.gif

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

        @mcu
        Was für ein Dateisystem hast du auf dem NAS-Laufwerk?

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

          @thomas-braun
          52ba0d9e-cfd7-46de-9a66-3c1a56337d54-image.png

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

            @mcu Okay.
            Ich hab da ext4 drauf.

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

              @thomas-braun Hab jetzt debug eingestellt:
              Beim 2. Mount kommt ein Fehler:

              2021-05-13 22:39:52.043 - info: backitup.0 (3165) starting. Version 2.1.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.2.16
              2021-05-13 22:39:52.132 - info: backitup.0 (3165) [iobroker] backup was activated at 02:00 every 1 day(s)
              2021-05-13 22:39:52.302 - debug: backitup.0 (3165) mount successfully completed
              2021-05-13 22:39:54.315 - debug: backitup.0 (3165) detect backup file 1 from cifs: iobroker_2021_05_13-22_20_17_backupiobroker.tar.gz
              2021-05-13 22:39:54.318 - debug: backitup.0 (3165) detect last backup file: iobroker_2021_05_13-22_20_17_backupiobroker.tar.gz
              2021-05-13 22:40:02.167 - debug: backitup.0 (3165) mount activ... umount in 2 Seconds!!
              2021-05-13 22:40:02.942 - debug: backitup.0 (3165) Backup list be read ...
              2021-05-13 22:40:03.014 - debug: backitup.0 (3165) device is busy... wait 2 Minutes!!
              2021-05-13 22:40:03.026 - debug: backitup.0 (3165) first mount attempt with smb option failed. try next mount attempt without smb option ...
              2021-05-13 22:40:03.095 - error: backitup.0 (3165) Error: Command failed: sudo mount -t cifs -o username=Backup,password=****,noserverino,rw,file_mode=0777,dir_mode=0777 //192.168.178.1/FRITZ.NAS/FDB/Backup2 /opt/iobroker/backups
              mount error(16): Device or resource busy
              Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
              2021-05-13 22:40:04.266 - debug: backitup.0 (3165) umount successfully completed
              2021-05-13 22:40:05.106 - debug: backitup.0 (3165) sendTo "list" to system.adapter.admin.0 from system.adapter.backitup.0
              2021-05-13 22:40:09.619 - debug: backitup.0 (3165) set chmod for "/opt/iobroker/backups" successfully
              2021-05-13 22:40:09.625 - debug: backitup.0 (3165) sendTo "restore" to system.adapter.admin.0 from system.adapter.backitup.0
              2021-05-13 22:41:14.145 - debug: backitup.0 (3165) telegram-instance:
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @MCU last edited by

                @mcu sagte in Test Adapter Backitup v2.1.x:

                Device or resource busy

                Dann greift da schon was anderes drauf zu.

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

                  @thomas-braun Wenn ich mir die Eigenschaften zum Ordner anschaue:
                  4c3ef18c-66ad-4c6c-88ef-d275eb91530c-image.png
                  Schreibschutz entfernen funktioniert nicht, ist sofort wieder da ? FritzBox?

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

                    @mcu
                    Was ist das für ein Tool?

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

                      @thomas-braun Rechte Maustaste auf dem Ordner / Eigenschaften.
                      chmod?

                      2021-05-13 22:58:03.227 - debug: backitup.0 (3287) Backup list be read ...
                      2021-05-13 22:58:03.321 - debug: backitup.0 (3287) mount successfully completed
                      2021-05-13 22:58:05.334 - debug: backitup.0 (3287) sendTo "list" to system.adapter.admin.0 from system.adapter.backitup.0
                      2021-05-13 22:58:10.041 - debug: backitup.0 (3287) cannot set chmod for "/opt/iobroker/backups": Error: EPERM: operation not permitted, chmod '/opt/iobroker/backups'
                      2021-05-13 22:58:10.206 - debug: backitup.0 (3287) [jarvis] Start Jarvis Restore ...
                      2021-05-13 22:58:10.207 - debug: backitup.0 (3287) [jarvis] filename for restore: /opt/iobroker/backups/jarvis.0_2021_05_13-22_22_50_backupiobroker.tar.gz
                      2021-05-13 22:58:10.210 - debug: backitup.0 (3287) [jarvis] jarvis tmp directory created: /opt/iobroker/backups/jarvis_0
                      2021-05-13 22:58:10.245 - error: backitup.0 (3287) [jarvis] jarvis restore not completed
                      2021-05-13 22:58:10.246 - error: backitup.0 (3287) [jarvis] Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/jarvis_0/'
                      2021-05-13 22:58:10.247 - debug: backitup.0 (3287) sendTo "restore" to system.adapter.admin.0 from system.adapter.backitup.0
                      

                      Kann es sein, dass dem root Berechtigungen fehlen? Wie kann ich das kontrollieren?

                      Thomas Braun M simatec 3 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @MCU last edited by

                        @mcu Unter Windows oder was? Auf dem Server läuft nichts klickbares.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MCU @MCU last edited by

                          @mcu Ja Windows.

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

                            @mcu Windows/NTFS kennt sowas wie unix-Rechte nicht. Und auch kein utime.

                            Ich habe deswegen meine backup-Platte an der Fritzbox mit einem ext4 formatiert. Funktioniert.

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

                              @thomas-braun Dann versuch ich das mal umzustellen.

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

                                @mcu Allerdings muss man ggf. das extra mit besonderen Optionen versehen, damit das auf dem abgespeckten FritzNAS läuft.
                                Hatte ich mal vor kurzem hier im Forum verewigt, was man da genau machen muss.

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

                                  @thomas-braun ext2 oder ext3 reicht auch?
                                  Hab es gefunden:
                                  https://forum.iobroker.net/topic/44674/ext4-dateisystem-am-fritznas-betreiben?_=1620924566328

                                  NAS/Kopieren dürfen dann nur ext4-Platten sein?

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

                                    @mcu
                                    Nimm ext4.
                                    Eigentlich sollte das bei smb-shares keine Rolle spielen, bzw. über die Mount-Optionen weggefedert werden. Kann aber sein, das ein Backup hier noch mit anderen Methoden hantiert.

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

                                      @simatec said in Test Adapter Backitup v2.1.x:

                                      In mysql ist das Backup nur mit dem Punkt im Dateinamen.
                                      Das ist so korrekt.

                                      Ok. Dann scheint die MYSQL Sicherungsdatei ja in Ordnung zu sein.
                                      Jetzt ist dann nur die Frage ob es was besonderes zu beachten gibt, um einen Restore der MYSQL Sicherung zu machen.
                                      Bei mir passiert nämlich nichts - sprich das Fenster bleibt mit folgenden Zeilen stehen + offen:

                                      snap0249.jpg

                                      snap0250.jpg

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

                                        @mcu sagte in Test Adapter Backitup v2.1.x:

                                        2021-05-13 22:58:10.041 - debug: backitup.0 (3287) cannot set chmod for "/opt/iobroker/backups": Error: EPERM: operation not permitted, chmod '/opt/iobroker/backups'
                                        

                                        Die Meldung kannst du ignorieren, da die nur lokal greifen würde. Ich fixe die Meldung in der Version 2.1.7

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

                                          @der_user Da liegt ein Bug vor. Ist in Version 2.1.7 gefixt.
                                          Lade die Version gerade auf Github hoch. Sollte also gleich auf Github zur Verfügung stehen und auch demnächst als Update im Latest sein.

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

                                            Ab sofort steht die Version 2.1.7 auf Github und in kürze auch im latest zur Verfügung.

                                            Changelog

                                            2.1.7 (14.05.2021)

                                            • (simatec) Bugfix mysql Restore
                                            • (simatec) Bugfix pgsql Restore
                                            • (simatec) small Bugfix
                                            • (simatec) dependencies updated
                                            • (simatec) node 16 support added
                                            D 2 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            744
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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