NEWS
[gelöst] Backitup bleibt bei Redis Backup hängen
-
@claus1985
Den ersten Fehler kannst du ignorieren. Den muss ich bei einem mount noch abfangen.
Beim zweiten scheint es ein Thema der Rechte auf deinem NAS zu sein. Schaue mal hier im Forum. Da gibt es einige Anleitungen zum Thema NAS auf der FB. Eventuell deine FB mal updaten. Vielleicht liegt da noch ein Bug vor. Hatte von Problemen bei der Umstellung auf smb 3 gelesen -
@simatec Ok danke für die Info.
Habe das mal über SMB 2.0 probiert, funktioniert allerdings auch nicht.
Dann spare ich Redis erstmal aus dem Backup aus, danke Dir trotzdem! -
@claus1985
Da finden wir schon eine Lösung. Ich schaue nachher mal -
@claus1985
Poste mal bitte die Einstellungen für den mount von Backitup und alle Fritzbox Einstellungen für das NAS inkl. User und smb Einstellungen -
-
@simatec und hier noch die FTP Einstellungen für Backitup (gleiche Daten funktionieren über FileZilla):
Danke Dir für Deine Mühe und Arbeit!!
-
@claus1985
Setze mal den Hacken bei smb v1 Unterstützung in der FB und aktiviere smb1 in Backitup -
@simatec hat leider nichts geholfen, bleibt nach wie vor hängen
[DEBUG] [iobroker] - done [DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Created redistmp directory [DEBUG] [redis] - Packed 0MB so far...
-
@claus1985
Dann sehe ich hier nur noch das generelle Dateisystem mit NTFS auf deinem USB Stick. Das Filesystem würde ich ändern. -
@simatec ok, Teste ich aus. Einfach FAT32?
-
@claus1985 Ich würde da eins der Linux Dateisysteme nehmen. ext4 z.B.
-
@claus1985 Wie @Thomas-Braun schrieb, macht ext4 Sinn. NTFS ist ein Windows Dateisystem, was nur so lala von Linux unterstützt wird. Das hier ein Anlegen von Unterordnern ein Problem darstellen könnte, ist durchaus möglich.
-
@simatec hat leider nicht geklappt
Normales Backup läuft damit einwandfrei durch, mit Redis leider nicht. -
@claus1985
Hast du sowohl in Backitup als auch an der FB smb v1 aktiv? -
@simatec hatte in Backitup noch 3.1.1 ausgewählt, mit 1.0 klappt es!
Läuft jetzt einwandfrei durch. Verrückt das es tatsächlich am Dateiformat lag..!
Danke Dir vielmals für Deine Hilfe und den genialen Adapter! -
Ich verwende iobroker auf Docker mit ner Synology und habe gestern auf redis umgestellt.
Soweit läuft alles, aber backitup bleibt beim ordner erstellen hängen:[DEBUG] [iobroker] - done [DEBUG] [sqlite] - Start SQLite3 Backup ... [DEBUG] [sqlite] - sql.0 is stopped [DEBUG] [sqlite] - sql.0 started [DEBUG] [sqlite] - Backup created: /opt/iobroker/backups/sqlite_2024_03_01-07_26_49_backupiobroker.tar.gz [DEBUG] [sqlite] - sqlite File deleted! [DEBUG] [sqlite] - done [DEBUG] [redis] - Start Redis Backup ... [DEBUG] [redis] - Try deleting the old redis tmp directory: "/opt/iobroker/backups/redistmp" [DEBUG] [redis] - old redis tmp directory "/opt/iobroker/backups/redistmp" successfully deleted [DEBUG] [redis] - Created new redistmp directory
Ich sichere lokal und habe redis-tools per ENV eingebunden...
Muss ich sonst noch eine Einstellung treffen, damit backitup durchläuft ?Beste Grüße
-
Ich habe immer noch das o.g. Problem, dass das redis Backup bei "Created new redistmp directory" hängen bleibt.
Der Ordner wird allerdings am NAS erstellt, wenn ich per Explorer nachschaue ...
Kannst du mir hier bei der Problemsuche helfen ?
Danke.
Beste Grüße
-
@qlink Funktioniert es, wenn du ein lokales Backup erstellst?
Zeige mal bitte den Debuglog und deine NAS Settings -
Das ist ein lokales Backup. Mein NAS (Synology) ist mein Docker Host.
Hier meine Redis Einstellungen:Hier ein Debug Log:
19:43:04.277INFOguiBackup gestartet ... [DEBUG] [iobroker] start with {"type":"creator","workDir":"/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js","time":"02:00","cronjob":"00 48 02 */1 * *","ownCron":false,"debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"ignoreErrors":false,"sqlite":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","host":"","debugging":true,"deleteOldBackup":false,"ftpDeleteAfter":10,"advancedDelete":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","user":"","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","mount":"","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","wolPort":"9","wolExtra":false,"smb":"vers=1.0","sudo":false,"cifsDomain":"","clientInodes":false,"cacheLoose":false,"deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****","expertMount":"sudo mount -t cifs -o username=<username>,password=\"<password>\",noserverino,cache=loose,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.0.1/NAS/BACKUP /opt/iobroker/backups","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"dropboxDeleteAfter":10,"advancedDelete":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"onedriveDeleteAfter":10,"advancedDelete":false,"onedriveAccessJson":"****","ownDir":false,"bkpType":"Minimal","dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"webdavDeleteAfter":10,"advancedDelete":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"googledriveDeleteAfter":10,"advancedDelete":false,"accessJson":"****","newToken":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false,"filePth":"/opt/iobroker/iobroker-data/sqlite/sqlite.db","exe":""},"dir":"/opt/iobroker","redis":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","host":"","debugging":true,"deleteOldBackup":false,"ftpDeleteAfter":10,"advancedDelete":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","user":"","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","mount":"","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","wolPort":"9","wolExtra":false,"smb":"vers=1.0","sudo":false,"cifsDomain":"","clientInodes":false,"cacheLoose":false,"deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****","expertMount":"sudo mount -t cifs -o username=<username>,password=\"<password>\",noserverino,cache=loose,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.0.1/NAS/BACKUP /opt/iobroker/backups","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"dropboxDeleteAfter":10,"advancedDelete":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"onedriveDeleteAfter":10,"advancedDelete":false,"onedriveAccessJson":"****","ownDir":false,"bkpType":"Minimal","dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"webdavDeleteAfter":10,"advancedDelete":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"googledriveDeleteAfter":10,"advancedDelete":false,"accessJson":"****","newToken":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"aof":false,"nameSuffix":"","slaveSuffix":"","hostType":"Single","path":"/var/lib/redis","redisType":"local","host":"","port":"6379","user":"","pass":"","ignoreErrors":false},"nodered":{"enabled":true,"type":"creator","ftp":{"enabled":false,"type":"storage","host":"","debugging":true,"deleteOldBackup":false,"ftpDeleteAfter":10,"advancedDelete":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","user":"","pass":"****","port":"21","secure":false,"signedCertificates":true,"ignoreErrors":false},"cifs":{"enabled":false,"mountType":"NFS","type":"storage","mount":"","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","wolPort":"9","wolExtra":false,"smb":"vers=1.0","sudo":false,"cifsDomain":"","clientInodes":false,"cacheLoose":false,"deleteOldBackup":false,"ownDir":false,"bkpType":"Minimal","dir":"sharename/backupDir","dirMinimal":"sharename/backupDir","user":"","pass":"****","expertMount":"sudo mount -t cifs -o username=<username>,password=\"<password>\",noserverino,cache=loose,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.0.1/NAS/BACKUP /opt/iobroker/backups","ignoreErrors":false},"dropbox":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"dropboxDeleteAfter":10,"advancedDelete":false,"accessToken":"****","dropboxAccessJson":"","dropboxTokenType":"custom","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"onedrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"onedriveDeleteAfter":10,"advancedDelete":false,"onedriveAccessJson":"****","ownDir":false,"bkpType":"Minimal","dir":"backupDir","dirMinimal":"backupDir/iobroker","ignoreErrors":false},"webdav":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"webdavDeleteAfter":10,"advancedDelete":false,"username":"username","pass":"****","url":"https://example.com/remote.php/dav/files/username/","ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/iobroker","signedCertificates":true,"ignoreErrors":false},"googledrive":{"enabled":false,"type":"storage","debugging":true,"deleteOldBackup":false,"googledriveDeleteAfter":10,"advancedDelete":false,"accessJson":"****","newToken":false,"ownDir":false,"bkpType":"Minimal","dir":"/backupDir","dirMinimal":"/backupDir/minimal","ignoreErrors":false},"path":"/opt/iobroker/iobroker-data","nameSuffix":"","slaveSuffix":"","hostType":"Single","ignoreErrors":false},"historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"allTelegramUsers","onlyError":false,"telegramWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"email.0","NoticeType":"longEmailNotice","emailReceiver":"backup@multimediaberatung.at","emailSender":"iobroker@multimediaberatung.at","onlyError":false,"emailWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"gotify":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longGotifyNotice","onlyError":false,"gotifyWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"signal":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"matrix":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longMatrixNotice","onlyError":false,"matrixWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"discord":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","target":"","onlyError":false,"discordWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"notification":{"type":"message","ignoreErrors":false,"bashDir":"/opt/iobroker/iobroker-data/backitup","entriesNumber":"25","systemLang":"de"},"backupDir":"/opt/iobroker/backups","timestamp":1728668534385} 19:43:08.938DEBUGiobrokerhost.iobroker 49846 states saved 19:43:14.893DEBUGiobrokerhost.iobroker 59973 objects saved 19:43:20.691DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_10_11-19_42_14_backupiobroker.tar.gz 19:43:20.700DEBUGiobrokerThis backup can only be restored with js-controller version up from 4.1 19:43:21.543DEBUGiobrokerdone 19:43:22.251DEBUGsqliteStart SQLite3 Backup ... 19:43:22.258DEBUGsqlitesql.0 is stopped 19:49:42.172DEBUGsqlitePacked 33MB so far... 19:49:52.174DEBUGsqlitePacked 75MB so far... 19:50:02.185DEBUGsqlitePacked 118MB so far... 19:50:12.189DEBUGsqlitePacked 156MB so far... 19:50:22.189DEBUGsqlitePacked 195MB so far... 19:50:32.184DEBUGsqlitePacked 237MB so far... 19:50:42.164DEBUGsqlitePacked 278MB so far... 19:50:52.175DEBUGsqlitePacked 322MB so far... 19:51:02.193DEBUGsqlitePacked 366MB so far... 19:51:12.172DEBUGsqlitePacked 407MB so far... 19:51:22.172DEBUGsqlitePacked 448MB so far... 19:51:32.187DEBUGsqlitePacked 490MB so far... 19:51:42.172DEBUGsqlitePacked 524MB so far... 19:51:52.172DEBUGsqlitePacked 563MB so far... 19:52:02.167DEBUGsqlitePacked 606MB so far... 19:52:12.186DEBUGsqlitePacked 649MB so far... 19:52:22.175DEBUGsqlitePacked 690MB so far... 19:52:32.170DEBUGsqlitePacked 733MB so far... 19:52:42.176DEBUGsqlitePacked 776MB so far... 19:52:52.171DEBUGsqlitePacked 816MB so far... 19:53:02.183DEBUGsqlitePacked 861MB so far... 19:53:02.583DEBUGsqlitesql.0 started 19:53:02.588DEBUGsqliteBackup created: /opt/iobroker/backups/sqlite_2024_10_11-19_42_31_backupiobroker.tar.gz 19:53:03.904DEBUGsqlitedone 19:53:04.061DEBUGredisStart Redis Backup ... 19:53:04.067DEBUGredisCreated new redistmp directory
-
@qlink Läuft Redis denn auch in deinem Docker Container? Wenn ja… passt der Pfad?