staging.inyokaproject.org

Backintime rsync lastet TrueNAS-Hardware voll aus

Status: Gelöst | Ubuntu-Version: Ubuntu 24.04 (Noble Numbat)
Antworten |

crazy-to-bike

Avatar von crazy-to-bike

Anmeldungsdatum:
11. Oktober 2009

Beiträge: 291

Hallo,

ich nutze seit langem Backintime (installiert ist 1.4.2). Seit einiger Zeit brachen Backups regelmäßig mit Fehler ab. Ich konnte Backintime nur dazu bewegen, wieder ein Backup erfolgreich zu erstellen, indem ich das letzte Backup "gelöscht" (wegkopiert) und den symbolischen Link darauf gelöscht habe. Das Backupziel ist (war) ein QNAP NAS.

Nun habe ich das QNAP NAS durch TrueNAS ersetzt. Als Datenpool läuft ein ZFS RAID 1 aus 2 HDs. Ich habe von der HD des QNAP NAS alles in den neuen ZFS-Pool kopiert (cp -ar) und wollte nun ein Backintime Backup auf das neue NAS machen.

Das startet auch, macht dann aber nichts mehr. Sowohl der Backintime als auch der rsync Prozess schläft.

So weit kommt das Ganze laut backintime --debug backup:

DEBUG: [common/backintime.py:589 argParse] Arguments: {'debug': True, 'command': 'backup', 'func': <function backup at 0x7b5605615da0>} | unknownArgs: []

Back In Time
Version: 1.4.3

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.

DEBUG: [common/configfile.py:591 Config.setCurrentProfile] Change current profile: 1=Hauptprofil
DEBUG: [common/tools.py:186 initiate_translation] No language code. Use systems current locale.
DEBUG: [common/backintime.py:677 getConfig] config file: /home/username/.config/backintime/config
DEBUG: [common/backintime.py:678 getConfig] share path: /home/username/.local/share/backintime
DEBUG: [common/backintime.py:679 getConfig] profiles: 1=Hauptprofil
DEBUG: [common/pluginmanager.py:245 PluginManager.load] Register plugin path /usr/share/backintime/plugins
DEBUG: [common/pluginmanager.py:249 PluginManager.load] Probing plugin systrayiconplugin.py
DEBUG: [common/tools.py:735 is_Qt5_working] Qt5 probing result: exit code 2
DEBUG: [common/tools.py:738 is_Qt5_working] Qt5 probing stdout:

DEBUG: [common/tools.py:739 is_Qt5_working] Qt5 probing errout:
DEBUG: [common/qt5_probing.py:89 <module>] /usr/share/backintime/common/qt5_probing.py started... Call args: ['/usr/share/backintime/common/qt5_probing.py', '--debug']
DEBUG: [common/qt5_probing.py:90 <module>] Display system: wayland
DEBUG: [common/qt5_probing.py:91 <module>] XDG_RUNTIME_DIR=/run/user/1000
DEBUG: [common/qt5_probing.py:92 <module>] XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.DK7X82
DEBUG: [common/qt5_probing.py:93 <module>] QT_QPA_PLATFORM=($QT_QPA_PLATFORM is not set)
DEBUG: [common/qt5_probing.py:95 <module>] Current euid: 1000
QSocketNotifier: Can only be used with threads started with QThread
DEBUG: [common/qt5_probing.py:126 <module>] isSystemTrayAvailable for Qt5: True
DEBUG: [common/qt5_probing.py:131 <module>] /usr/share/backintime/common/qt5_probing.py is terminating normally (exit code: 2)

DEBUG: [plugins/systrayiconplugin.py:76 init] System tray is available to show the BiT system tray icon
DEBUG: [common/pluginmanager.py:263 PluginManager.load] Add plugin systrayiconplugin.py
DEBUG: [common/pluginmanager.py:249 PluginManager.load] Probing plugin usercallbackplugin.py
DEBUG: [common/pluginmanager.py:249 PluginManager.load] Probing plugin notifyplugin.py
DEBUG: [common/pluginmanager.py:263 PluginManager.load] Add plugin notifyplugin.py
DEBUG: [common/applicationinstance.py:169 flockExclusiv] Trying to put an advisory lock on the flock file /home/username/.local/share/backintime/worker.lock.flock
DEBUG: [common/applicationinstance.py:201 flockUnlock] Trying to remove the advisory lock from the flock file /home/username/.local/share/backintime/worker.lock.flock
INFO: [common/snapshots.py:733 Snapshots.backup] Lock
DEBUG: [common/tools.py:1660 inhibitSuspend] Inhibit Suspend started. Reason: take snapshot
DEBUG: [common/sshtools.py:296 SSH.startSshAgent] ssh-agent started successful: SSH_AUTH_SOCK=/tmp/ssh-5KdSGN5m6Erv/agent.215162 | SSH_AGENT_PID=215163
DEBUG: [common/sshtools.py:351 SSH.unlockSshAgent] Add private key /home/username/.ssh/id_rsa to ssh agent
DEBUG: [common/sshtools.py:361 SSH.unlockSshAgent] Password available: False
DEBUG: [common/mount.py:786 SSH.mountProcessLockAcquire] Acquire mountprocess lock /home/username/.local/share/backintime/mnt/215145.lock
INFO: [common/mount.py:527 SSH.mount] Mountpoint /home/username/.local/share/backintime/mnt/4D4673B7/mountpoint is already mounted
DEBUG: [common/mount.py:811 SSH.mountLockAquire] Set mount lock /home/username/.local/share/backintime/mnt/4D4673B7/locks/215145.lock
DEBUG: [common/mount.py:797 SSH.mountProcessLockRelease] Release mountprocess lock /home/username/.local/share/backintime/mnt/215145.lock
DEBUG: [plugins/systrayiconplugin.py:90 processBegin] Trying to start systray icon sub process...
DEBUG: [qt/qtsystrayicon.py:250 <module>] Sub process tries to show systray icon...
DEBUG: [qt/qtsystrayicon.py:251 <module>] qtsystrayicon.py call args: ['/usr/share/backintime/qt/qtsystrayicon.py', '1', '--debug']
DEBUG: [common/configfile.py:591 Config.setCurrentProfile] Change current profile: 1=Main profile
DEBUG: [common/tools.py:186 initiate_translation] No language code. Use systems current locale.
DEBUG: [common/configfile.py:591 Config.setCurrentProfile] Change current profile: 1=Main profile
QSocketNotifier: Can only be used with threads started with QThread
DEBUG: [qt/qttools.py:229 createQApplication] QT QPA platform plugin: wayland
DEBUG: [qt/qttools.py:230 createQApplication] QT_QPA_PLATFORMTHEME=<not set>
DEBUG: [qt/qttools.py:235 createQApplication] QT_STYLE_OVERRIDE=<not set>
DEBUG: [qt/qttools.py:238 createQApplication] QT active style: fusion
DEBUG: [qt/qttools.py:239 createQApplication] QT fallback style: 
DEBUG: [qt/qttools.py:240 createQApplication] QT supported styles: ['qt5ct-style', 'Windows', 'Fusion']
DEBUG: [qt/qttools.py:241 createQApplication] themeSearchPaths: ['/home/username/.local/share/icons', '/usr/local/share/icons', '/usr/share/icons', '/var/lib/snapd/desktop/icons', ':/icons']
DEBUG: [qt/qttools.py:242 createQApplication] fallbackSearchPaths: []
DEBUG: [qt/qttools.py:247 createQApplication] Is SystemTray available: True
DEBUG: [qt/qttools.py:264 createQApplication] Trying to set App ID for non-privileged user
DEBUG: [qt/qttools.py:304 initiate_translator] No language code. Use systems current locale.
DEBUG: [qt/icon.py:20 <module>] Checking if the current theme contains the BiT icon...
DEBUG: [qt/icon.py:32 <module>] Found an installed theme: Yaru
INFO: [common/snapshots.py:764 Snapshots.backup] Take a new snapshot. Profile: 1 Hauptprofil
INFO: [common/snapshots.py:1147 Snapshots.takeSnapshot] Found leftover 'new_snapshot' which can be continued.
INFO: [common/snapshots.py:1215 Snapshots.takeSnapshot] Call rsync to take the snapshot
DEBUG: [common/snapshots.py:796 Snapshots.backup] Call command "rsync --recursive --times --devices --specials --hard-links --human-readable -s --links --perms --executability --group --owner --info=progress2 --no-inc-recursive -r -l -p -t -v -H -D -z -E -S --rsh=ssh -o ServerAliveInterval=240 -o LogLevel=Error -o IdentityFile=/home/username/.ssh/id_rsa -p 22145 --delete --delete-excluded -v -i --out-format=BACKINTIME: %i %n%L --link-dest=../../20250611-220545-673/backup --chmod=Du+wx --exclude=/home/username/.local/share/backintime/mnt/1_215145 --exclude=/home/username/.local/share/backintime --exclude=.local/share/backintime/mnt --include=/home/username/ --include=/home/ --exclude=.gvfs --exclude=.cache/* --exclude=.thumbnails* --exclude=.local/share/[Tt]rash* --exclude=*.backup* --exclude=*~ --exclude=.dropbox* --exclude=/proc/* --exclude=/sys/* --exclude=/dev/* --exclude=/run/* --exclude=/etc/mtab --exclude=/var/cache/apt/archives/*.deb --exclude=lost+found/* --exclude=/tmp/* --exclude=/var/tmp/* --exclude=/var/backups/* --exclude=.Private --exclude=/home/username/PlayOnLinux's virtual drives --exclude=.PlayOnLinux --exclude=.wine --exclude=.local/share/webkitgtk --exclude=.config/pulse --include=/home/username/** --exclude=* / root@truenas.local:/mnt/Data/Backup/username/backintime/username-nb/username/Backup_Notebook_Sync/new_snapshot/backup"
DEBUG: [common/tools.py:2500 run] Starting command 'rsync --recursiv...'

und dann passiert nichts mehr. Woran könnte das liegen?

Edit:

Ich stelle fest, dass alle 4 CPU Kerne des Ugreen DXP2800, auf dem Proxmox und als VM TrueNAS läuft (alle 4 Kerne zur Verfügung gestellt), zu 100% ausgelastet sind. Auch das Disk I/O ist ziemlich hoch (30-90% schwankend).

WTF? Das alte QNAP NAS hatte eine ARM CPU. Das lief zwar schon auch langsam und lange beim Backup, aber, von den oben beschriebenen Problemen abgesehen, kam das NAS mit dem rsync deutlich besser zurecht.

Klar, ZFS braucht mehr Ressourcen, aber so viel mehr, dass rsync alle 4 Kerne voll auslastet, die Disk I/O so hoch ist und (fast) nichts mehr geht?!?

Edit 2:

4,5 Stunden später ist das Backup tatsächlich fertig. Gut, es gab auch einige Änderungen, da ich einiges bei den Daten umstrukturiert habe, aber ich hätte gedacht, dass das neue System dem uralten QNAP 1-Bay NAS in der Performance (deutlich) überlegen ist.

Antworten |