Dietpi-backup daily setup failed - can't write to ro file system

When I try to configure a backup with dietpi-backup on a daily basis I get the following error:

/boot/dietpi/dietpi-backup: line 430: /boot/dietpi/.dietpi-backup_settings: Read-only file system

Required Information

  • DietPi version | cat /boot/dietpi/.version
    root@dietpi:~# cat /boot/dietpi/.version

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 1

  • Kernel version | uname -a
    Linux 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux

  • Architecture | dpkg --print-architecture

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi B (armv6l)

  • Power supply used | (EG: 5V 1A RAVpower)
    Standard Raspi1 Power Supply

  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. start dietpi-backup
  2. set target directory (nfs mount)
  3. start a backup manually → works fine
  4. set ‘daily’ to ‘on’
  5. exit dietpi-config
    → program exits with the message
    /boot/dietpi/dietpi-backup: line 430: /boot/dietpi/.dietpi-backup_settings: Read-only file system

Expected behaviour

Settings should be saved and drive the backup process as expedted.

Actual behaviour

subsequent invocation of dietpi-backup shows the unchanged original settings

Did you finish the manual backup accordingly? Maybe there is something ‘left’?

Could you try this?

  • reboot device
  • activate daily backup without executing a manual backup before

I am using dietpi-backup intensively and did never had this.
Some more references: DietPi-Backup in an multi-device environment - DietPi blog