NEWS
[HOW-TO] backitup Konfiguration mit nfs
-
Ich kriege es einfach nicht hin.
Habe jetzt folgendes gemacht: Neues, frisches OS auf raspi installiert. Dazu noch iob installiert mit 2 Adaptern, dass da was drin ist.
Dann habe ich raspiBackup installiert. Habe das Verzeichnis /backup auf dem raspi erstellt und den QNAP share statisch über fstab gemounted.
Wenn ich nun raspiBackup starte, gibt es wie immer eine Rechte-Fehlermeldung.
Ich bitte um Hilfe, bin am verzweifeln. Es kann doch nicht sein, dass das mit frischem OS immer noch nicht funzt.
Hier die Ausgabe:
pi@raspi5:/backup $ sudo raspiBackup --- RBK0009I: raspi5: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Wed 15 Jan 14:53:50 CET 2025 gestartet. ??? RBK0266E: Es fehlt die Berechtigung um Linux Dateiattribute auf /backup zu erstellen (Dateisystem: nfs). --- RBK0033I: Bitte warten bis aufgeräumt wurde. --- RBK0043I: Unvollständiges Backup in /backup/raspi5/raspi5-rsync-backup-20250115-145350 wird gelöscht. Das kann etwas dauern. Bitte Geduld. ??? RBK0005E: Backup fehlerhaft beendet. Siehe vorhergehende Fehlermeldungen. --- RBK0010I: raspi5: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Wed 15 Jan 14:54:03 CET 2025 beendet mit Returncode 102. --- RBK0026I: Debug Logdatei wurde in /home/pi/raspiBackup.log gesichert. pi@raspi5:/backup $ more /home/pi/raspiBackup.log 20250115-145350 DBG 2101: --- Logfiles used: /tmp/raspiBackup.log and /tmp/raspiBackup.msg 20250115-145350 DBG 2112: --- raspiBackup.sh 0.6.9.1, 2024-09-28/22:55:07 - be4ba6d 20250115-145350 DBG 2115: --- +================================================================================================================ ================================+ 20250115-145350 DBG 2116: --- | ===> A lot of sensitive information is masqueraded in this log file. Nevertheless please check the log carefull y before you distribute it <=== | 20250115-145350 DBG 2117: --- +================================================================================================================ ================================+ 20250115-145350 DBG 1943: --> trapWithArg cleanupStartup SIGINT SIGTERM EXIT 20250115-145350 DBG 1948: <-- trapWithArg 20250115-145350 DBG 3813: --> readConfigParameters 20250115-145350 DBG 3511: --> extractVersionFromFile /usr/local/etc/raspiBackup.conf VERSION_.*CONF.* 20250115-145350 DBG 3515: <-- extractVersionFromFile 0.1.8 20250115-145350 DBG 3840: --- Read config /usr/local/etc/raspiBackup.conf : 0.1.8 20250115-145350 DBG 3840: --- VERSION_CONFIG="0.1.8" 20250115-145350 DBG 3840: --- DEFAULT_BACKUPPATH="/backup" 20250115-145350 DBG 3840: --- DEFAULT_BACKUPTYPE="rsync" 20250115-145350 DBG 3840: --- DEFAULT_ZIP_BACKUP="0" 20250115-145350 DBG 3840: --- DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS="10" 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS_DD=0 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS_DDZ=0 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS_TAR=0 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS_TGZ=0 20250115-145350 DBG 3840: --- DEFAULT_KEEPBACKUPS_RSYNC=0 20250115-145350 DBG 3840: --- DEFAULT_SMART_RECYCLE="0" 20250115-145350 DBG 3840: --- DEFAULT_SMART_RECYCLE_DRYRUN="1" 20250115-145350 DBG 3840: --- DEFAULT_SMART_RECYCLE_OPTIONS="7 4 12 1" 20250115-145350 DBG 3840: --- DEFAULT_STOPSERVICES=":" 20250115-145350 DBG 3840: --- DEFAULT_STARTSERVICES=":" 20250115-145350 DBG 3840: --- DEFAULT_BEFORE_STOPSERVICES="" 20250115-145350 DBG 3840: --- DEFAULT_AFTER_STARTSERVICES="" 20250115-145350 DBG 3840: --- DEFAULT_EMAIL="" 20250115-145350 DBG 3840: --- DEFAULT_SENDER_EMAIL="" 20250115-145350 DBG 3840: --- DEFAULT_EMAIL_PARMS="" 20250115-145350 DBG 3840: --- DEFAULT_MAIL_PROGRAM="mail" 20250115-145350 DBG 3840: --- DEFAULT_TELEGRAM_TOKEN="" 20250115-145350 DBG 3840: --- DEFAULT_TELEGRAM_CHATID="" 20250115-145350 DBG 3840: --- DEFAULT_TELEGRAM_NOTIFICATIONS="F" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_ADDITIONAL_OPTIONS="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_DEVICE="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_TOKEN="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_USER="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_NOTIFICATIONS="F" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_SOUND_SUCCESS="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_SOUND_FAILURE="" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_PRIORITY_SUCCESS="0" 20250115-145350 DBG 3840: --- DEFAULT_PUSHOVER_PRIORITY_FAILURE="1" 20250115-145350 DBG 3840: --- DEFAULT_SLACK_WEBHOOK_URL="" 20250115-145350 DBG 3840: --- DEFAULT_SLACK_NOTIFICATIONS="" 20250115-145350 DBG 3840: --- DEFAULT_NOTIFY_START=0 20250115-145350 DBG 3840: --- DEFAULT_MAIL_ON_ERROR_ONLY=0 20250115-145350 DBG 3840: --- DEFAULT_MSG_LEVEL="0" 20250115-145350 DBG 3840: --- DEFAULT_COLORING="CM" 20250115-145350 DBG 3840: --- DEFAULT_EMAIL_COLORING="SUBJECT" 20250115-145350 DBG 3840: --- DEFAULT_COLOR_CODES=("#FF8000 33" "#FF0000 31") 20250115-145350 DBG 3840: --- DEFAULT_RESTORE_DEVICE="" 20250115-145350 DBG 3840: --- DEFAULT_VERBOSE=0 20250115-145350 DBG 3840: --- DEFAULT_SKIPLOCALCHECK=0 20250115-145350 DBG 3840: --- DEFAULT_DD_BLOCKSIZE=1M 20250115-145350 DBG 3840: --- DEFAULT_DD_PARMS="" 20250115-145350 DBG 3840: --- DEFAULT_EXCLUDE_LIST="" 20250115-145350 DBG 3840: --- DEFAULT_EXTENSIONS="mem temp disk" 20250115-145350 DBG 3840: --- DEFAULT_RESTORE_EXTENSIONS="" 20250115-145350 DBG 3840: --- DEFAULT_LANGUAGE="DE" 20250115-145350 DBG 3840: --- DEFAULT_DEPLOYMENT_HOSTS="" 20250115-145350 DBG 3840: --- DEFAULT_RESIZE_ROOTFS=1 20250115-145350 DBG 3840: --- DEFAULT_LINK_BOOTPARTITIONFILES=0 20250115-145350 DBG 3840: --- DEFAULT_TAR_BOOT_PARTITION_ENABLED=0 20250115-145350 DBG 3840: --- DEFAULT_SKIP_DEPRECATED="" 20250115-145350 DBG 3840: --- DEFAULT_CHECK_FOR_BAD_BLOCKS=0 20250115-145350 DBG 3840: --- DEFAULT_TIMESTAMPS=0 20250115-145350 DBG 3840: --- DEFAULT_SYSTEMSTATUS=0 20250115-145350 DBG 3840: --- DEFAULT_REBOOT_SYSTEM=0 20250115-145350 DBG 3840: --- DEFAULT_RESTORE_REMINDER_INTERVAL=6 20250115-145350 DBG 3840: --- DEFAULT_RESTORE_REMINDER_REPEAT=3 20250115-145350 DBG 3840: --- DEFAULT_OLD_REMINDER_REPEAT="5" 20250115-145350 DBG 3840: --- DEFAULT_PARTITIONBASED_BACKUP="1" 20250115-145350 DBG 3840: --- DEFAULT_PARTITIONS_TO_BACKUP="1 2" 20250115-145350 DBG 3840: --- DEFAULT_PARTITIONS_TO_RESTORE="1 2" 20250115-145350 DBG 3840: --- DEFAULT_DYNAMIC_MOUNT="" 20250115-145350 DBG 3870: <-- readConfigParameters 20250115-145350 DBG 2660: --> logOptions Standard option files 20250115-145350 DBG 2662: --- Options: 20250115-145350 DBG 2663: --- AFTER_STARTSERVICES= 20250115-145350 DBG 2664: --- APPEND_LOG=0 20250115-145350 DBG 2665: --- APPEND_LOG_OPTION=-a 20250115-145350 DBG 2666: --- BACKUPPATH=/backup 20250115-145350 DBG 2667: --- BACKUPTYPE=rsync 20250115-145350 DBG 2668: --- BEFORE_STOPSERVICES= 20250115-145350 DBG 2669: --- BOOT_DEVICE= 20250115-145350 DBG 2670: --- CHECK_FOR_BAD_BLOCKS=0 20250115-145350 DBG 2671: --- COLOR_CODES=#FF8000 33 #FF0000 31 20250115-145350 DBG 2672: --- COLORING=CM 20250115-145350 DBG 2673: --- CONFIG_FILE= 20250115-145350 DBG 2674: --- DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0 20250115-145350 DBG 2675: --- DD_BLOCKSIZE=1M 20250115-145350 DBG 2676: --- DD_PARMS= 20250115-145350 DBG 2677: --- DD_WARNING=0 20250115-145350 DBG 2678: --- DEPLOYMENT_HOSTS= 20250115-145350 DBG 2679: --- DYNAMIC_MOUNT= 20250115-145350 DBG 2680: --- EMAIL= 20250115-145350 DBG 2681: --- EMAIL_COLORING=SUBJECT 20250115-145350 DBG 2682: --- EMAIL_PARMS= 20250115-145350 DBG 2683: --- EXCLUDE_LIST= 20250115-145350 DBG 2684: --- EXTENSIONS=mem temp disk 20250115-145350 DBG 2685: --- FAKE=0 20250115-145350 DBG 2686: --- FINAL_COMMAND= 20250115-145350 DBG 2687: --- HANDLE_DEPRECATED= 20250115-145350 DBG 2688: --- IGNORE_ADDITIONAL_PARTITIONS=0 20250115-145350 DBG 2689: --- KEEPBACKUPS=10 20250115-145350 DBG 2690: --- KEEPBACKUPS_DD=0 20250115-145350 DBG 2691: --- KEEPBACKUPS_DDZ=0 20250115-145350 DBG 2692: --- KEEPBACKUPS_TAR=0 20250115-145350 DBG 2693: --- KEEPBACKUPS_TGZ=0 20250115-145350 DBG 2694: --- KEEPBACKUPS_RSYNC=0 20250115-145350 DBG 2695: --- LANGUAGE=EN 20250115-145350 DBG 2696: --- LINK_BOOTPARTITIONFILES=0 20250115-145350 DBG 2697: --- LOG_LEVEL=1 20250115-145350 DBG 2698: --- LOG_OUTPUT=2 20250115-145350 DBG 2699: --- MAIL_ON_ERROR_ONLY=0 20250115-145350 DBG 2700: --- MAIL_PROGRAM=mail 20250115-145350 DBG 2701: --- MSG_LEVEL=0 20250115-145350 DBG 2702: --- NOTIFY_START=0 20250115-145350 DBG 2703: --- NOTIFY_UPDATE=1 20250115-145350 DBG 2704: --- PARTITIONBASED_BACKUP=1 20250115-145350 DBG 2705: --- PARTITIONS_TO_BACKUP=1 2 20250115-145350 DBG 2706: --- PUSHOVER_TOKEN= 20250115-145350 DBG 2707: --- PUSHOVER_USER= 20250115-145350 DBG 2708: --- PUSHOVER_NOTIFICATIONS=F 20250115-145350 DBG 2709: --- PUSHOVER_SOUND_SUCCESS= 20250115-145350 DBG 2710: --- PUSHOVER_SOUND_FAILURE= 20250115-145350 DBG 2711: --- PUSHOVER_PRIORITY_SUCCESS=0 20250115-145350 DBG 2712: --- PUSHOVER_PRIORITY_FAILURE=1 20250115-145350 DBG 2713: --- REBOOT_SYSTEM=0 20250115-145350 DBG 2714: --- RESIZE_ROOTFS=1 20250115-145350 DBG 2715: --- RESTORE_DEVICE= 20250115-145350 DBG 2716: --- RESTORE_EXTENSIONS= 20250115-145350 DBG 2717: --- ROOT_PARTITION= 20250115-145350 DBG 2718: --- RSYNC_BACKUP_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2719: --- RSYNC_BACKUP_OPTIONS=-aHAx --delete 20250115-145350 DBG 2720: --- RSYNC_IGNORE_ERRORS= 20250115-145350 DBG 2721: --- SENDER_EMAIL= 20250115-145350 DBG 2722: --- SKIP_DEPRECATED= 20250115-145350 DBG 2723: --- SKIPLOCALCHECK=0 20250115-145350 DBG 2724: --- SLACK_WEBHOOK_URL= 20250115-145350 DBG 2725: --- SLACK_NOTIFICATIONS= 20250115-145350 DBG 2726: --- SMART_RECYCLE=0 20250115-145350 DBG 2727: --- SMART_RECYCLE_DRYRUN=1 20250115-145350 DBG 2728: --- SMART_RECYCLE_OPTIONS=7 4 12 1 20250115-145350 DBG 2729: --- STARTSERVICES=: 20250115-145350 DBG 2730: --- STOPSERVICES=: 20250115-145350 DBG 2731: --- SYSTEMSTATUS=0 20250115-145350 DBG 2732: --- TAR_BACKUP_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2733: --- TAR_BACKUP_OPTIONS=-cpi --one-file-system 20250115-145350 DBG 2734: --- TAR_BOOT_PARTITION_ENABLED=0 20250115-145350 DBG 2735: --- TAR_IGNORE_ERRORS= 20250115-145350 DBG 2736: --- TAR_RESTORE_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2737: --- TELEGRAM_TOKEN= 20250115-145350 DBG 2738: --- TELEGRAM_CHATID= 20250115-145350 DBG 2739: --- TELEGRAM_NOTIFICATIONS=F 20250115-145350 DBG 2740: --- TIMESTAMPS=0 20250115-145350 DBG 2741: --- UPDATE_UUIDS=1 20250115-145350 DBG 2742: --- VERBOSE=0 20250115-145350 DBG 2743: --- YES_NO_RESTORE_DEVICE=loop 20250115-145350 DBG 2744: --- ZIP_BACKUP=0 20250115-145350 DBG 2746: <-- logOptions 20250115-145350 DBG 2388: --> isSupportedEnvironment 20250115-145350 DBG 2405: --- PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs .debian.org/" 20250115-145350 DBG 2410: --- IS_UBUNTU: 0 20250115-145350 DBG 2418: --- Modelpath: Raspberry Pi 5 Model B Rev 1.0 20250115-145350 DBG 2423: --- /etc/rpi-issue: Raspberry Pi reference 2024-11-19 20250115-145350 DBG 2423: --- Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 891df1e21ed2b6099a2e6a13e26c91dea44b34d4, stage 4 20250115-145350 DBG 2424: <-- isSupportedEnvironment 0 20250115-145350 DBG 8738: --> check4RequiredCommands 20250115-145350 DBG 8759: <-- check4RequiredCommands 20250115-145350 DBG 9570: --- RESTORE: 0 - fileParameter: 20250115-145350 DBG 9591: --- Enabling trap handler 20250115-145350 DBG 1943: --> trapWithArg cleanup SIGINT SIGTERM EXIT 20250115-145350 DBG 1948: <-- trapWithArg 20250115-145350 DBG 4754: --> lockMe 20250115-145350 DBG 4756: <-- lockMe --- RBK0009I: @HOSTNAME@: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Wed 15 Jan 14:53:50 CET 2025 gestartet. 20250115-145350 DBG 3875: --> setupEnvironment 20250115-145350 DBG 3935: --- BACKUPTARGET_DIR: /backup/@HOSTNAME@/@HOSTNAME@-rsync-backup-20250115-145350 20250115-145350 DBG 3936: --- BACKUPTARGET_FILE: /backup/@HOSTNAME@/@HOSTNAME@-rsync-backup-20250115-145350/@HOSTNAME@-rsync-backup-2025011 5-145350 20250115-145350 DBG 3938: <-- setupEnvironment 20250115-145350 DBG 9628: --- Read config /usr/local/etc/raspiBackup.conf : 0.1.8 20250115-145350 DBG 9628: --- VERSION_CONFIG="0.1.8" 20250115-145350 DBG 9628: --- DEFAULT_BACKUPPATH="/backup" 20250115-145350 DBG 9628: --- DEFAULT_BACKUPTYPE="rsync" 20250115-145350 DBG 9628: --- DEFAULT_ZIP_BACKUP="0" 20250115-145350 DBG 9628: --- DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS="10" 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS_DD=0 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS_DDZ=0 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS_TAR=0 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS_TGZ=0 20250115-145350 DBG 9628: --- DEFAULT_KEEPBACKUPS_RSYNC=0 20250115-145350 DBG 9628: --- DEFAULT_SMART_RECYCLE="0" 20250115-145350 DBG 9628: --- DEFAULT_SMART_RECYCLE_DRYRUN="1" 20250115-145350 DBG 9628: --- DEFAULT_SMART_RECYCLE_OPTIONS="7 4 12 1" 20250115-145350 DBG 9628: --- DEFAULT_STOPSERVICES=":" 20250115-145350 DBG 9628: --- DEFAULT_STARTSERVICES=":" 20250115-145350 DBG 9628: --- DEFAULT_BEFORE_STOPSERVICES="" 20250115-145350 DBG 9628: --- DEFAULT_AFTER_STARTSERVICES="" 20250115-145350 DBG 9628: --- DEFAULT_EMAIL="" 20250115-145350 DBG 9628: --- DEFAULT_SENDER_EMAIL="" 20250115-145350 DBG 9628: --- DEFAULT_EMAIL_PARMS="" 20250115-145350 DBG 9628: --- DEFAULT_MAIL_PROGRAM="mail" 20250115-145350 DBG 9628: --- DEFAULT_TELEGRAM_TOKEN="" 20250115-145350 DBG 9628: --- DEFAULT_TELEGRAM_CHATID="" 20250115-145350 DBG 9628: --- DEFAULT_TELEGRAM_NOTIFICATIONS="F" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_ADDITIONAL_OPTIONS="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_DEVICE="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_TOKEN="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_USER="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_NOTIFICATIONS="F" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_SOUND_SUCCESS="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_SOUND_FAILURE="" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_PRIORITY_SUCCESS="0" 20250115-145350 DBG 9628: --- DEFAULT_PUSHOVER_PRIORITY_FAILURE="1" 20250115-145350 DBG 9628: --- DEFAULT_SLACK_WEBHOOK_URL="" 20250115-145350 DBG 9628: --- DEFAULT_SLACK_NOTIFICATIONS="" 20250115-145350 DBG 9628: --- DEFAULT_NOTIFY_START=0 20250115-145350 DBG 9628: --- DEFAULT_MAIL_ON_ERROR_ONLY=0 20250115-145350 DBG 9628: --- DEFAULT_MSG_LEVEL="0" 20250115-145350 DBG 9628: --- DEFAULT_COLORING="CM" 20250115-145350 DBG 9628: --- DEFAULT_EMAIL_COLORING="SUBJECT" 20250115-145350 DBG 9628: --- DEFAULT_COLOR_CODES=("#FF8000 33" "#FF0000 31") 20250115-145350 DBG 9628: --- DEFAULT_RESTORE_DEVICE="" 20250115-145350 DBG 9628: --- DEFAULT_VERBOSE=0 20250115-145350 DBG 9628: --- DEFAULT_SKIPLOCALCHECK=0 20250115-145350 DBG 9628: --- DEFAULT_DD_BLOCKSIZE=1M 20250115-145350 DBG 9628: --- DEFAULT_DD_PARMS="" 20250115-145350 DBG 9628: --- DEFAULT_EXCLUDE_LIST="" 20250115-145350 DBG 9628: --- DEFAULT_EXTENSIONS="mem temp disk" 20250115-145350 DBG 9628: --- DEFAULT_RESTORE_EXTENSIONS="" 20250115-145350 DBG 9628: --- DEFAULT_LANGUAGE="DE" 20250115-145350 DBG 9628: --- DEFAULT_DEPLOYMENT_HOSTS="" 20250115-145350 DBG 9628: --- DEFAULT_RESIZE_ROOTFS=1 20250115-145350 DBG 9628: --- DEFAULT_LINK_BOOTPARTITIONFILES=0 20250115-145350 DBG 9628: --- DEFAULT_TAR_BOOT_PARTITION_ENABLED=0 20250115-145350 DBG 9628: --- DEFAULT_SKIP_DEPRECATED="" 20250115-145350 DBG 9628: --- DEFAULT_CHECK_FOR_BAD_BLOCKS=0 20250115-145350 DBG 9628: --- DEFAULT_TIMESTAMPS=0 20250115-145350 DBG 9628: --- DEFAULT_SYSTEMSTATUS=0 20250115-145350 DBG 9628: --- DEFAULT_REBOOT_SYSTEM=0 20250115-145350 DBG 9628: --- DEFAULT_RESTORE_REMINDER_INTERVAL=6 20250115-145350 DBG 9628: --- DEFAULT_RESTORE_REMINDER_REPEAT=3 20250115-145350 DBG 9628: --- DEFAULT_OLD_REMINDER_REPEAT="5" 20250115-145350 DBG 9628: --- DEFAULT_PARTITIONBASED_BACKUP="1" 20250115-145350 DBG 9628: --- DEFAULT_PARTITIONS_TO_BACKUP="1 2" 20250115-145350 DBG 9628: --- DEFAULT_PARTITIONS_TO_RESTORE="1 2" 20250115-145350 DBG 9628: --- DEFAULT_DYNAMIC_MOUNT="" 20250115-145350 DBG 2660: --> logOptions Invocation options 20250115-145350 DBG 2662: --- Options: 20250115-145350 DBG 2663: --- AFTER_STARTSERVICES= 20250115-145350 DBG 2664: --- APPEND_LOG=0 20250115-145350 DBG 2665: --- APPEND_LOG_OPTION=-a 20250115-145350 DBG 2666: --- BACKUPPATH=/backup 20250115-145350 DBG 2667: --- BACKUPTYPE=rsync 20250115-145350 DBG 2668: --- BEFORE_STOPSERVICES= 20250115-145350 DBG 2669: --- BOOT_DEVICE= 20250115-145350 DBG 2670: --- CHECK_FOR_BAD_BLOCKS=0 20250115-145350 DBG 2671: --- COLOR_CODES=#FF8000 33 #FF0000 31 20250115-145350 DBG 2672: --- COLORING=CM 20250115-145350 DBG 2673: --- CONFIG_FILE= 20250115-145350 DBG 2674: --- DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=0 20250115-145350 DBG 2675: --- DD_BLOCKSIZE=1M 20250115-145350 DBG 2676: --- DD_PARMS= 20250115-145350 DBG 2677: --- DD_WARNING=0 20250115-145350 DBG 2678: --- DEPLOYMENT_HOSTS= 20250115-145350 DBG 2679: --- DYNAMIC_MOUNT= 20250115-145350 DBG 2680: --- EMAIL= 20250115-145350 DBG 2681: --- EMAIL_COLORING=SUBJECT 20250115-145350 DBG 2682: --- EMAIL_PARMS= 20250115-145350 DBG 2683: --- EXCLUDE_LIST= 20250115-145350 DBG 2684: --- EXTENSIONS=mem temp disk 20250115-145350 DBG 2685: --- FAKE=0 20250115-145350 DBG 2686: --- FINAL_COMMAND= 20250115-145350 DBG 2687: --- HANDLE_DEPRECATED= 20250115-145350 DBG 2688: --- IGNORE_ADDITIONAL_PARTITIONS=0 20250115-145350 DBG 2689: --- KEEPBACKUPS=10 20250115-145350 DBG 2690: --- KEEPBACKUPS_DD=0 20250115-145350 DBG 2691: --- KEEPBACKUPS_DDZ=0 20250115-145350 DBG 2692: --- KEEPBACKUPS_TAR=0 20250115-145350 DBG 2693: --- KEEPBACKUPS_TGZ=0 20250115-145350 DBG 2694: --- KEEPBACKUPS_RSYNC=0 20250115-145350 DBG 2695: --- LANGUAGE=DE 20250115-145350 DBG 2696: --- LINK_BOOTPARTITIONFILES=0 20250115-145350 DBG 2697: --- LOG_LEVEL=1 20250115-145350 DBG 2698: --- LOG_OUTPUT=2 20250115-145350 DBG 2699: --- MAIL_ON_ERROR_ONLY=0 20250115-145350 DBG 2700: --- MAIL_PROGRAM=mail 20250115-145350 DBG 2701: --- MSG_LEVEL=0 20250115-145350 DBG 2702: --- NOTIFY_START=0 20250115-145350 DBG 2703: --- NOTIFY_UPDATE=1 20250115-145350 DBG 2704: --- PARTITIONBASED_BACKUP=1 20250115-145350 DBG 2705: --- PARTITIONS_TO_BACKUP=1 2 20250115-145350 DBG 2706: --- PUSHOVER_TOKEN= 20250115-145350 DBG 2707: --- PUSHOVER_USER= 20250115-145350 DBG 2708: --- PUSHOVER_NOTIFICATIONS=F 20250115-145350 DBG 2709: --- PUSHOVER_SOUND_SUCCESS= 20250115-145350 DBG 2710: --- PUSHOVER_SOUND_FAILURE= 20250115-145350 DBG 2711: --- PUSHOVER_PRIORITY_SUCCESS=0 20250115-145350 DBG 2712: --- PUSHOVER_PRIORITY_FAILURE=1 20250115-145350 DBG 2713: --- REBOOT_SYSTEM=0 20250115-145350 DBG 2714: --- RESIZE_ROOTFS=1 20250115-145350 DBG 2715: --- RESTORE_DEVICE= 20250115-145350 DBG 2716: --- RESTORE_EXTENSIONS= 20250115-145350 DBG 2717: --- ROOT_PARTITION= 20250115-145350 DBG 2718: --- RSYNC_BACKUP_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2719: --- RSYNC_BACKUP_OPTIONS=-aHAx --delete 20250115-145350 DBG 2720: --- RSYNC_IGNORE_ERRORS= 20250115-145350 DBG 2721: --- SENDER_EMAIL= 20250115-145350 DBG 2722: --- SKIP_DEPRECATED= 20250115-145350 DBG 2723: --- SKIPLOCALCHECK=0 20250115-145350 DBG 2724: --- SLACK_WEBHOOK_URL= 20250115-145350 DBG 2725: --- SLACK_NOTIFICATIONS= 20250115-145350 DBG 2726: --- SMART_RECYCLE=0 20250115-145350 DBG 2727: --- SMART_RECYCLE_DRYRUN=1 20250115-145350 DBG 2728: --- SMART_RECYCLE_OPTIONS=7 4 12 1 20250115-145350 DBG 2729: --- STARTSERVICES=: 20250115-145350 DBG 2730: --- STOPSERVICES=: 20250115-145350 DBG 2731: --- SYSTEMSTATUS=0 20250115-145350 DBG 2732: --- TAR_BACKUP_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2733: --- TAR_BACKUP_OPTIONS=-cpi --one-file-system 20250115-145350 DBG 2734: --- TAR_BOOT_PARTITION_ENABLED=0 20250115-145350 DBG 2735: --- TAR_IGNORE_ERRORS= 20250115-145350 DBG 2736: --- TAR_RESTORE_ADDITIONAL_OPTIONS= 20250115-145350 DBG 2737: --- TELEGRAM_TOKEN= 20250115-145350 DBG 2738: --- TELEGRAM_CHATID= 20250115-145350 DBG 2739: --- TELEGRAM_NOTIFICATIONS=F 20250115-145350 DBG 2740: --- TIMESTAMPS=0 20250115-145350 DBG 2741: --- UPDATE_UUIDS=1 20250115-145350 DBG 2742: --- VERBOSE=0 20250115-145350 DBG 2743: --- YES_NO_RESTORE_DEVICE=loop 20250115-145350 DBG 2744: --- ZIP_BACKUP=0 20250115-145350 DBG 2746: <-- logOptions 20250115-145350 DBG 2033: --> logSystem 20250115-145350 DBG 2034: *** uname -a 20250115-145350 DBG 2034: Linux @HOSTNAME@ 6.6.62+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux 20250115-145350 DBG 2035: *** cat /etc/os-release 20250115-145350 DBG 2035: PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" 20250115-145350 DBG 2035: NAME="Debian GNU/Linux" 20250115-145350 DBG 2035: VERSION_ID="12" 20250115-145350 DBG 2035: VERSION="12 (bookworm)" 20250115-145350 DBG 2035: VERSION_CODENAME=bookworm 20250115-145350 DBG 2035: ID=debian 20250115-145350 DBG 2035: HOME_URL="https://www.debian.org/" 20250115-145350 DBG 2035: SUPPORT_URL="https://www.debian.org/support" 20250115-145350 DBG 2035: BUG_REPORT_URL="https://bugs.debian.org/" 20250115-145350 DBG 2036: *** cat /etc/debian_version 20250115-145350 DBG 2036: 12.9 20250115-145350 DBG 2037: *** cat /etc/fstab 20250115-145350 DBG 2037: proc /proc proc defaults 0 0 20250115-145350 DBG 2037: PARTUUID=3ee3f3c5-01 /boot/firmware vfat defaults 0 2 20250115-145350 DBG 2037: PARTUUID=3ee3f3c5-02 / ext4 defaults,noatime 0 1 20250115-145350 DBG 2037: 20250115-145350 DBG 2037: # pount point for QNAP NAS used in rsync backup. 20250115-145350 DBG 2037: # inserted by nt Jan 15, 2025 20250115-145350 DBG 2037: 192.168.1.12:/share/backup_@HOSTNAME@ /backup nfs rw 0 0 20250115-145350 DBG 2037: 20250115-145350 DBG 2037: 20250115-145350 DBG 2037: # a swapfile is not a swap partition, no line here 20250115-145350 DBG 2037: # use dphys-swapfile swap[on|off] for that 20250115-145350 DBG 2038: *** locale 20250115-145350 DBG 2038: LANG=en_GB.UTF-8 20250115-145350 DBG 2038: LANGUAGE= 20250115-145350 DBG 2038: LC_CTYPE="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_NUMERIC="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_TIME="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_COLLATE="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_MONETARY="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_MESSAGES="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_PAPER="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_NAME="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_ADDRESS="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_TELEPHONE="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_MEASUREMENT="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_IDENTIFICATION="en_GB.UTF-8" 20250115-145350 DBG 2038: LC_ALL= 20250115-145350 DBG 2039: <-- logSystem 20250115-145350 DBG 3134: --> downloadPropertiesFile 20250115-145350 DBG 3226: --> shouldRenewDownloadPropertiesFile 20250115-145350 DBG 3240: --- 20250115 : 20250115 20250115-145350 DBG 3243: --- Skip download 20250115-145350 DBG 3249: <-- shouldRenewDownloadPropertiesFile 1 20250115-145350 DBG 3171: <-- downloadPropertiesFile 0 20250115-145350 DBG 8125: --> updateRestoreReminder 20250115-145350 DBG 8173: <-- updateRestoreReminder 20250115-145350 DBG 6876: --> reportNews 20250115-145350 DBG 3113: --> isUpdatePossible 20250115-145350 DBG 3354: --> isNewVersionAvailable 20250115-145350 DBG 3368: --- Versionsplit: 0.6.9.1 - 20250115-145350 DBG 3397: --- Returning: 0.0 0.0 0.6.9.1 20250115-145350 DBG 3399: <-- isNewVersionAvailable 99 20250115-145350 DBG 3128: <-- isUpdatePossible 20250115-145350 DBG 5021: --> isBetaAvailable 20250115-145350 DBG 5031: <-- isBetaAvailable 20250115-145350 DBG 6893: <-- reportNews 20250115-145350 DBG 3204: --> isVersionDeprecated 20250115-145350 DBG 3220: <-- isVersionDeprecated 1 20250115-145350 DBG 6385: --> doit 20250115-145350 DBG 6388: --- Startingdirectory: /backup 20250115-145350 DBG 6389: *** fdisk -l | grep -v ^ 20250115-145350 DBG 6389: fdisk from util-linux 2.38.1 20250115-145350 DBG 6390: *** mount 20250115-145350 DBG 6390: sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: proc on /proc type proc (rw,relatime) 20250115-145350 DBG 6390: udev on /dev type devtmpfs (rw,nosuid,relatime,size=4080976k,nr_inodes=255061,mode=755) 20250115-145350 DBG 6390: devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) 20250115-145350 DBG 6390: tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=824560k,mode=755) 20250115-145350 DBG 6390: /dev/mmcblk0p2 on / type ext4 (rw,noatime) 20250115-145350 DBG 6390: securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) 20250115-145350 DBG 6390: tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) 20250115-145350 DBG 6390: cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot) 20250115-145350 DBG 6390: pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) 20250115-145350 DBG 6390: systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto =5,direct,pipe_ino=4595) 20250115-145350 DBG 6390: mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) 20250115-145350 DBG 6390: ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700) 20250115-145350 DBG 6390: ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime, mode=700) 20250115-145350 DBG 6390: /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=asci i,shortname=mixed,errors=remount-ro) 20250115-145350 DBG 6390: ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode =700) 20250115-145350 DBG 6390: binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) 20250115-145350 DBG 6390: sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) 20250115-145350 DBG 6390: 192.168.1.12:/share/backup_@HOSTNAME@ on /backup type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576 ,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=32777,mountproto=udp,local_lock=none,addr=19 2.168.1.12) 20250115-145350 DBG 6390: tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=824544k,nr_inodes=206136,mode=700,uid=1 000,gid=1000) 20250115-145350 DBG 6390: gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=10 00) 20250115-145350 DBG 6390: portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) 20250115-145350 DBG 2379: --> isUnsupportedVersion 20250115-145350 DBG 2382: <-- isUnsupportedVersion 1 20250115-145350 DBG 6899: --> doitBackup 1 20250115-145350 DBG 6650: --> getRootPartition 20250115-145350 DBG 6655: *** cat /proc/cmdline 20250115-145351 DBG 6655: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=int erleave smsc95xx.macaddr=2C:CF:67:56:DA:B9 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PAR TUUID=3ee3f3c5-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE 20250115-145351 DBG 6658: --- RootPartition: PARTUUID=3ee3f3c5-02 20250115-145351 DBG 6662: <-- getRootPartition PARTUUID=3ee3f3c5-02 20250115-145351 DBG 6687: --> inspect4Backup 20250115-145351 DBG 6689: *** ls -1 /dev/mmcblk* 20250115-145351 DBG 6689: /dev/mmcblk0 20250115-145351 DBG 6689: /dev/mmcblk0p1 20250115-145351 DBG 6689: /dev/mmcblk0p2 20250115-145351 DBG 6690: *** ls -1 /dev/sd* 20250115-145351 DBG 6690: ls: cannot access '/dev/sd*': No such file or directory 20250115-145351 DBG 6691: *** ls -1 /dev/nvme* 20250115-145351 DBG 6691: ls: cannot access '/dev/nvme*': No such file or directory 20250115-145351 DBG 6712: --- Starting boot discovery 20250115-145351 DBG 6717: --- bootMountpoint1: /boot mounted? 20250115-145351 DBG 6722: --- bootMountpoint2: /boot/firmware mounted? /dev/mmcblk0p1 20250115-145351 DBG 6732: --- bootMountpoint: /boot/firmware, bootPartition: /dev/mmcblk0p1 20250115-145351 DBG 6734: --- Starting root discovery 20250115-145351 DBG 6738: --- rootPartition: / mounted? /dev/mmcblk0p2 20250115-145351 DBG 6674: --> deviceInfo /dev/mmcblk0p1 20250115-145351 DBG 6682: <-- deviceInfo mmcblk0 1 20250115-145351 DBG 6674: --> deviceInfo /dev/mmcblk0p2 20250115-145351 DBG 6682: <-- deviceInfo mmcblk0 2 20250115-145351 DBG 6759: --- boot: mmcblk0 1 20250115-145351 DBG 6760: --- root: mmcblk0 2 20250115-145351 DBG 6780: --- BOOT_DEVICE: mmcblk0 20250115-145351 DBG 6784: --- BOOT_DEVICENAME: /dev/mmcblk0 20250115-145351 DBG 3019: --> getPartitionPrefix mmcblk0 20250115-145351 DBG 3028: <-- getPartitionPrefix mmcblk0p 20250115-145351 DBG 6788: --- BOOT_PARTITION_PREFIX: mmcblk0p 20250115-145351 DBG 6791: <-- inspect4Backup 20250115-145351 DBG 6614: --> commonChecks 20250115-145351 DBG 6644: <-- commonChecks 20250115-145351 DBG 3747: --> getFsType /backup 20250115-145351 DBG 3790: --> findMountPath /backup 20250115-145351 DBG 3798: --- Path: /backup 20250115-145351 DBG 3806: <-- findMountPath /backup 20250115-145351 DBG 3750: --- Mountpoint: /backup 20250115-145351 DBG 3753: --- df -T: nfs 20250115-145351 DBG 3756: <-- getFsType nfs 20250115-145351 DBG 6935: --- Found partitions on /dev/mmcblk0: 2 20250115-145351 DBG 3685: --> supportsHardlinks /backup 20250115-145351 DBG 3698: --- Links: 2 20250115-145351 DBG 3708: <-- supportsHardlinks 0 20250115-145351 DBG 3747: --> getFsType /backup 20250115-145351 DBG 3790: --> findMountPath /backup 20250115-145351 DBG 3798: --- Path: /backup 20250115-145351 DBG 3806: <-- findMountPath /backup 20250115-145351 DBG 3750: --- Mountpoint: /backup 20250115-145351 DBG 3753: --- df -T: nfs 20250115-145351 DBG 3756: <-- getFsType nfs 20250115-145351 DBG 7060: --- Filesystem: nfs 20250115-145351 DBG 3629: --> supportsFileAttributes /backup 20250115-145351 DBG 3646: --- ----r-xrwx # nobody # nogroup cp: failed to preserve ownership for '//backup/raspiBackup.fileattributes': Operation not permitted 20250115-145351 DBG 3654: --- cp failed with rc 1 - retryCount cp: cannot create regular file '//backup/raspiBackup.fileattributes': Permission denied 20250115-145354 DBG 3654: --- cp failed with rc 1 - retryCount cp: cannot create regular file '//backup/raspiBackup.fileattributes': Permission denied 20250115-145357 DBG 3654: --- cp failed with rc 1 - retryCount cp: cannot create regular file '//backup/raspiBackup.fileattributes': Permission denied 20250115-145400 DBG 3654: --- cp failed with rc 1 - retryCount 20250115-145403 DBG 3676: <-- supportsFileAttributes 1 20250115-145403 DBG 3790: --> findMountPath /backup 20250115-145403 DBG 3798: --- Path: /backup 20250115-145403 DBG 3806: <-- findMountPath /backup ??? RBK0266E: Es fehlt die Berechtigung um Linux Dateiattribute auf /backup zu erstellen (Dateisystem: nfs). 20250115-145403 DBG 2529: --> exitError 102 20250115-145403 DBG 2536: <-- exitError 102 20250115-145403 DBG 4767: --> cleanup --- RBK0033I: Bitte warten bis aufgeräumt wurde. 20250115-145403 DBG 5037: --> cleanupBackup 20250115-145403 DBG 5039: --- Got trap EXIT 20250115-145403 DBG 5040: --- rc: 102 20250115-145403 DBG 6299: --> umountSDPartitions 20250115-145403 DBG 6301: --- BEFORE: mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- proc on /proc type proc (rw,relatime) 20250115-145403 DBG 6301: --- udev on /dev type devtmpfs (rw,nosuid,relatime,size=4080976k,nr_inodes=255061,mode=755) 20250115-145403 DBG 6301: --- devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) 20250115-145403 DBG 6301: --- tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=824560k,mode=755) 20250115-145403 DBG 6301: --- /dev/mmcblk0p2 on / type ext4 (rw,noatime) 20250115-145403 DBG 6301: --- securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) 20250115-145403 DBG 6301: --- tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) 20250115-145403 DBG 6301: --- cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_rec ursiveprot) 20250115-145403 DBG 6301: --- pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) 20250115-145403 DBG 6301: --- systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minprot o=5,maxproto=5,direct,pipe_ino=4595) 20250115-145403 DBG 6301: --- mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime, mode=700) 20250115-145403 DBG 6301: --- ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatim e,mode=700) 20250115-145403 DBG 6301: --- ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noex ec,relatime,mode=700) 20250115-145403 DBG 6301: --- /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,io charset=ascii,shortname=mixed,errors=remount-ro) 20250115-145403 DBG 6301: --- ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,r elatime,mode=700) 20250115-145403 DBG 6301: --- binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6301: --- sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) 20250115-145403 DBG 6301: --- 192.168.1.12:/share/backup_@HOSTNAME@ on /backup type nfs (rw,relatime,vers=3,rsize=1048576,w size=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=32777,mountproto=udp,local_lock= none,addr=192.168.1.12) 20250115-145403 DBG 6301: --- tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=824544k,nr_inodes=206136,mo de=700,uid=1000,gid=1000) 20250115-145403 DBG 6301: --- gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000 ,group_id=1000) 20250115-145403 DBG 6301: --- portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id =1000) 20250115-145403 DBG 3733: --> isMounted /tmp/mmcblk0p1 2 20250115-145403 DBG 3741: <-- isMounted 1 20250115-145403 DBG 6313: --- AFTER: mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- proc on /proc type proc (rw,relatime) 20250115-145403 DBG 6313: --- udev on /dev type devtmpfs (rw,nosuid,relatime,size=4080976k,nr_inodes=255061,mode=755) 20250115-145403 DBG 6313: --- devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) 20250115-145403 DBG 6313: --- tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=824560k,mode=755) 20250115-145403 DBG 6313: --- /dev/mmcblk0p2 on / type ext4 (rw,noatime) 20250115-145403 DBG 6313: --- securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) 20250115-145403 DBG 6313: --- tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) 20250115-145403 DBG 6313: --- cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_rec ursiveprot) 20250115-145403 DBG 6313: --- pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) 20250115-145403 DBG 6313: --- systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minprot o=5,maxproto=5,direct,pipe_ino=4595) 20250115-145403 DBG 6313: --- mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime, mode=700) 20250115-145403 DBG 6313: --- ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatim e,mode=700) 20250115-145403 DBG 6313: --- ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noex ec,relatime,mode=700) 20250115-145403 DBG 6313: --- /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,io charset=ascii,shortname=mixed,errors=remount-ro) 20250115-145403 DBG 6313: --- ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,r elatime,mode=700) 20250115-145403 DBG 6313: --- binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) 20250115-145403 DBG 6313: --- sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) 20250115-145403 DBG 6313: --- 192.168.1.12:/share/backup_@HOSTNAME@ on /backup type nfs (rw,relatime,vers=3,rsize=1048576,w size=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=32777,mountproto=udp,local_lock= none,addr=192.168.1.12) 20250115-145403 DBG 6313: --- tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=824544k,nr_inodes=206136,mo de=700,uid=1000,gid=1000) 20250115-145403 DBG 6313: --- gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000 ,group_id=1000) 20250115-145403 DBG 6313: --- portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id =1000) 20250115-145403 DBG 6315: <-- umountSDPartitions 20250115-145403 DBG 3463: --> startServices 20250115-145403 DBG 2052: --> logSystemServices 20250115-145403 DBG 2061: <-- logSystemServices 20250115-145403 DBG 3489: <-- startServices 20250115-145403 DBG 3493: --> executeAfterStartServices 20250115-145403 DBG 3507: <-- executeAfterStartServices 20250115-145403 DBG 4512: --> cleanupBackupDirectory --- RBK0043I: Unvollständiges Backup in /backup/@HOSTNAME@/@HOSTNAME@-rsync-backup-20250115-145350 wird gelöscht. Das kann etwas dauern. Bitte G eduld. 20250115-145403 DBG 4529: <-- cleanupBackupDirectory 20250115-145403 DBG 5055: <-- cleanupBackup 20250115-145403 DBG 5061: --> cleanupTempFiles 20250115-145403 DBG 5068: <-- cleanupTempFiles 20250115-145403 DBG 3446: --> finalCommand 20250115-145403 DBG 3458: <-- finalCommand 20250115-145403 DBG 4800: --- Terminate now with rc 102 ??? RBK0005E: Backup fehlerhaft beendet. Siehe vorhergehende Fehlermeldungen. --- RBK0010I: @HOSTNAME@: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Wed 15 Jan 14:54:03 CET 2025 beendet mit Returncode 102. 20250115-145403 DBG 4384: --> sendEMail 20250115-145403 DBG 4506: <-- sendEMail 20250115-145403 DBG 4603: --- Masquerading some mount options 20250115-145403 DBG 4634: --- Masquerading home directory name 20250115-145403 DBG 4639: --- Masquerading hostname 20250115-145403 DBG 4644: --- Masquerading sensitive non local IPs 20250115-145403 DBG 2123: --> logFinish 20250115-145403 DBG 2134: --- 102 2 0 20250115-145403 DBG 2139: --- LOG_OUTPUT=3 20250115-145403 DBG 2143: --- LOG_OUTPUT: 3 20250115-145403 DBG 2170: --- DEST_LOGFILE: /home/pi/raspiBackup.log 20250115-145403 DBG 2171: --- DEST_MSGFILE: /home/pi/raspiBackup.msg 20250115-145403 DBG 2174: --- Moving Logfile: /tmp/raspiBackup.log 20250115-145403 DBG 2177: --- Logfiles used: /home/pi/raspiBackup.log and /tmp/raspiBackup.msg 20250115-145403 DBG 2180: --- Moving Msgfile: /tmp/raspiBackup.msg 20250115-145403 DBG 2183: --- Logfiles used: /home/pi/raspiBackup.log and /home/pi/raspiBackup.msg 20250115-145403 DBG 2190: *** cat /tmp/raspiBackup.logf 20250115-145403 DBG 2190: 20250115-145403 DBG 2205: <-- logFinish 20250115-145403 DBG 4704: --> callNotificationExtension 102 20250115-145403 DBG 2230: --> callExtensions notify 20250115-145403 DBG 2297: --- raspiBackup_mem.sh not found - skipping 20250115-145403 DBG 2297: --- raspiBackup_temp.sh not found - skipping 20250115-145403 DBG 2297: --- raspiBackup_disk.sh not found - skipping 20250115-145403 DBG 2302: <-- callExtensions 20250115-145403 DBG 4713: --- NotificationExtension rc: 0 20250115-145403 DBG 4718: <-- callNotificationExtension 0 20250115-145403 DBG 4898: <-- cleanup 20250115-145403 DBG 4760: --> unLockMe 20250115-145403 DBG 4762: <-- unLockMe code_text
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
dass das mit frischem OS immer noch nicht funzt.
Das hat ja auch nix mit dem Raspberry OS zu tun, die Freigabe auf dem NAS muss angepasst werden. Sofern möglich.
-
@thomas-braun Das sind die Stellschrauben auf dem QNAP. Es muss doch eine Möglichkeit geben, systematisch sich der Problemursache zu nähern. Mit rumprobieren (auch nach zig Std lesen) komme ich nicht weiter.
-
Zu QNAP kann ich dir nix sagen, hab ich nicht im Einsatz.
Aber offenbar fehlen da Berechtigungen für den user 'iobroker' und dessen UID/GID.
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
offenbar fehlen da Berechtigungen für den user 'iobroker' und dessen UID/GID.
Kannst Du mir sagen, woran Du das siehst?
Muss der Nutzer "iobroker" auf dem QNAP eingerichtet sein? Und wenn ja, zu welcher Gruppe muss er gehören? -
Ja, auf dem NFS-Server muss ein User mit den gleichen UID/GID existieren wie auf dem System wo das Dateisystem gemountet werden soll. Usernames sind dabei irrelevant, die Kisten sprechen nur über IDs miteinander.
Die IDs findest du per
id
Bzw. per
sudo -u iobroker id
-
@thomas-braun Danke Dir für Deine Antwort.
pi@raspi5:/backup $ id uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),110(netdev),115(lpadmin),993(gpio),994(i2c),995(spi),1001(iobroker) pi@raspi5:/backup $
D.h. ich brauche auf dem QNAP einen user mit uid=1000 und gid=1000
Ist das richtig?@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
sudo -u iobroker id
Dein alternatives Kommando hat nicht funktioniert:
pi@raspi5:/backup $ sudo iobroker id ***For security reasons ioBroker should not be run or administrated as root.*** By default only a user that is member of iobroker group can execute ioBroker commands. Please read the Documentation on how to set up such a user, if not done yet. Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line. Please note that this option may be disabled in the future, so please change your setup accordingly now.
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
Dein alternatives Kommando hat nicht funktioniert
Das würde funktionieren, wenn du es auch genauso eingegeben hättest...
Edit: Weitere Voraussetzungen sind übrigens ein NFS-Server in gleicher Major-Version wie auf dem Client sowie ein Dateisystem auf dem Server, das die unix-Rechte auch kennt.
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Ja, auf dem NFS-Server muss ein User mit den gleichen UID/GID existieren wie auf dem System wo das Dateisystem gemountet werden soll. Usernames sind dabei irrelevant, die Kisten sprechen nur über IDs miteinander.
Die IDs findest du perpi@raspi5:/backup $ id uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),110(netdev),115(lpadmin),993(gpio),994(i2c),995(spi),1001(iobroker) pi@raspi5:/backup $ sudo -u iobroker id uid=1001(iobroker) gid=1001(iobroker) groups=1001(iobroker),5(tty),20(dialout),29(audio),44(video),46(plugdev),108(bluetooth),993(gpio),994(i2c) pi@raspi5:/backup $
Wer ist denn der user, der raspiBackup ausführt? ist das pi mit uid1000 oder iobroker mit 1001?
-
Der user iobroker natürlich.
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Der user iobroker natürlich.
D.h. ich muss auf dem NAS folgenden user haben:
uid=1001(iobroker) gid=1001(iobroker) groups=1001(iobroker). Richtig?
-
Ja die UID/GID wird durchgereicht.
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Ja die UID/GID wird durchgereicht.
Hallo Thomas, muss Dich schon wieder nerven. Habe jetzt folgendes "erreicht":
Auf raspi5 user iobroker in gruppe iobroker mit uid=1001 und gid=1001:
pi@raspi5:/backup $ id iobroker uid=1001(iobroker) gid=1001(iobroker) groups=1001(iobroker),5(tty),20(dialout),29(audio),44(video),46(plugdev),108(bluetooth),994(i2c),993(gpio)
Auf QNAP user iobroker in gruppe iobroker mit uid=1001 und gid=1001:
[/] # id iobroker uid=1001(iobroker) gid=100(everyone) groups=100(everyone),1001(iobroker)
Der mount statische mount auf dem raspi ist da:
pi@raspi5:/backup $ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) ..... 192.168.1.12:/share/backup_raspi5 on /backup type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=44352,mountproto=udp,local_lock=none,addr=192.168.1.12) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=824544k,nr_inodes=206136,mode=700,uid=1000,gid=1000) ...
Leider geht es immer noch nicht, gleicher Fehler bei raspiBackup:
pi@raspi5:/backup $ sudo raspiBackup --- RBK0009I: raspi5: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Thu 16 Jan 09:02:46 CET 2025 gestartet. ??? RBK0266E: Es fehlt die Berechtigung um Linux Dateiattribute auf /backup zu erstellen (Dateisystem: nfs). --- RBK0033I: Bitte warten bis aufgeräumt wurde. --- RBK0043I: Unvollständiges Backup in /backup/raspi5/raspi5-rsync-backup-20250116-090246 wird gelöscht. Das kann etwas dauern. Bitte Geduld. ??? RBK0005E: Backup fehlerhaft beendet. Siehe vorhergehende Fehlermeldungen. --- RBK0010I: raspi5: raspiBackup.sh V0.6.9.1 - 2024-09-28 (be4ba6d) Thu 16 Jan 09:02:59 CET 2025 beendet mit Returncode 102. --- RBK0026I: Debug Logdatei wurde in /home/pi/raspiBackup.log gesichert. pi@raspi5:/backup $
Hast Du noch eine Idee für mich, wie ich weiter vorgehen kann?
-
Welches Dateisystem ist auf dem NAS angelegt?
Welche Version des NFS-Servers werkelt auf dem NAS? -
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Welches Dateisystem ist auf dem NAS angelegt?
ext4 (wie kann das nochmal über ssh auf dem NAS überprüfen?)Welche Version des NFS-Servers werkelt auf dem NAS?
NFSv3 -
Auf dem Client wird NFS4 laufen. Das ist aber nicht vollständig abwärtskompatibel zu NFS3.
(wie kann das nochmal über ssh auf dem NAS überprüfen?)
blkid
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
(wie kann das nochmal über ssh auf dem NAS überprüfen?)
So wie ich das jetzt (mit Deiner Hilfe) sehe, sind die 2 HD´s sda1 und sda2 ext3 formatiert. Das passt nicht, richtig (hatte gelesen es muss ext4 für NFS sein)? Sehe ich es richtig, dass ich das NAS auf ext4 umstellen muss?
[/dev] # blkid /dev/mapper/cachedev1: LABEL="DataVol1" UUID="f00b5c8f-fd71-4ce7-acd7-78f25b9ee6f8" TYPE="ext4" /dev/sdb2: TYPE="swap" /dev/loop0: UUID="6dc86caa-3a28-4ddb-acf1-e884acb1f5a5" SEC_TYPE="ext2" TYPE="ext3" /dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="EFI" UUID="DF29-556E" TYPE="vfat" /dev/mmcblk1p2: LABEL="QTS_BOOT_PART2" UUID="799c7339-dd43-4cc2-ad05-a86a91719c61" TYPE="ext2" /dev/mmcblk1p3: LABEL="QTS_BOOT_PART3" UUID="9e3a6fd6-515d-4d15-94d6-de5c794dcb04" TYPE="ext2" /dev/mmcblk1p5: UUID="1675f897-f7d6-4770-adf1-52b4029caa6b" TYPE="ext2" /dev/mmcblk1p6: UUID="0d143c40-05c9-4065-a0c5-bcc207b11f06" TYPE="ext2" /dev/sda1: UUID="641cf71b-1c61-4f6d-8962-d267ecd0ad49" TYPE="ext3" /dev/sda2: TYPE="swap" /dev/sda3: UUID="QasvVR-P33P-uBOV-3qSj-12iu-JHaa-uyZxLs" TYPE="lvm2pv" /dev/sda4: UUID="abe1dad0-a5e0-4d38-8a5f-bd1968b4d566" TYPE="ext3" /dev/sda5: TYPE="swap" /dev/sdb1: UUID="641cf71b-1c61-4f6d-8962-d267ecd0ad49" TYPE="ext3" /dev/sdb3: UUID="QasvVR-P33P-uBOV-3qSj-12iu-JHaa-uyZxLs" TYPE="lvm2pv" /dev/sdb4: UUID="abe1dad0-a5e0-4d38-8a5f-bd1968b4d566" TYPE="ext3" /dev/sdb5: TYPE="swap" /dev/md9: UUID="641cf71b-1c61-4f6d-8962-d267ecd0ad49" TYPE="ext3" /dev/md13: UUID="abe1dad0-a5e0-4d38-8a5f-bd1968b4d566" TYPE="ext3" /dev/md256: TYPE="swap" /dev/md322: TYPE="swap" /dev/md1: UUID="QasvVR-P33P-uBOV-3qSj-12iu-JHaa-uyZxLs" TYPE="lvm2pv" /dev/drbd1: UUID="QasvVR-P33P-uBOV-3qSj-12iu-JHaa-uyZxLs" TYPE="lvm2pv" /dev/mapper/vg288-lv1: LABEL="DataVol1" UUID="f00b5c8f-fd71-4ce7-acd7-78f25b9ee6f8" TYPE="ext4"
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
(hatte gelesen es muss ext4 für NFS sein)
Sollte eigentlich auch mit ext3 funktionieren. Das kennt ja die erweiterten Attribute von unix auch.
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Sollte eigentlich auch mit ext3 funktionieren. Das kennt ja die erweiterten Attribute von unix auch.
Ich hatte gelesen, dass es ext4 sein soll/muss. Hatte mir aber nicht aufgeschrieben, wo ich das gelesen hatte (Mist, schreibe jetzt alles auf).
Da ich noch ein 2tes NAS habe, welches wöchentlich ein backup meines 1ten NAS macht, werde ich jetzt mein 1tes NAS neu aufsetzen und ext4 formatieren. Danach alles files wieder zurückspielen. Das wird ein paar Std dauern. Melde mich dann wieder.
Habe auch noch ein Ticket bei QNAP aufgemacht. Schätze aber, dass die sagen, dass der statische mount ja funktioniert und sie mit raspiBackup nichts am Hut haben,
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
dass der statische mount ja funktioniert und sie mit raspiBackup nichts am Hut haben,
Das Problem liegt aber nicht am RaspiBackup sondern am grundsätzlichen Dingen beim Mounten per NFS.