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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Adapter: iobroker.backitup (stable Release)

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                        • J
                                          J Riemann last edited by

                                          Nach dem neuen Update erscheint folgende Meldung im Log:

                                          backitup.0	2018-07-17 23:31:29.984	warn	Please translate ind words.js: CIFS-Mount: JA
                                          backitup.0	2018-07-17 23:31:29.983	warn	Please translate ind words.js: Typ
                                          backitup.0	2018-07-17 23:31:29.981	warn	Please translate ind words.js: Noch keine Backups erstellt
                                          backitup.0	2018-07-17 23:31:29.957	info	[ccu] oneClick backup started
                                          

                                          Weitere Einträge gibt es nicht obwohl das Backup erstellt und auf die NAS geschrieben wurde.

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

                                            Unter Instanzen als Experte loglevel auf debug stellen!

                                            Gruß

                                            Rainer

                                            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

                                            978
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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