openHabian integrated Backup not working

Hello, normally i am using the build in openhabian backup service to backup my openhab config.
However since some weeks (?) its not working anymore. Dont remember that i updated my system or anything.

System: Raspberry pi 4 4gb, openHAB 4.0.4, openHABian Configuration Tool — [openHAB]{2023-09-18T13:49:51+02:00}(4651ad4)

Using ssh:

sudo openhabian-config --> 50 Backup/restore --> 50 Backup openHab config

This is the ssh log message:

+ whiptail --title 'openHAB config export' --yes-button Continue --no-button Skip --yesno 'This will create an export (a backup) of your openHAB configuration using openHAB'\''s builtin openhab-cli tool.\n\nWould you like to proceed?' 10 80
+ echo OK
OK
++ timestamp
++ printf '%(%F_%T_%Z)T\n' -1
+ echo -n '2024-09-20_09:27:17_CEST [openHABian] Creating openHAB config backup... '
2024-09-20_09:27:17_CEST [openHABian] Creating openHAB config backup... ++ openhab-cli backup
++ awk -F ' ' '/Success/ { print $NF }'
+ filePath=
+ echo OK
OK
++ dirname ''
+ ln -sf '' ./latest.zip
ln: die symbolische Verknüpfung './latest.zip' -> '' konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
+ successText='A backup of your openHAB configuration has successfully been made.\n\nIt is stored in .'
+ [[ -n 1 ]]
+ whiptail --title 'Operation successful!' --msgbox 'A backup of your openHAB configuration has successfully been made.\n\nIt is stored in .' 10 90
+ '[' 0 -ne 0 ']'
+ true
+ show_main_menu
+ local choice
+ local version
+++ get_git_revision
+++ local branch
+++ local commitDate
+++ local shorthash
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=openHAB
++++ git -C /opt/openhabian log --pretty=format:%aI -n 1
+++ commitDate=2023-09-18T13:49:51+02:00
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=4651ad4
+++ echo '[openHAB]{2023-09-18T13:49:51+02:00}(4651ad4)'
++ whiptail --title 'openHABian Configuration Tool — [openHAB]{2023-09-18T13:49:51+02:00}(4651ad4)' --menu 'Setup Options' 24 118 16 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Update all installed software packages (incl. openHAB) to their latest version' '03 | Install openHAB' 'Install or upgrade to latest openHAB' '04 | Import config' 'Import an openHAB configuration from file or URL' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup ►' '20 | Optional Components' 'Choose from a set of optional software components ►' '30 | System Settings' 'A range of system and hardware related configuration steps ►' '40 | openHAB Related' 'Switch the installed openHAB version or apply tweaks ►' '50 | Backup/Restore' 'Manage backups and restore your system ►'
+ choice=
+ RET=1
+ '[' 1 -eq 1 ']'
+ return 255
+ system_check_default_password
+ is_pi
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0

Can someone help?

You likely have mounted the storage directory from some NAS and changed something about it so the backup routine cannot create files there any more.
Access rights config probably, user ID mapping (no_squash_somethingIforgottoolazytolookup option, see Amanda install docs).

Hello mstormi,
thank you for the answer.
I dont have a NAS system running. Everything is local on one raspberry pi.
To be honest i didnt change anything this is why i am surprised its not working anymore …
Till now the backup was stored in /var/lib/openhab/backups on the Rpi SD Card.

The filename is missing here. The reason for that is not in the log.

Are you using latest openhabian-config, have you updated on start ?

I updated but still it didnt work.
Then i cloned my sd card to a larger one (had only 3gb left) and expanded the root device.
Now the backup is working again :slight_smile: