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
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=25
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 1

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

  • Architecture | dpkg --print-architecture
    armhf

  • 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
    2dce649f-faa1-46dd-9cf4-791889ea8b5d

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

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.