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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter: iobroker.backitup (stable Release)

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

      Danke für die super Arbeit. Hatte bis dato immer nur sporadisch gesichert. Nun gehts auch automatisch!

      hier mal mein Kurzfeedback:

      Adapterversion 0.2.0, Fritzbox mit HDD dran

      FTP –> funktioniert (gleich auf Anhieb)

      CIFS --> funktioniert (hier hatte ich eine Weile gebraucht habe bis die Einstellungen (Fritzbox und Pfad im Adapter) korrekt waren.

      Grüße, Lenny

      1 Reply Last reply Reply Quote 0
      • J
        J Riemann last edited by

        @Homoran:

        Hallo Jörg,

        IMuss ich in der DS irgendwo CIFS aktivieren.

        Was bitte ist host - ist doch die Adresse vom NAS, oder?

        Oder muss da noch etwas hinzugefügt werden?

        ich hab es auch mit http:// <ip>versucht</ip> `

        CIFS ist SMB1 und somit muss SMB auf dem Ziellaufwerk aktiviert sein.

        Wie das bei Dir funktioniert kann ich leider nicht sagen.

        Außerdem muss natürlich der Benutzer mit dem Du über Backitup auf die Festplatte zugreifst Schreibrechte haben.

        Am besten packst Du den Zielordner in einen "freigegebenen öffentlichen Ordner".

        Host ist das NAS Laufwerk. Regulär müsste es mit IP und Namen funktionieren.

        Die Eingaben müssen ohne http usw. sein. So wie es im Screenshot zu sehen ist. Es kann aber sein das die Pfadangabe bei Dir mit einem / beginnen muss.

        Also /NAS/Zielordner

        Ein erfolgreiches Backup sollte folgende Meldung im Log bringen:

        backitup.0	2018-07-17 22:37:09.255	info	success --- Umount CIFS Server ---
        backitup.0	2018-07-17 22:37:09.255	info	success --- Ueberpruefung auf alte Dateien und loeschen erfolgreich ---
        backitup.0	2018-07-17 22:37:09.255	info	--- Alte Backups entfernen ---
        backitup.0	2018-07-17 22:37:09.255	info	success --- Ein Homematic-CCU Backup wurde erstellt ---
        backitup.0	2018-07-17 22:37:09.255	info	success --- Login Homematic-CCU erfolgreich ---
        backitup.0	2018-07-17 22:37:09.255	info	--- Es wurde ein Homematic CCU Backup gestartet ---
        backitup.0	2018-07-17 22:37:09.255	info	success --- CIFS-Server verbunden ---
        backitup.0	2018-07-17 22:37:09.255	info	--- Backup-Pfad auf CIFS mounten ---
        backitup.0	2018-07-17 22:37:09.255	info	exec: ccu||30|192.168.178.215|Sicherungen/RaspberyMatic|Riemann|Tüt9%7|192.168.178.217|Admin||CIFS||||||5|localhost|3307
        backitup.0	2018-07-17 22:36:39.158	info	OneClick CCU Backup gestartet
        
        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          Nach dem Update sieht die Welt schon ganz anders aus 😉

          Allerdings bleibt ein Fehler:

          error --- Backup-Pfad wurde nicht auf CIFS-Server verbunden ---
          
          

          Bleibt die Frage:
          @Homoran:

          Hatte vorher mit filezilla und sftp die Credentials überprüft.

          Frage:

          gibt es Probleme bei Sonderzeichen?? `
          vielleicht auch nur mit bestimmten?

          unter WIN kann ich ein Netzlaufwerk mit den Daten verbinden

          @J Riemann:

          CIFS ist SMB1 und somit muss SMB auf dem Ziellaufwerk aktiviert sein. `
          Danke! Google hat mir das inzwischen auch geflüstert.

          Gruß

          Rainer

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

            @Homoran:

            Nach dem Update sieht die Welt schon ganz anders aus 😉

            Allerdings bleibt ein Fehler:

            error --- Backup-Pfad wurde nicht auf CIFS-Server verbunden ---
            
            

            Bleibt die Frage:
            @Homoran:

            Hatte vorher mit filezilla und sftp die Credentials überprüft.

            Frage:

            gibt es Probleme bei Sonderzeichen?? `
            vielleicht auch nur mit bestimmten?

            unter WIN kann ich ein Netzlaufwerk mit den Daten verbinden

            @J Riemann:

            CIFS ist SMB1 und somit muss SMB auf dem Ziellaufwerk aktiviert sein. `
            Danke! Google hat mir das inzwischen auch geflüstert.

            Gruß

            Rainer `

            Hi Rainer

            hast du bei Pfad den / am Anfang weggelassen?

            für cifs: Freigabename/Pfad

            für FTP: /Pfad

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Yepp!

              ohne führenden slash

              Edit:

              der Rest passt ja:

              backitup.0	2018-07-17 22:48:27.687	debug	success --- Ueberpruefung auf alte Dateien und loeschen erfolgreich ---
              backitup.0	2018-07-17 22:48:27.687	debug	--- Alte Backups entfernen ---
              backitup.0	2018-07-17 22:48:27.687	debug	success --- Ein normales Backup wurde erstellt ---
              backitup.0	2018-07-17 22:48:27.687	debug	Backup created: /opt/iobroker/backups/2018_07_17-22_48_12_backupiobroker.tar.gz
              backitup.0	2018-07-17 22:48:27.687	debug	--- Es wurde ein Normales Backup gestartet ---
              backitup.0	2018-07-17 22:48:27.687	debug	error --- Backup-Pfad wurde nicht auf CIFS-Server verbunden ---
              backitup.0	2018-07-17 22:48:27.687	debug	--- Mount Backup-Path on CIFS ---
              backitup.0	2018-07-17 22:48:27.687	debug	exec: exec: minimal|C2|10|192.168.138.71|public/backups|User|Passwort||||CIFS||||||5|localhost|3307|/opt/iobroker
              backitup.0	2018-07-17 22:48:11.585	warn	Please translate ind words.js: CIFS-Mount: JA
              backitup.0	2018-07-17 22:48:11.584	warn	Please translate ind words.js: Typ
              backitup.0	2018-07-17 22:48:11.583	warn	Please translate ind words.js: Noch keine Backups erstellt
              backitup.0	2018-07-17 22:48:11.548	info	[minimal] oneClick backup started
              

              Credentials entfernt!

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • J
                J Riemann last edited by

                Funktioniert?

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  Nit Janz!

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

                    @Homoran:

                    Yepp!

                    ohne führenden slash

                    Edit:

                    der Rest passt ja:

                    backitup.0	2018-07-17 22:48:27.687	debug	success --- Ueberpruefung auf alte Dateien und loeschen erfolgreich ---
                    backitup.0	2018-07-17 22:48:27.687	debug	--- Alte Backups entfernen ---
                    backitup.0	2018-07-17 22:48:27.687	debug	success --- Ein normales Backup wurde erstellt ---
                    backitup.0	2018-07-17 22:48:27.687	debug	Backup created: /opt/iobroker/backups/2018_07_17-22_48_12_backupiobroker.tar.gz
                    backitup.0	2018-07-17 22:48:27.687	debug	--- Es wurde ein Normales Backup gestartet ---
                    backitup.0	2018-07-17 22:48:27.687	debug	error --- Backup-Pfad wurde nicht auf CIFS-Server verbunden ---
                    backitup.0	2018-07-17 22:48:27.687	debug	--- Mount Backup-Path on CIFS ---
                    backitup.0	2018-07-17 22:48:27.687	debug	exec: exec: minimal|C2|10|192.168.138.71|public/backups|User|Passwort||||CIFS||||||5|localhost|3307|/opt/iobroker
                    backitup.0	2018-07-17 22:48:11.585	warn	Please translate ind words.js: CIFS-Mount: JA
                    backitup.0	2018-07-17 22:48:11.584	warn	Please translate ind words.js: Typ
                    backitup.0	2018-07-17 22:48:11.583	warn	Please translate ind words.js: Noch keine Backups erstellt
                    backitup.0	2018-07-17 22:48:11.548	info	[minimal] oneClick backup started
                    

                    Credentials entfernt!

                    Gruß

                    Rainer `

                    Lass mal den shell über Konsole durchlaufen, damit du siehst, was passiert

                    sudo bash backitup.sh "Backup_Typ|Zusatz|Loeschen|NAS_Host|NAS_Dir|NAS_User|NAS_PW|CCU-IP|CCU-USER|CCU-PW|CIFS_MNT|RESTART|REDIS|MYSQL_DBNAME|MYSQL_USR|MYSQL_PW|MYSQL_Loeschen|MYSQL_HOST|MYSQL_PORT|IoBroker_Dir"

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      @simatec:

                      Lass mal den shell über Konsole durchlaufen, damit du siehst, was passiert `
                      in /opt/iobroker:

                      root@ioBroker-C2:/opt/iobroker# sudo bash backitup.sh "Backup_Typ|Zusatz|Loeschen|NAS_Host|NAS_Dir|NAS_User|NAS_PW|CCU-IP|CCU-USER|CCU-PW|CIFS_MNT|RESTART|REDIS|MYSQL_DBNAME|MYSQL_USR|MYSQL_PW|MYSQL_Loeschen|MYSQL_HOST|MYSQL_PORT|IoBroker_Dir"
                      bash: backitup.sh: No such file or directory
                      root@ioBroker-C2:/opt/iobroker#
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active last edited by

                        Im Adapter Ordner und node_module/iobroker.backitup

                        Gesendet von iPhone mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          root@ioBroker-C2:/opt/iobroker/node_modules/iobroker.backitup# sudo bash backitup.sh "Backup_Typ|Zusatz|Loeschen|NAS_Host|NAS_Dir|NAS_User|NAS_PW|CCU-IP|CCU-USER|CCU-PW|CIFS_MNT|RESTART|REDIS|MYSQL_DBNAME|MYSQL_USR|MYSQL_PW|MYSQL_Loeschen|MYSQL_HOST|MYSQL_PORT|IoBroker_Dir"
                          Backup_Typ|Zusatz|Loeschen|NAS_Host|NAS_Dir|NAS_User|NAS_PW|CCU-IP|CCU-USER|CCU-PW|CIFS_MNT|RESTART|REDIS|MYSQL_DBNAME|MYSQL_USR|MYSQL_PW|MYSQL_Loeschen|MYSQL_HOST|MYSQL_PORT|IoBroker_Dir
                          --- Kein gueltiger Backup Typ gewaehlt! Moegliche Auswahl: 'minimal', 'total' oder 'ccu' ---
                          find: invalid argument `+MYSQL_Loeschen' to `-mtime'
                          --- Kein Backup erstellt! ---
                          root@ioBroker-C2:/opt/iobroker/node_modules/iobroker.backitup#
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • Peoples
                            Peoples last edited by

                            Du musst deine Daten eintragen:

                            sudo bash backitup.sh "minimal|||deine nas ip|dein Verzeichnis|Dein_NAS_User|Dein_NAS_PW|||||||||||||dein_IoBroker_Dir"
                            
                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              Welces ioBroker.Dir?

                              /opt/iobroker???

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

                                @Homoran:

                                Welces ioBroker.Dir?

                                /opt/iobroker??? `

                                genau!

                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators last edited by

                                  minimal|||192.168.138.71|public/backups|Mein_usr|Mein_PW~|||||||||||||/opt/iobroker
                                  backitup.sh: line 94: [: ==: unary operator expected
                                  --- Es wurde ein Normales Backup gestartet ---
                                  Backup created: /opt/iobroker/backups/2018_07_17-23_04_22_backupiobroker.tar.gz
                                  success --- Ein normales Backup wurde erstellt ---
                                  --- Es werden keine alten Backups geloescht ---
                                  backitup.sh: line 285: [: ==: unary operator expected
                                  backitup.sh: line 319: [: ==: unary operator expected
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Peoples
                                    Peoples last edited by

                                    Mein Fehler!

                                    Die Angabe für CIFS oder FTP hat gefehlt :````
                                    sudo bash backitup.sh "minimal|||deine nas ip|dein Verzeichnis|Dein_NAS_User|Dein_NAS_PW||||CIFS|false|false|||| | | |dein_IoBroker_Dir"

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

                                      Und was sagt die Logausgabe zwecks mount?

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        Das sieht schon interessanter aus:

                                         minimal|||192.168.138.71|public/backups|Mein_usr|Mein_pw||||CIFS|false|false|||| | | |/opt/iobroker
                                        --- Mount Backup-Path on CIFS ---
                                        mount: wrong fs type, bad option, bad superblock on //192.168.138.71/public/backups,
                                               missing codepage or helper program, or other error
                                               (for several filesystems (e.g. nfs, cifs) you might
                                               need a /sbin/mount. <type>helper program)
                                        
                                               In some cases useful info is found in syslog - try
                                               dmesg | tail or so.
                                        mount: wrong fs type, bad option, bad superblock on //192.168.138.71/public/backups,
                                               missing codepage or helper program, or other error
                                               (for several filesystems (e.g. nfs, cifs) you might
                                               need a /sbin/mount. <type>helper program)
                                        
                                               In some cases useful info is found in syslog - try
                                               dmesg | tail or so.
                                        error --- Backup-Pfad wurde nicht auf CIFS-Server verbunden ---
                                        --- Es wurde ein Normales Backup gestartet ---
                                        Backup created: /opt/iobroker/backups/2018_07_17-23_16_00_backupiobroker.tar.gz
                                        success --- Ein normales Backup wurde erstellt ---
                                        find: invalid argument `+ ' to `-mtime'
                                        --- Es werden keine alten Backups geloescht ---</type></type> 
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators last edited by

                                          Hab noch was:

                                          [ 7126.470039] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old ser    vers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
                                          
                                          

                                          HTH

                                          Gute Nacht in …

                                          Rainer

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

                                            vers=1.0 ist eigentlich definiert in der shell

                                            Gesendet von iPhone mit Tapatalk

                                            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

                                            435
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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