NEWS
Backitup Warnung: "No backup file was found"
-
-
Hi zusammen,
@crunchip said in Backitup Warnung: "No backup file was found":
ich sehe nur eins und vorallem keines das automatisch angelegt wurde(activated at 02:40 every 1 day)
Ja, ich habe die automatisch erstellten Backups gelöscht, da ich dachte, sie wären beschädigt. Aber heute Nacht (2:40 Uhr) lief wieder ein Backup, das sich zu dem manuell angestoßenen dazugesellt:
pi@iobroker-pi:/opt/iobroker/backups $ ls -la insgesamt 237628 drwxrwxr-x+ 2 iobroker iobroker 4096 Dez 16 02:40 . drwxrwxr-x+ 6 iobroker iobroker 4096 Dez 15 23:22 .. -rw-rwxr--+ 1 iobroker iobroker 121699443 Dez 15 22:58 iobroker_2021_12_15-22_57_47_backupiobroker.tar.gz -rw-rw-r--+ 1 iobroker iobroker 121610989 Dez 16 02:40 iobroker_2021_12_16-02_40_10_backupiobroker.tar.gz -rw-rwxr--+ 1 iobroker iobroker 2244 Dez 15 22:58 javascripts_2021_12_15-22_58_17_backupiobroker.tar.gz -rw-rw-r--+ 1 iobroker iobroker 2287 Dez 16 02:40 javascripts_2021_12_16-02_40_37_backupiobroker.tar.gz
Im Backupverlauf ist es auch drin:
-
@brofelscher Die Warnung
No backup file was found
ist normal, denn die lokale Quelle wird nicht durchsucht. Backups gehören nicht lokal bzw. Nicht nur.Welche Quelle durchsuchst du denn bei dem Abruf der Backups? Wenn die lokal liegen, muss du diese wählen
-
@simatec Danke für deine schnelle Antwort.
Als Quelle nutze ich "lokal", bzw. ich lasse die Standardeinstellung wie sie ist
Langfristig habe ich vor, die Backups auf NAS auszulagern, ich wollte erstmal nur schauen das vom Grundsatz her alles funktioniert, daher vorläufig die lokalen Backups
-
Hallo nochmal,
ich habe die Backups nun auf NAS (USB-Stick an der FritzBox) umgestellt, trotzdem werden keine Sicherungen geladen. Auch hier lädt sich nach dem Klick auf "Sicherungen abrufen" auf der Backitup-Benutzeroberfläche der Ladebalken einen ab - ohne Ergebnis. Als Sicherungsquelle habe ich "NAS/Kopieren" ausgewählt.
Die Sicherung lief problemlos durch:
Started iobroker ... [DEBUG] [mount] - noserverino option: true [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=fritz_nas,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.1/FRITZ.NAS/Intenso-SpeedLine-01/FRITZ/ioBroker_Backup /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.iobroker-pi 212 states saved [DEBUG] [iobroker] - host.iobroker-pi 288 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_12_18-16_21_39_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: ring_ordner_aufraeumen [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2021_12_18-16_22_51_backupiobroker.tar.gz [DEBUG] [javascripts] - done [DEBUG] [cifs] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 0
Das Log gibt nichts weiter her:
backitup.0 2021-12-18 16:21:21.715 warn No backup file was found backitup.0 2021-12-18 16:21:21.675 info [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 2021-12-18 16:21:21.607 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.6, js-controller: 3.3.21 backitup.0 2021-12-18 16:21:21.592 info Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system backitup.0 2021-12-18 16:21:17.040 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2021-12-18 16:21:17.037 info terminating backitup.0 2021-12-18 16:21:17.035 info cleaned everything up... backitup.0 2021-12-18 16:21:17.032 info Got terminate signal TERMINATE_YOURSELF
Irgendwas stimmt hier nicht...
Liebe Grüße
Maik -
@brofelscher zeige mal deine Config
-
@simatec said in Backitup Warnung: "No backup file was found":
@brofelscher zeige mal deine Config
Wo finde ich die Datei dafür?
-
@brofelscher
Ich vermute es ist ein Screenshot der Einstellungen des Adapters gemeint. -
@brofelscher sagte in Backitup Warnung: "No backup file was found":
Wo finde ich die Datei dafür?
Instanzen - Backitup - Konfiguration - rechts oben Downloaden
-
Hier ist die Konfig:
{ "_id": "system.adapter.backitup.0", "common": { "name": "backitup", "version": "2.2.2", "title": "BackItUp", "authors": [ "simatec <nais@gmx.net>", "peoples0815 <peoples0815github@gmail.com>", "bluefox <dogafox@gmail.com>" ], "osDependencies": { "linux": [ "cifs-utils", "nfs-common" ] }, "docs": { "en": "docs/en/backitup.md", "de": "docs/de/backitup.md" }, "platform": "Javascript/Node.js", "mode": "daemon", "compact": true, "icon": "backitup.png", "materialize": true, "messagebox": true, "stopBeforeUpdate": true, "connectionType": "local", "dataSource": "assumption", "materializeTab": true, "adminTab": { "name": { "en": "Backup", "de": "Backup", "ru": "Резервное копирование", "pt": "Cópia de segurança", "nl": "Back-up", "fr": "Sauvegarde", "it": "Backup", "es": "Respaldo", "pl": "Utworzyć kopię zapasową" }, "ignoreConfigUpdate": true, "singleton": false, "fa-icon": "</i><img style='width:24px;margin-bottom:-6px;' src='/adapter/backitup/backitup.svg'><i>" }, "adminUI": { "config": "materialize", "tab": "materialize" }, "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", "plugins": { "sentry": { "dsn": "https://e8510540c3a343aa8ce5678a4b3c8107@sentry.iobroker.net/36" } }, "installedVersion": "2.2.2", "host": "iobroker-pi", "logLevel": "info", "installedFrom": "iobroker.backitup@2.2.2" }, "native": { "minimalEnabled": true, "ccuEnabled": false, "redisEnabled": false, "javascriptsEnabled": true, "zigbeeEnabled": false, "jarvisEnabled": false, "historyEnabled": false, "influxDBEnabled": false, "mySqlEnabled": false, "pgSqlEnabled": false, "grafanaEnabled": false, "yahkaEnabled": false, "cifsEnabled": true, "ftpEnabled": false, "dropboxEnabled": false, "googledriveEnabled": false, "webdavEnabled": false, "notificationEnabled": false, "debugLevel": false, "sentry_enable": false, "historyEntriesNumber": "25", "hostType": "Single", "slaveInstance": [], "slaveNameSuffix": "", "stopSlaveAfter": false, "minimalTime": "02:40", "minimalEveryXDays": "7", "minimalDeleteAfter": "10", "minimalNameSuffix": "", "ccuTime": "01:30", "ccuEveryXDays": "3", "ccuDeleteAfter": "10", "ccuHost": "", "ccuUser": "Admin", "ccuPassword": "", "ccuUsehttps": false, "ccuSignedCertificates": true, "ccuMulti": false, "mySqlHost": "localhost", "mySqlPort": "3306", "mySqlName": "iobroker", "mySqlUser": "", "mySqlPassword": "", "mySqlDumpExe": "", "mysqlQuick": false, "mysqlSingleTransaction": false, "mySqlMulti": false, "pgSqlHost": "", "pgSqlPort": "5432", "pgSqlName": "", "pgSqlUser": "", "pgSqlPassword": "", "pgSqlDumpExe": "", "pgSqlMulti": false, "grafanaHost": "", "grafanaPort": "3000", "grafanaProtocol": "http", "grafanaUsername": "admin", "grafanaPassword": "", "grafanaApiKey": "", "influxDBType": "local", "influxDBHost": "localhost", "influxDBPort": "8088", "influxDBName": "iobroker", "influxDBDumpExe": "", "influxDBMulti": false, "deleteOldDataBase": false, "redisPath": "/var/lib/redis", "redisAOFactive": false, "historyPath": "media/usb/history", "notificationsType": "Telegram", "telegramInstance": "", "telegramUser": "none", "telegramNoticeType": "longTelegramNotice", "telegramWaitToSend": "0", "telegramSilentNotice": false, "telegramOnlyError": false, "whatsappInstance": "", "whatsappNoticeType": "longWhatsappNotice", "whatsappWaitToSend": "0", "whatsappOnlyError": 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": "192.168.178.1", "cifsDomain": "", "smbType": "vers=3.1.1", "cifsUser": "fritz_nas", "cifsPassword": "g\u0012PCTT\u0010\u0001\rU\u0012", "noserverino": true, "sudoMount": true, "cifsDeleteOldBackup": true, "cifsOwnDir": false, "wakeOnLAN": false, "macAd": "20:DE:20:DE:20:DE", "wolWait": "25", "cifsMinimalDir": "sharename/backupDir", "cifsCcuDir": "sharename/backupDir", "cifsDir": "/FRITZ.NAS/Intenso-SpeedLine-01/FRITZ/ioBroker_Backup", "ftpHost": "", "ftpPort": "21", "ftpUser": "", "ftpPassword": "", "ftpDeleteOldBackup": false, "ftpOwnDir": false, "ftpMinimalDir": "/backupDir/iobroker", "ftpCcuDir": "/backupDir/ccu", "ftpDir": "/backupDir", "webdavURL": "https://example.com/remote.php/dav/files/username/", "webdavUsername": "username", "webdavPassword": "", "webdavSignedCertificates": true, "webdavDeleteOldBackup": false, "webdavOwnDir": false, "webdavMinimalDir": "/backupDir/iobroker", "webdavCcuDir": "/backupDir/ccu", "webdavDir": "/backupDir", "dropboxAccessToken": "", "dropboxDeleteOldBackup": false, "dropboxOwnDir": false, "dropboxMinimalDir": "/backupDir/iobroker", "dropboxCcuDir": "/backupDir/ccu", "dropboxDir": "/backupDir", "googledriveAccessJson": "", "googledriveDeleteOldBackup": false, "googledriveOwnDir": false, "googledriveMinimalDir": "/backupDir/iobroker", "googledriveCcuDir": "/backupDir/ccu", "googledriveDir": "/backupDir", "restoreSource": "local", "startAllRestore": false, "ccuEvents": [], "influxDBEvents": [], "mySqlEvents": [], "pgSqlEvents": [] } }
Bevor ihr euch große Mühe macht: Ich habe heute Nachmittag einen weiteren RaspberryPi frisch mit ioBroker aufgesetzt. Da ich derzeit nur 3 Adapter verwende und keinerlei Haus-Automation war das keine große Sache.
Die Backup beim neuen System funktionieren einwandfrei. Auch werden die lokal angelegten Backups angezeigt. Auch die NAS-Backups werden angezeigt. Die Konfig-Datei zwischen den beiden Systeme unterscheidet sich übrigens nicht. Beide sind gleich konfiguriert.
Eine weitere Sache habe ich noch versucht: Ich habe eines der "alten" Backups (die, die nicht geladen werden konnten) am PC mit 7zip zu öffnen. Das schlug mit dem Hinweis fehlt, dass die Datei nicht als Archiv geöffnet werden kann.
Bei einem neuen Backup vom "neuen" System klappt das ohne Probleme:
Meine Vermutung ist: Irgendwas war mit den Backups kaputt, so das diese nicht geladen werden konnten.
Ich danke euch für die Hilfe, für mich ist die Sache erledigt. Es funktioniert ja jetzt.
Grüße
Maik