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 goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Adapter: iobroker.backitup (stable Release)

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

      @skokarl
      Bei den Usern, die eine Autorisierung bereits haben, läuft es auch.

      Hier die Erklärung von @Bluefox

      https://github.com/simatec/ioBroker.backitup/issues/170#issuecomment-525040600

      Gizimo created this issue in simatec/ioBroker.backitup

      closed Google Drive Autorisierung funktioniert nicht #170

      S 1 Reply Last reply Reply Quote 0
      • S
        skokarl @simatec last edited by

        @simatec
        ah, ok. Danke.

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

          Habe gerade CIFs einrichten wollen. Backup kann nicht durchgeführt werden:

          Gestartet...
          [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"Local","mount":"192.168.178.58","fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"***********","wolTime":"25","smb":"vers=1.0","sudo":false,"deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"data/backup/Smarthome/iobroker","dirMinimal":"sharename/backupDir","dirTotal":"sharename/backupDir","user":"*****","pass":"****"}
          [ERROR] [mount] - [undefined mount: only root can use "--options" option
          
          [ERROR] [mount] - [IGNORED] Error: Command failed: mount -t cifs -o username=******,password=***************,rw,file_mode=0777,dir_mode=0777 //192.168.178.58/data/backup/Smarthome/iobroker /opt/iobroker/backups
          mount: only root can use "--options" option
          

          Die Suche ergab, dass es eventuell an den Rechten des users liegt. Ich habe daraufhin das Script sudo4backitup.sh ausgeführt.

          root@iobroker:~# sudo bash /opt/iobroker/sudo4backitup.sh
          ===================================================================================================
          
          ####################################### sudo4backitup ###########################################
          
          ===================================================================================================
          Please enter Username for your iobroker Install (Enter for default: iobroker):
          usermod: Gruppe »redis« existiert nicht.
          =====================================================================================================================
          ################################# sudo4backitup finsh ... Please reboot now!! #######################################
          =====================================================================================================================
          root@iobroker:~#
          
          

          Scheint ebenfalls nicht zu funktionieren, auch das backup bringt immer noch die selbe Fehlermeldung....

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

            @passuff
            Schalte in den NAS Einstellungen von Backitup sudo mount an.
            Kasse gegebenenfalls den Installer Fixer noch mal drüberlaufen (siehe Signatur)

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

              @simatec sagte in Adapter: iobroker.backitup (stable Release):

              sudo mount an.

              funktioneirt perfekt, danke !

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

                Nach einigen Veränderungen am System kommt nun der folgende Fehler:

                Gestartet...
                [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":null,"mount":"//fluxkompensator","fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"**:**:**:**:**:**","wolTime":"25","smb":"vers=1.0","sudo":true,"deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"data/backup/Smarthome/iobroker","dirMinimal":"sharename/backupDir","dirTotal":"sharename/backupDir","user":"admin","pass":"****"}
                [ERROR] [mount] - [undefined 
                Usage:
                 mount [-lhV]
                 mount -a [options]
                 mount [options] [--source] <source> | [--target] <directory>
                 mount [options] <source> <directory>
                 mount <operation> <mountpoint> [<target>]
                
                Mount a filesystem.
                
                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @passuff last edited by

                  @passuff
                  Zeige mal deine NAS Einstellungen...

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

                    @simatec

                    {
                      "_id": "system.adapter.backitup.0",
                      "common": {
                        "name": "backitup",
                        "version": "1.2.0",
                        "title": "BackitUp",
                        "authors": [
                          "simatec <nais@gmx.net>",
                          "peoples0815 <peoples0815github@gmail.com>",
                          "bluefox <dogafox@gmail.com>"
                        ],
                        "docs": {
                          "en": "docs/en/backitup.md",
                          "de": "docs/de/backitup.md"
                        },
                        "platform": "Javascript/Node.js",
                        "mode": "daemon",
                        "icon": "backitup.png",
                        "materialize": true,
                        "messagebox": true,
                        "enabled": true,
                        "extIcon": "https://raw.githubusercontent.com/simatec/ioBroker.backitup/master/admin/backitup.png",
                        "keywords": [
                          "Backup",
                          "IoBroker",
                          "Homematic"
                        ],
                        "readme": "https://github.com/simatec/ioBroker.backitup/blob/master/README.md",
                        "loglevel": "info",
                        "type": "general",
                        "license": "MIT",
                        "installedVersion": "1.2.0",
                        "host": "iobroker",
                        "compact": true
                      },
                      "native": {
                        "debugLevel": false,
                        "notificationEnabled": false,
                        "mySqlEnabled": false,
                        "redisEnabled": false,
                        "zigbeeEnabled": false,
                        "cifsEnabled": true,
                        "ftpEnabled": false,
                        "dropboxEnabled": false,
                        "googledriveEnabled": false,
                        "historyEntriesNumber": "25",
                        "minimalEnabled": true,
                        "minimalTime": "02:00",
                        "minimalEveryXDays": "1",
                        "minimalDeleteAfter": "5",
                        "minimalNameSuffix": "",
                        "totalEnabled": false,
                        "totalStopIoB": false,
                        "totalTime": "03:00",
                        "totalEveryXDays": "3",
                        "totalDeleteAfter": "5",
                        "totalNameSuffix": "",
                        "ccuEnabled": true,
                        "ccuTime": "01:30",
                        "ccuEveryXDays": "3",
                        "ccuDeleteAfter": "5",
                        "ccuHost": "192.168.178.60",
                        "ccuUser": "Admin",
                        "ccuPassword": "",
                        "mySqlHost": "localhost",
                        "mySqlPort": "3306",
                        "mySqlName": "iobroker",
                        "mySqlUser": "",
                        "mySqlPassword": "",
                        "mySqlDumpExe": "",
                        "mysqlMinimalEnabled": false,
                        "redisPath": "/var/lib/redis",
                        "redisMinimalEnabled": false,
                        "notificationsType": "Telegram",
                        "telegramInstance": "",
                        "telegramUser": null,
                        "telegramNoticeType": "longTelegramNotice",
                        "telegramWaitToSend": "0",
                        "telegramSilentNotice": false,
                        "telegramOnlyError": false,
                        "pushoverInstance": "",
                        "pushoverNoticeType": "longPushoverNotice",
                        "pushoverWaitToSend": "0",
                        "pushoverDeviceID": "",
                        "pushoverSilentNotice": false,
                        "pushoverOnlyError": false,
                        "emailReceiver": "xxx@xxx.com",
                        "emailSender": "xxx@xxx.com",
                        "emailInstance": "",
                        "emailNoticeType": "longEmailNotice",
                        "emailWaitToSend": "0",
                        "emailOnlyError": false,
                        "connectType": "CIFS",
                        "cifsMount": "fluxkompensator",
                        "cifsUser": "*****",
                        "cifsPassword": "*******",
                        "smbType": "vers=1.0",
                        "sudoMount": true,
                        "cifsDeleteOldBackup": false,
                        "cifsOwnDir": false,
                        "wakeOnLAN": false,
                        "macAd": "********",
                        "wolWait": "25",
                        "cifsMinimalDir": "sharename/backupDir",
                        "cifsTotalDir": "sharename/backupDir",
                        "cifsCcuDir": "sharename/backupDir",
                        "cifsDir": "data/backup/Smarthome/iobroker",
                        "ftpHost": "",
                        "ftpPort": "21",
                        "ftpUser": "",
                        "ftpPassword": "",
                        "ftpDeleteOldBackup": false,
                        "ftpOwnDir": false,
                        "ftpMinimalDir": "/backupDir/minimal",
                        "ftpTotalDir": "/backupDir/total",
                        "ftpCcuDir": "/backupDir/ccu",
                        "ftpDir": "/backupDir",
                        "dropboxAccessToken": "",
                        "dropboxDeleteOldBackup": false,
                        "dropboxOwnDir": false,
                        "dropboxMinimalDir": "/backupDir/minimal",
                        "dropboxTotalDir": "/backupDir/total",
                        "dropboxCcuDir": "/backupDir/ccu",
                        "dropboxDir": "/backupDir",
                        "googledriveAccessJson": "",
                        "googledriveDeleteOldBackup": false,
                        "googledriveOwnDir": false,
                        "googledriveMinimalDir": "",
                        "googledriveTotalDir": "",
                        "googledriveCcuDir": "",
                        "googledriveDir": "",
                        "restoreSource": null,
                        "restoreType": "Minimal"
                      }
                    }
                    [/s]
                    
                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @passuff last edited by

                      @passuff
                      Trage mal unter cifsMount die IP ein und nicht den Hostname.

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

                        @simatec
                        Fehlermeldung bleibt...

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

                          Habe NAS und die iobroker vm neugestartet. Jetzt geht es wieder...Merkwürdig..

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

                            @Conquest

                            Ich habe heute die Anmeldung noch einmal getestet. Google sagt zwar, dass die App noch nicht durch Google geprüft wurde und man ein Sicherheitsrisiko eingeht, aber ich konnte trotzdem mit meinem Account bei 3 Testsystemen verknüpfen.

                            Anbei die Screenshots dazu:
                            backitup.JPG
                            backitup2.JPG
                            backitup3.JPG

                            1 Reply Last reply Reply Quote 0
                            • B
                              Buddinski88 last edited by

                              Abend zusammen,

                              jetzt muss ich mich mal an Euch wenden.

                              Ich möchte ioBroker usw. auf meiner DS218+ sichern. Dazu habe ich einen Share auf der DS angelegt und dazu die Berechtigungen gesetzt:

                              f5dea852-9b49-4a9c-b53a-35b294c28a66-image.png
                              be53317b-ef5f-4850-a0ba-2115dce97c36-image.png

                              Ein Test mittels showmount -e 192.168.178.39 zeigt mir den Share auch an:

                              e4a72306-dff0-424b-a602-eef63fa28d5d-image.png

                              Im Adapter habe ich folgende Einstellungen gesetzt:

                              4c856276-7ebc-4cfa-9162-2db8210bc6f8-image.png

                              Leider kommt beim Versuch ein Backup zu erstellen immer der Fehler "access denied".

                              Gestartet...
                              [DEBUG] [mount] start with {"mountType":"NFS","type":"storage","source":null,"mount":"192.168.178.39","fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"deleteOldBackup":true,"ownDir":true,"bkpType":"Minimal","dir":"/volume1/iobroker/standard","dirMinimal":"/volume1/iobroker/standard","dirTotal":"/volume1/iobroker/komplett","user":"","pass":"****"}
                              [ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.178.39:/volume1/iobroker/standard
                              
                              [ERROR] [mount] - [IGNORED] Error: Command failed: sudo mount 192.168.178.39:/volume1/iobroker/standard /opt/iobroker/backups
                              mount.nfs: access denied by server while mounting 192.168.178.39:/volume1/iobroker/standard
                              

                              Ich hab jetzt alle möglichen Varianten ausprobiert, aber ich bekomme es nicht zum laufen.

                              Kann mir bitte jemand helfen das hinzubekommen?

                              Vielen Dank und Grüße,
                              Bastian

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

                                @Buddinski88
                                Hast du die nfs Tools laut Readme von Backitup installiert?

                                B 1 Reply Last reply Reply Quote 0
                                • MathiasJ
                                  MathiasJ last edited by

                                  Man muss auch mal positives berichten:

                                  Backup auf NAS per CIFS 👍
                                  Backup auf Fritzbox per FTP 👍
                                  Backup auf Dropbox 👍
                                  Backup auf Google drive 👍
                                  Weiter habe ich die Ordner von Dropbox, und Google drive auf die zweite Festplatte des PC's verknüpft.
                                  Nun landen alle Backups direkt auf dem PC 🙂
                                  Ich denke, 4 minimale Backups und 4 Backups der CCU reichen am Tag.
                                  Komplette Backups werden nur einmal im Monat ausgeführt. ich nutze weder History noch Datenbanken,
                                  deshalb für mich nicht wirklich wichtig.
                                  läuft einwandfrei!

                                  Gruß,
                                  Mathias

                                  simatec 1 Reply Last reply Reply Quote 2
                                  • B
                                    Buddinski88 @simatec last edited by

                                    @simatec
                                    Ja habe ich gemacht. Lief auch einwandfrei durch. Die Backups werden auch in etc/iobroker/backups abgelegt. Nur auf das NAS wollen sie nicht.
                                    Die Unterordner habe ich gesten auf dem NAS selber angelegt. Leider auch nicht besser.

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

                                      @Buddinski88 sagte in Adapter: iobroker.backitup (stable Release):

                                      Die Backups werden auch in etc/iobroker/backups abgelegt.

                                      Das Verzeichnis stimmt aber nicht mit dem Standard iobroker-Verzeichnis überein.
                                      Bist du sicher, dass es "etc/iobroker/backups" ist?

                                      Was passiert, wenn du manuell per Konsole den mount ausführst?

                                      sudo mount 192.168.178.39:/volume1/iobroker/standard /opt/iobroker/backups
                                      
                                      B 1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active @MathiasJ last edited by

                                        @MathiasJ sagte in Adapter: iobroker.backitup (stable Release):

                                        Man muss auch mal positives berichten:

                                        Backup auf NAS per CIFS 👍
                                        Backup auf Fritzbox per FTP 👍
                                        Backup auf Dropbox 👍
                                        Backup auf Google drive 👍
                                        Weiter habe ich die Ordner von Dropbox, und Google drive auf die zweite Festplatte des PC's verknüpft.
                                        Nun landen alle Backups direkt auf dem PC 🙂
                                        Ich denke, 4 minimale Backups und 4 Backups der CCU reichen am Tag.
                                        Komplette Backups werden nur einmal im Monat ausgeführt. ich nutze weder History noch Datenbanken,
                                        deshalb für mich nicht wirklich wichtig.
                                        läuft einwandfrei!

                                        Gruß,
                                        Mathias

                                        Danke Mathias ... schön zu lesen, dass alles läuft 😉

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Buddinski88 @simatec last edited by

                                          @simatec sagte in Adapter: iobroker.backitup (stable Release):

                                          @Buddinski88 sagte in Adapter: iobroker.backitup (stable Release):

                                          Die Backups werden auch in etc/iobroker/backups abgelegt.

                                          Das Verzeichnis stimmt aber nicht mit dem Standard iobroker-Verzeichnis überein.
                                          Bist du sicher, dass es "etc/iobroker/backups" ist?

                                          Was passiert, wenn du manuell per Konsole den mount ausführst?

                                          sudo mount 192.168.178.39:/volume1/iobroker/standard /opt/iobroker/backups
                                          

                                          Sorry mein Fehler. Es ist natürlich opt und nicht etc sprich, alles im Standard.

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

                                            @Buddinski88

                                            Was sagt die Konsole bei folgenden Befehl?

                                            sudo mount 192.168.178.39:/volume1/iobroker/standard /opt/iobroker/backups
                                            
                                            B 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

                                            894
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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