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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter: iobroker.backitup (stable Release)

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

      Befehle über Konsole haben nix mit dem Adapter zu tun.

      Was hast du in der Konsole genau eingegeben

      Gesendet von iPhone mit Tapatalk

      1 Reply Last reply Reply Quote 0
      • H
        Hightower1976 last edited by

        @simatec:

        Befehle über Konsole haben nix mit dem Adapter zu tun.

        Was hast du in der Konsole genau eingegeben

        Gesendet von iPhone mit Tapatalk `

        ich hab es. ein Passwort mit 21 Zeichen ist dem Adapter wohl zu lang. Jetzt habe ich eins mit 12 Zeichen und alles ist gut.

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

          Gibt es eigentlich Pläne für den Adapter bei der Pushover Benachrichtigung nur 1 GeräteID eintragen zu können?

          Momentan bekomme ich die Backup Nachricht auf alle Pushover GeräteIDs

          Grüße

          Tom

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

            Können wir einbauen.

            Da ich aber selber Pushover nicht nutze, wäre gut zu wissen, wie die Id ausschaut.

            Gesendet von iPhone mit Tapatalk

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

              Ja 😄

              Das müsste das hier sein :

              https://pushover.net/api

              Some optional parameters may be included:

              device - your user's device name to send the message directly to that device, rather than all of the user's devices (multiple devices may be separated by a comma)

              Kommt bei dem Pushover Adapter unter Gerät ID als Text (Name den man selbst dem Gerät bei Pushover eingetragen hat)

              Grüße

              Tom

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

                OK ich schaue mir mal den Pushover Adapter an.

                Eventuell kann ich die User wie bei Telegram von backitup auslesen lassen und ein Auswahlmenü darstellen.

                Gesendet von iPhone mit Tapatalk

                1 Reply Last reply Reply Quote 0
                • P
                  passuff last edited by

                  Hallo zusammen,

                  backitup hat bei mir früher immer wunderbar funktioniert. Leider kann ich neuerdings keine Backups wiederherstellen, bzw die abgelegten Backups werden nicht mehr gefunden. Ich nutze lediglich FTP Zugang, die Backups werden einwandfrei erstellt und abgelegt. Wenn ich jetzt auf Wiederherstellen klicke und FTP auswähle, werden dennoch nur lokale Backups angezeigt.

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

                    Nach der Auswahl von FTP im Wiederherstellungsmenü bitte vorher speichern.

                    Sonst wird die Auswahl FTP nicht übernommen und nur die lokalen Backups werden angezeigt.

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

                      Ab sofort ist auf Github und ab heute Nacht im latest die Version 0.4.3 verfügbar.

                      0.4.3 (17.12.2018)

                      (simatec) Add device ID for pushover

                      1 Reply Last reply Reply Quote 0
                      • P
                        passuff last edited by

                        Wenn ich NAS auswähle, kann ich meine FTP Backups finden. Scheint ein BUG zu sein, denn ich habe lediglich FTP konfiguriert.

                        Gebt mir Bescheid wenn ihr zwecks root cause Hilfe benötigt.

                        Edit: Nachdem ich einmalig über NAS gesucht habe, funktioniert nun auch FTP… verstehs einer 😉

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

                          @passuff:

                          Gebt mir Bescheid wenn ihr zwecks root cause Hilfe benötigt. `

                          Was meinst du damit genau?

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

                            Hallo, bei mir hat der mount bisher funktioniert aber jetzt nicht mehr. Der mount (CFIS , Synology NAS ) funktioniert, wenn ich manuell den Befehl von

                            sudo mount -t cifs -o user=hm-iob,password=password,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.7.200/TMBackup/IOB /opt/iobroker/backups

                            in

                            sudo mount -t cifs -o username=hm-iob,password=password,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.7.200/TMBackup/IOB /opt/iobroker/backups

                            ändere.

                            Kann man das anpassen ?

                            VG Uwe

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

                              @HAL:

                              Hallo, bei mir hat der mount bisher funktioniert aber jetzt nicht mehr. Der mount (CFIS , Synology NAS ) funktioniert, wenn ich manuell den Befehl von

                              sudo mount -t cifs -o user=hm-iob,password=password,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.7.200/TMBackup/IOB /opt/iobroker/backups

                              in

                              sudo mount -t cifs -o username=hm-iob,password=password,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.7.200/TMBackup/IOB /opt/iobroker/backups

                              ändere.

                              Kann man das anpassen ?

                              VG Uwe `

                              schauen wir uns an.

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

                                Ab sofort ist die Version 0.4.4 auf dem Github Online und ab heute Nacht im latest.

                                0.4.4 (19.12.2018)

                                (simatec) Fix cifs-mount User

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

                                  @simatec:

                                  Also da sehe ich schon das erste Problem mit dem js-Controller.

                                  1.5.3 würde ich aktuell noch nicht unbedingt laufen lassen und erst recht nicht mit npm 3 in Kombi.

                                  Mach mal ein Upgrade von node und npm und ggfs. ein downgrade des js-Controllers … `

                                  Habe meine Installation neu aufgesetzt:

                                  npm 6.4.1

                                  node v8.14.0

                                  js-controller 1.4.2

                                  Nebeneffekt: Backupgröße (manuell erstellt) "nur" noch ca. 450 MB.

                                  Aber, das Backup bleibt immer noch hängen (NAS-Copy deaktiviert, mit ioBroker stopp, Redis läuft). Heute Morgen:

                                  iobroker 13938 1 0 03:00 ? 00:00:00 bash stopIOB.sh

                                  iobroker 14097 13938 0 03:00 ? 00:00:18 node execute.js

                                  Log (102 KB):

                                  [DEBUG] [total/total] TAR started…

                                  [DEBUG] [total/total] Ignore dir: /opt/iobroker/backups

                                  [DEBUG] [total/total] Packed 7MB so far…

                                  [DEBUG] [total/total] Packed 9MB so far…

                                  [DEBUG] [total/total] Packed 9MB so far…

                                  . . .

                                  [2430 Zeilen]

                                  Wie schon einmal angemerkt, wird tar irgendwo blockiert.

                                  Ich kann aber keine Zombies im ioBroker-Verzeichnis finden:

                                  # lsof|grep \/opt\/iobroker
                                  bash      13938         iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  bash      13938         iobroker  255r      REG        8,1      107   11272547 /opt/iobroker/node_modules/iobroker.backitup/lib/stopIOB.sh
                                  node      14097         iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097         iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097         iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14098   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14098   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14098   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14099   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14099   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14099   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14100   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14100   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14100   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14101   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14101   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14101   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14102   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14102   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14102   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14103   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14103   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14103   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14104   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14104   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14104   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14105   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14105   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14105   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  node      14097 14106   iobroker  cwd       DIR        8,1     4096   11272992 /opt/iobroker/node_modules/iobroker.backitup/lib
                                  node      14097 14106   iobroker  txt       REG        8,1 31514670   11148547 /opt/iobroker/.nvm/versions/node/v8.14.0/bin/node
                                  node      14097 14106   iobroker    9w      REG        8,1  9618161   12326309 /opt/iobroker/backups/total_2018_12_20-03_00_23_XOU4_backupiobroker.tar.gz
                                  bash      17503           odroid  cwd       DIR        8,1     4096   12326194 /opt/iobroker/backups
                                  
                                  

                                  Platz zum Schreiben ist auch

                                  Filesystem     1K-blocks     Used Available Use% Mounted on
                                  /dev/mmcblk0p2  59039349  1575504  57459749   3% /
                                  udev               10240        0     10240   0% /dev
                                  tmpfs             407712    42280    365432  11% /run
                                  tmpfs            1019272        0   1019272   0% /dev/shm
                                  tmpfs               5120        0      5120   0% /run/lock
                                  tmpfs            1019272        0   1019272   0% /sys/fs/cgroup
                                  /dev/mmcblk0p1     72542    24436     48106  34% /boot
                                  /dev/sda1      229701512 28209708 189753920  13% /opt
                                  
                                  

                                  Hätte nun nur noch die Idee, dass im Debugmodus eine verbose-Ausgabe aktiviert werden kann, damit man sieht, was er gerade sichert bzw. versucht wird zu sichern.

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

                                    Wie hast du iobroker aufgesetzt?

                                    Nach der neuen oder alten Methode?

                                    Bei der neuen gab es wohl einen noch nicht behobenen Bug mit der Rechtevergabe.

                                    Läuft dein iob unter root?

                                    Was passiert, wenn du iob nicht vorm backup stoppst?

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

                                      @simatec:

                                      Wie hast du iobroker aufgesetzt?

                                      Nach der neuen oder alten Methode?

                                      Bei der neuen gab es wohl einen noch nicht behobenen Bug mit der Rechtevergabe.

                                      Läuft dein iob unter root? `

                                      Nach meiner Methode 😉

                                      • stop Redis

                                      • altes Verzeichnis sichern/löschen

                                      alles weitere als User iobroker

                                      • neues leeres Verzeichnis /opt/iobroker

                                      • Installation nvm, nmp, node, node-gyp

                                      • npm install –unsafe-perm iobroker

                                      • npm i --production --unsafe-perm

                                      • alle Adapter die ich vorher hatte mit derselben Anzahl Instanzen installiert

                                      • iobroker beenden

                                      • appendonly.aof, influxdata.json, object.json, objects.json, states.rdb von alter Installation rückspielen

                                      • Redis starten

                                      • iobroker starten

                                      • View-Projekte zurückspielen

                                      @simatec:

                                      Was passiert, wenn du iob nicht vorm backup stoppst? `

                                      Das selbe leider, deswegen hatte ich ja die Umgebung neu aufgesetzt, vorher ging es meiner Meinung zumindest, wenn ioBroker gestoppt war, dauerte aber auf Grund der Größe meiner Installation fast 20 Minuten.

                                      Ich teste jetzt mal mit frisch gestartetem System und mit und ohne Stop ioBroker …

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

                                        Hmmm die Methode kommt mir etwas fragwürdig vor.

                                        ich denke nicht, dass du damit deine Probleme beheben kannst.

                                        Ich würde vorher iob richtig deinstallieren und dann mit folgender Methode neu aufsetzen.

                                        sudo mkdir /opt/iobroker
                                        sudo chmod 777 /opt/iobroker
                                        cd /opt/iobroker
                                        sudo npm install iobroker --unsafe-perm
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • greyhound
                                          greyhound last edited by

                                          backitup 0.4.4

                                          Test Vollsicherung ohne NAS, ohne Stopp ioBroker …

                                          Gestartet...
                                          [DEBUG] [total] start with {"type":"creator","time":"03:00","debugging":true,"everyXDays":"1","nameSuffix":"XOU4","deleteBackupAfter":0,"history":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"telegram.2","SilentNotice":true,"NoticeType":"longTelegramNotice","User":"allTelegramUsers","systemLang":"de"},"email":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"email.0","NoticeType":"longEmailNotice","emailReceiver":"xxx@xxx.com","emailSender":"xxx@xxx.com","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"Telegram","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","systemLang":"de"},"dir":"/opt/iobroker","redis":{"enabled":true,"ftp":{"enabled":false,"type":"storage","source":"Local","host":"192.168.200.156","deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"","dirMinimal":"/backupDir/minimal","dirTotal":"/backupDir/total","user":"iobroker","pass":"iobroker.Pty92","port":"21"},"cifs":{"enabled":false,"mountType":"CIFS","type":"storage","source":"Local","mount":"192.168.200.156","fileDir":"/opt/iobroker/node_modules/iobroker.backitup","smb":"vers=2.0","sudo":true,"deleteOldBackup":true,"ownDir":true,"bkpType":"Minimal","dir":"bu/iobroker/Odroid_XU4/complete","dirMinimal":"bu/iobroker/Odroid_XU4/Standard","dirTotal":"bu/iobroker/Odroid_XU4/complete","user":"iobroker","pass":"iobroker.Pty92"},"dropbox":{"enabled":false,"type":"storage","source":"Local","deleteOldBackup":false,"accessToken":"","ownDir":false,"bkpType":"Minimal","dir":"","dirMinimal":"","dirTotal":""},"path":"/opt/iobroker/iobroker-data/states.rdb"},"stopIoB":false,"backupDir":"/opt/iobroker/backups"}
                                          [DEBUG] [total] - TAR started...
                                          [DEBUG] [total] - Ignore dir: /opt/iobroker/backups
                                          [DEBUG] [total] - Packed 7MB so far...
                                          [DEBUG] [total] - Packed 9MB so far...
                                          

                                          Test Vollsicherung ohne NAS, mit Stopp ioBroker

                                          hängt ebenso wieder bei 9 MB, gleiches "Bild" wie heute morgen
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • greyhound
                                            greyhound last edited by

                                            @simatec:

                                            Hmmm die Methode kommt mir etwas fragwürdig vor.

                                            ich denke nicht, dass du damit deine Probleme beheben kannst.

                                            Ich würde vorher iob richtig deinstallieren und dann mit folgender Methode neu aufsetzen.

                                            sudo mkdir /opt/iobroker
                                            sudo chmod 777 /opt/iobroker
                                            cd /opt/iobroker
                                            sudo npm install iobroker --unsafe-perm
                                            ```` `  
                                            

                                            ioBroker selbst läuft, meine Skripte laufen, die Views Funktionieren. Historie, etc.

                                            Ich werde noch einen Test direkt auf node mit node execute.js machen

                                            $ iobroker stop````
                                            Stopping iobroker controller daemon...
                                            iobroker controller daemon stopped.
                                            Exit code for "killall.sh": 0

                                            $ cd node_modules/iobroker.backitup/lib/
                                            
                                            $ node execute.js
                                            

                                            [DEBUG] [total/total] TAR started...
                                            [DEBUG] [total/total] Ignore dir: /opt/iobroker/backups
                                            [DEBUG] [total/total] Packed 7MB so far...
                                            [DEBUG] [total/total] Packed 15MB so far...
                                            [DEBUG] [total/total] Packed 19MB so far...
                                            [DEBUG] [total/total] Packed 24MB so far...
                                            [DEBUG] [total/total] Packed 29MB so far...
                                            [DEBUG] [total/total] Packed 33MB so far...
                                            [DEBUG] [total/total] Packed 37MB so far...
                                            [DEBUG] [total/total] Packed 42MB so far...
                                            [DEBUG] [total/total] Packed 46MB so far...
                                            [DEBUG] [total/total] Packed 52MB so far...
                                            [DEBUG] [total/total] Packed 57MB so far...
                                            [DEBUG] [total/total] Packed 62MB so far...
                                            [DEBUG] [total/total] Packed 90MB so far...
                                            [DEBUG] [total/total] Packed 97MB so far...
                                            [DEBUG] [total/total] Packed 104MB so far...
                                            [DEBUG] [total/total] Packed 111MB so far...
                                            [DEBUG] [total/total] Packed 121MB so far...
                                            [DEBUG] [total/total] Packed 130MB so far...
                                            [DEBUG] [total/total] Packed 138MB so far...
                                            [DEBUG] [total/total] Packed 153MB so far...
                                            [DEBUG] [total/total] Packed 176MB so far...
                                            [DEBUG] [total/total] Packed 201MB so far...
                                            [DEBUG] [total/total] Packed 216MB so far...
                                            [DEBUG] [total/total] Packed 227MB so far...
                                            [DEBUG] [total/total] Packed 235MB so far...
                                            [DEBUG] [total/total] Packed 237MB so far...
                                            [DEBUG] [total/total] Packed 245MB so far...
                                            [DEBUG] [total/total] Packed 254MB so far...
                                            [DEBUG] [total/total] Packed 263MB so far...
                                            [DEBUG] [total/total] Packed 271MB so far...
                                            [DEBUG] [total/total] Packed 287MB so far...
                                            [DEBUG] [total/total] Packed 297MB so far...
                                            [DEBUG] [total/total] Packed 321MB so far...
                                            [DEBUG] [total/total] Packed 344MB so far...
                                            [DEBUG] [total/total] Packed 371MB so far...
                                            [DEBUG] [total/total] Packed 396MB so far...
                                            [DEBUG] [total/total] Packed 412MB so far...
                                            [DEBUG] [total/total] Packed 422MB so far...
                                            [DEBUG] [total/total] Packed 433MB so far...
                                            [DEBUG] [total/total] Packed 443MB so far...
                                            [DEBUG] [total/total] Packed 448MB so far...
                                            [DEBUG] [total/total] Packed 454MB so far...
                                            [DEBUG] [total/total] done
                                            [DEBUG] [total/redis] done
                                            [DEBUG] [total/clean] done
                                            [DEBUG] [total/start] done
                                            [DEBUG] [total/telegram] done
                                            iobroker@O-XU4-ioB-M1:~/node_modules/iobroker.backitup/lib$

                                            
                                            Das funktioniert! Warum?
                                            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

                                            453
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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