NEWS
[HOW-TO] backitup Konfiguration mit nfs
-
@homoran said in [HOW-TO] backitup Konfiguration mit nfs:
sudo systemctl stop iobroker
Das hat funktioniert!
aspi5:~ $ sudo systemctl stop iobroker pi@raspi5:~ $ curl -fsL https://iobroker.net/fix.sh | bash - Your system is booting into 'graphical.target', which means that a user interface or desktop is available. Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N) library: loaded Library version=2024-10-22 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2024-10-22 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/5) ========================================================================== Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://apt.grafana.com stable InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Done ========================================================================== Checking ioBroker user and directory permissions (2/5) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... chown: changing ownership of '/opt/iobroker/backups/@Recycle/desktop.ini': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/@Recycle': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb/sanlight-bt-dimmer-manual-2023-de.pdf.error': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb/sanlight-bt-dimmer-manual-2023-dexxxxxxxxxxxxxxxxxxxxxxxxx.pdf.error': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_11-17_26_51_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/raspi5': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_11-17_26_58_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_11-17_44_54_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_11-17_45_00_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_12-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_12-02_48_16_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_13-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_13-02_48_16_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_14-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_14-02_48_17_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-02_48_11_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-02_48_18_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-07_16_49_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-07_16_55_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-07_21_52_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-07_21_59_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-08_18_25_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-08_18_32_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/@Recycle/desktop.ini': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/@Recycle': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb/sanlight-bt-dimmer-manual-2023-de.pdf.error': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb/sanlight-bt-dimmer-manual-2023-dexxxxxxxxxxxxxxxxxxxxxxxxx.pdf.error': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/.@__thumb': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_11-17_26_51_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/raspi5': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_11-17_26_58_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_11-17_44_54_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_11-17_45_00_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_12-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_12-02_48_16_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_13-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_13-02_48_16_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_14-02_48_10_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_14-02_48_17_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-02_48_11_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-02_48_18_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-07_16_49_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-07_16_55_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-07_21_52_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-07_21_59_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/iobroker_2025_01_15-08_18_25_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups/javascripts_2025_01_15-08_18_32_backupiobroker.tar.gz': Operation not permitted chown: changing ownership of '/opt/iobroker/backups': Operation not permitted This system does not support setting default permissions. Do not use npm to manually install adapters unless you know what you are doing! ========================================================================== Check and cleanup npm temporary directories (3/5) ========================================================================== Done. ========================================================================== Database maintenance (4/5) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspi5:~ $
Und jetzt?
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
Und jetzt?
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
Run
iobroker start
to start ioBroker again! -
@homoran said in [HOW-TO] backitup Konfiguration mit nfs:
Run iobroker start to start ioBroker again!
pi@raspi5:~ $ iobroker start pi@raspi5:~ $ iob status iobroker is running on this host. Objects type: jsonl States type: jsonl pi@raspi5:~ $ Jetzt geht der iob status, der definitiv vorher nicht ging!
-
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
der definitiv vorher nicht ging!
da war ja auch alles massiv verbogen
-
@thomas-braun said in [HOW-TO] backitup Konfiguration mit nfs:
Jag den Fixer mal über das System
Fixer habe ich erfolgreich ausgeführt. Danach nochmal iob diag:
========== Start marking the full check here =========== ```bash Script v.2024-10-19 *** BASE SYSTEM *** Static hostname: raspi5 Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.62+rpt-rpi-2712 Architecture: arm64 OS is similar to: Model : Raspberry Pi 5 Model B Rev 1.0 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 09:58:28 up 1 min, 4 users, load average: 5.60, 2.02, 0.73 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'bookworm'! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Wed 2025-01-15 09:58:28 CET Universal time: Wed 2025-01-15 08:58:28 UTC RTC time: Wed 2025-01-15 08:58:29 Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix' *** MEMORY *** total used free shared buff/cache available Mem: 8.4G 1.9G 5.4G 39M 1.2G 6.5G Swap: 536M 0B 536M Total: 9.0G 1.9G 5.9G Active iob-Instances: 12 8052 M total memory 1854 M used memory 2143 M active memory 505 M inactive memory 5134 M free memory 59 M buffer memory 1132 M swap cache 511 M total swap 0 M used swap 511 M free swap *** top - Table Of Processes *** top - 09:58:29 up 1 min, 4 users, load average: 5.60, 2.02, 0.73 Tasks: 248 total, 1 running, 247 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 8052.2 total, 5133.2 free, 1855.9 used, 1192.1 buff/cache MiB Swap: 512.0 total, 512.0 free, 0.0 used. 6196.3 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * nut-server.service loaded failed failed Network UPS Tools - power devices information server LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 806M 6.2M 800M 1% /run /dev/sda2 ext4 29G 10G 18G 37% / tmpfs tmpfs 4.0G 3.3M 4.0G 1% /dev/shm tmpfs tmpfs 5.0M 48K 5.0M 1% /run/lock /dev/sda1 vfat 510M 67M 444M 14% /boot/firmware 192.168.1.12:/share/backup_raspi5 nfs 5.4T 3.0T 2.4T 56% /opt/iobroker/backups 192.168.1.12:/share/backup_raspberry5 nfs 5.4T 3.0T 2.4T 56% /backup tmpfs tmpfs 806M 192K 806M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Jan 15 09:56:40 2025] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave smsc95xx.macaddr=2C:CF:67:8D:08:0B vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=1cf07110-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE [Wed Jan 15 09:56:45 2025] EXT4-fs (sda2): mounted filesystem a36be96c-66be-4487-a7a6-0481bca99d89 ro with ordered data mode. Quota mode: none. [Wed Jan 15 09:56:46 2025] EXT4-fs (sda2): re-mounted a36be96c-66be-4487-a7a6-0481bca99d89 r/w. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime |-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 |-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro |-/opt/iobroker/backups 192.168.1.12:/share/backup_raspi5 nfs rw,nosuid,nodev,noexec,relatime,sync,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=32777,mountproto=udp,local_lock=all,addr=192.168.1.12 `-/backup 192.168.1.12:/share/backup_raspberry5 nfs rw,nosuid,nodev,noexec,relatime,sync,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.12,mountvers=3,mountport=32777,mountproto=udp,local_lock=all,addr=192.168.1.12 Files in neuralgic directories: /var: 1.6G /var/ 482M /var/cache 476M /var/cache/apt 361M /var/cache/apt/archives 354M /var/log Archived and active journals take up 332.6M in the file system. /opt/iobroker/backups: 64M /opt/iobroker/backups/ 16K /opt/iobroker/backups/.@__thumb 12K /opt/iobroker/backups/@Recycle 8.0K /opt/iobroker/backups/raspi5 /opt/iobroker/iobroker-data: 1.1G /opt/iobroker/iobroker-data/ 1007M /opt/iobroker/iobroker-data/files 617M /opt/iobroker/iobroker-data/files/javascript.admin 560M /opt/iobroker/iobroker-data/files/javascript.admin/static 558M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.f305bc29.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.8e80ccb0.js.map 24M /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map 15M /opt/iobroker/iobroker-data/objects.jsonl USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.18.1 /usr/bin/node v20.18.1 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 20.18.1-1nodesource1 Candidate: 20.18.1-1nodesource1 Version table: *** 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: raspi5 raspi5 (version: 7.0.6, hostname: raspi5 , alive, uptime: 72) Core adapters versions js-controller: 7.0.6 admin: 7.4.10 javascript: 8.8.3 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : raspi5 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : raspi5 - enabled + system.adapter.discovery.0 : discovery : raspi5 - enabled system.adapter.dwd.0 : dwd : raspi5 - enabled system.adapter.energiefluss-erweitert.0 : energiefluss-erweitert: raspi5 - enabled system.adapter.fronius-solarweb.0 : fronius-solarweb : raspi5 - enabled system.adapter.fronius-wattpilot.0 : fronius-wattpilot : raspi5 - enabled + system.adapter.hm-rega.0 : hm-rega : raspi5 - enabled + system.adapter.hm-rpc.0 : hm-rpc : raspi5 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspi5 - enabled, port: 0 system.adapter.ical.0 : ical : raspi5 - enabled + system.adapter.javascript.0 : javascript : raspi5 - enabled + system.adapter.nut.0 : nut : raspi5 - enabled system.adapter.pi-hole.0 : pi-hole : raspi5 - enabled system.adapter.pushover.0 : pushover : raspi5 - enabled + system.adapter.snmp.0 : snmp : raspi5 - enabled + system.adapter.snmp.1 : snmp : raspi5 - enabled + system.adapter.tr-064.0 : tr-064 : raspi5 - enabled system.adapter.trashschedule.0 : trashschedule : raspi5 - enabled system.adapter.vis-2.0 : vis-2 : raspi5 - enabled system.adapter.vis.0 : vis : raspi5 - enabled system.adapter.web.0 : web : raspi5 - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspi5 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : raspi5 - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : raspi5 - enabled, port: 0 system.adapter.web.0 : web : raspi5 - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌────────────────────────────────────────────────────────────────────────────────────────────── │ (index) │ name │ url │ auto upgrade │ ├────────────────────────────────────────────────────────────────────────────────────────────── │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └────────────────────────────────────────────────────────────────────────────────────────────── Active repo(s): stable Upgrade policy: none Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.4.10 , installed 7.4.10 Adapter "backitup" : 3.0.31 , installed 3.0.31 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "energiefluss-erweitert": 0.6.2, installed 0.6.2 Adapter "fronius-solarweb": 0.0.3 , installed 0.0.3 Adapter "fronius-wattpilot": 4.6.3, installed 4.6.3 Adapter "hm-rega" : 5.1.0 , installed 5.1.0 Adapter "hm-rpc" : 2.0.2 , installed 2.0.2 Adapter "ical" : 1.16.1 , installed 1.16.1 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.6 , installed 7.0.6 Adapter "nut" : 1.6.0 , installed 1.6.0 Adapter "pi-hole" : 1.3.6 , installed 1.3.6 Adapter "pushover" : 4.1.0 , installed 4.1.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "snmp" : 3.2.0 , installed 3.2.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "tr-064" : 4.3.0 , installed 4.3.0 Adapter "trashschedule": 3.3.0 , installed 3.3.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.64 , installed 2.9.64 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 7241 States: 5787 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 http://archive.raspberrypi.com/debian bookworm InRelease Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 999 8348 921/pihole-FTL tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 4884 822/sshd: /usr/sbin tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 8334 974/lighttpd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 5920 812/cupsd tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 999 8354 921/pihole-FTL tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 7816 1217/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 9732 1217/iobroker.js-co tcp 0 0 127.0.0.1:5335 0.0.0.0:* LISTEN 0 7090 824/unbound tcp 0 0 192.168.1.6:2001 0.0.0.0:* LISTEN 1001 14578 2412/io.hm-rpc.0 tcp 0 0 192.168.1.6:2010 0.0.0.0:* LISTEN 1001 13581 2452/io.hm-rpc.1 tcp6 0 0 :::53 :::* LISTEN 999 8350 921/pihole-FTL tcp6 0 0 :::22 :::* LISTEN 0 4886 822/sshd: /usr/sbin tcp6 0 0 :::80 :::* LISTEN 0 8333 974/lighttpd tcp6 0 0 :::8081 :::* LISTEN 1001 13362 1584/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 13700 2575/io.web.0 tcp6 0 0 :::8086 :::* LISTEN 995 10517 897/influxd tcp6 0 0 ::1:4711 :::* LISTEN 999 8355 921/pihole-FTL tcp6 0 0 ::1:631 :::* LISTEN 0 5919 812/cupsd tcp6 0 0 :::3000 :::* LISTEN 113 9167 1216/grafana udp 0 0 0.0.0.0:55571 0.0.0.0:* 1001 13679 2366/io.snmp.0 udp 0 0 0.0.0.0:43935 0.0.0.0:* 104 6932 561/avahi-daemon: r udp 0 0 0.0.0.0:53 0.0.0.0:* 999 8347 921/pihole-FTL udp 0 0 127.0.0.1:5335 0.0.0.0:* 0 7089 824/unbound udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 6930 561/avahi-daemon: r udp 0 0 0.0.0.0:50633 0.0.0.0:* 1001 12860 2377/io.snmp.1 udp6 0 0 :::44673 :::* 104 6933 561/avahi-daemon: r udp6 0 0 :::53 :::* 999 8349 921/pihole-FTL udp6 0 0 fe80::f0ae:1c2a:23c:546 :::* 0 6011 777/NetworkManager udp6 0 0 :::5353 :::* 104 6931 561/avahi-daemon: r *** Log File - Last 25 Lines *** 2025-01-15 09:58:30.841 - info: pi-hole.0 (2784) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.pi-hole, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:33.986 - info: host.raspi5 instance system.adapter.energiefluss-erweitert.0 in version "0.6.2" started with pid 2885 2025-01-15 09:58:34.908 - info: energiefluss-erweitert.0 (2885) starting. Version 0.6.2 in /opt/iobroker/node_modules/iobroker.energiefluss-erweitert, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:34.927 - info: energiefluss-erweitert.0 (2885) Adapter started. Loading config! 2025-01-15 09:58:35.312 - info: energiefluss-erweitert.0 (2885) Configuration loaded! 2025-01-15 09:58:35.313 - info: energiefluss-erweitert.0 (2885) Requesting the following states: energiefluss-erweitert.0.configuration,fronius-solarweb.0.96605a5f-da06-4373-b8d5-b985faa71359.flowdata.PowerPV.value,fronius-solarweb.0.96605a5f-da06-4373-b8d5-b985faa71359.flowdata.PowerLoad.value,fronius-solarweb.0.96605a5f-da06-4373-b8d5-b985faa71359.flowdata.PowerFeedIn.value,fronius-solarweb.0.96605a5f-da06-4373-b8d5-b985faa71359.flowdata.BattSOC.value,0_userdata.0.Photovoltaik.BattLoadState,fronius-solarweb.0.96605a5f-da06-4373-b8d5-b985faa71359.flowdata.PowerBattCharge.value,0_userdata.0.Photovoltaik.BattCapac,energiefluss-erweitert.0.calculation.battery.remaining,0_userdata.0.Photovoltaik.FlowSelfConsumption,0_userdata.0.Photovoltaik.PowerIntoGrid,0_userdata.0.Photovoltaik.BattMinDischarge,0_userdata.0.Photovoltaik.FlowBattCharge 2025-01-15 09:58:35.941 - info: web.0 (2575) <== Disconnect system.user.admin from ::ffff:192.168.1.209 2025-01-15 09:58:36.090 - info: web.0 (2575) ==> Connected system.user.admin from ::ffff:192.168.1.209 2025-01-15 09:58:37.946 - info: host.raspi5 instance system.adapter.vis-2.0 in version "2.9.64" started with pid 2931 2025-01-15 09:58:38.730 - info: vis-2.0 (2931) starting. Version 2.9.64 in /opt/iobroker/node_modules/iobroker.vis-2, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:38.889 - info: vis-2.0 (2931) vis-2 license is OK. 2025-01-15 09:58:42.004 - info: host.raspi5 instance scheduled system.adapter.dwd.0 */5 * * * * 2025-01-15 09:58:42.007 - info: host.raspi5 instance system.adapter.dwd.0 in version "2.8.5" started with pid 2999 2025-01-15 09:58:42.953 - info: dwd.0 (2999) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:43.273 - info: dwd.0 (2999) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2025-01-15 09:58:43.799 - info: host.raspi5 instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2025-01-15 09:58:48.496 - info: vis.0 (3014) starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.vis, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:50.064 - info: host.raspi5 instance system.adapter.pushover.0 in version "4.1.0" started with pid 3046 2025-01-15 09:58:51.750 - info: pushover.0 (3046) starting. Version 4.1.0 in /opt/iobroker/node_modules/iobroker.pushover, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:52.051 - info: vis.0 (3014) Terminated (NO_ERROR): Without reason 2025-01-15 09:58:52.588 - info: host.raspi5 instance system.adapter.vis.0 terminated while should be started once 2025-01-15 09:58:53.946 - info: host.raspi5 instance system.adapter.fronius-wattpilot.0 in version "4.6.3" started with pid 3078 2025-01-15 09:58:54.866 - info: fronius-wattpilot.0 (3078) starting. Version 4.6.3 in /opt/iobroker/node_modules/iobroker.fronius-wattpilot, node: v20.18.1, js-controller: 7.0.6 2025-01-15 09:58:54.880 - info: fronius-wattpilot.0 (3078) Try to connect to: ws://192.168.1.132/ws 2025-01-15 09:58:56.402 - info: fronius-wattpilot.0 (3078) Connected!
Siehts jetzt besser aus?
============ Mark until here for C&P ============= -
@norbert999 sagte in [HOW-TO] backitup Konfiguration mit nfs:
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
- nut-server.service loaded failed failed Network UPS Tools - power devices information server*** FAILED SERVICES ***
Musst du dir anschauen.
Die NFS-Freigaben auf dem Host 192.168.1.12 musst du dir auch anschauen. Da stimmt was mit den Rechten und/oder Versionen nicht.
Näheres hier: https://wiki.ubuntuusers.de/NFS/ Insbesondere unter 'Problembehebung' schauen.
-
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?