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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

    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

      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
                                        • J
                                          J Riemann last edited by

                                          Das erweitert zwar die Ausgabe, aber nach der "warn" Meldung ist Schluss und die Erfolgsmeldungen werden nicht ausgegeben.

                                          Vor dem Update sah es im Log so aus:

                                          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|xxxxx|192.168.178.217|Admin||CIFS||||||5|localhost|3307
                                          backitup.0	2018-07-17 22:36:39.158	info	OneClick CCU Backup gestartet
                                          

                                          Jetzt ist es so:

                                          backitup.0	2018-07-17 23:46:46.851	warn	Please translate ind words.js: CIFS-Mount: JA
                                          backitup.0	2018-07-17 23:46:46.850	warn	Please translate ind words.js: Typ
                                          backitup.0	2018-07-17 23:46:46.849	warn	Please translate ind words.js: Noch keine Backups erstellt
                                          backitup.0	2018-07-17 23:46:46.807	info	[ccu] bash /opt/iobroker/node_modules/iobroker.backitup/backitup.sh "ccu||30|192.168.178.215|Sicherungen/RaspberyMatic|Riemann|xxx|192.168.178.217|Admin||CIFS|||||||||/opt/iobroker"
                                          backitup.0	2018-07-17 23:46:46.802	info	[ccu] oneClick backup started
                                          

                                          Nach dem Update waren auch alle Einstellungen verschwunden und alle Objekte waren doppelt vorhanden.

                                          Geändert: passwort entfernt; Homoran (Admin)

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

                                            Durch die übernommenen Änderungen ist einiges durcheinander gekommen und läuft nicht mehr ganz rund.

                                            Auch ist irgendwo noch ein Fehler bei der Werteübergabe von JS nach Shell schau ich mir alles morgen an!

                                            Gut Nacht

                                            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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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