I’m using openHAB3.01 stable with latest openHABian ([openHAB3]patchday-20210316-1251(9334918)) and I am trying to use amanda for backup purposes.
So: after confguring pretty much all, amanda obviously fails with creating filesystem as the console (after exiting openhabian-config) tells me:
[12:55:26] openhabian@openhabMain:~$ sudo openhabian-config
2021-03-20_12:55:32_CET [openHABian] Checking for root privileges... OK
2021-03-20_12:55:33_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-03-20_12:55:33_CET [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210316-1251(9334918)
2021-03-20_12:55:33_CET [openHABian] Checking for changes in origin branch openHAB3... OK
2021-03-20_12:55:33_CET [openHABian] Switching to branch openHAB3... OK
2021-03-20_12:55:37_CET [openHABian] Updating Linux package information... OK
2021-03-20_12:55:38_CET [openHABian] Beginning setup of the Amanda backup system... OK
2021-03-20_12:55:39_CET [openHABian] Configuring Amanda backup system prerequisites... 2021-03-20_12:55:42_CET [openHABian] Configuring Amanda backup system prerequisites... OK
2021-03-20_12:55:57_CET [openHABian] Creating Amanda filesystem... FAILED (link drive0)
2021-03-20_12:56:02_CET [openHABian] Checking for default openHABian username:password combination... OK
2021-03-20_12:56:02_CET [openHABian] We hope you got what you came for! See you again soon ;)
Funny enough, on my NAS the mein directory “slots” gets created, but nothing more:
[13:00:50] openhabian@openhabMain:~$ ls -la /mnt/synology/openHAB/
total 0
drwxrwxrwx 2 root root 0 Mar 20 12:33 .
drwxrwxrwx 2 root root 0 Mar 20 12:25 ..
drwxrwxrwx 2 root root 0 Mar 20 12:41 slots
Sorry, even as a long term user I didn’t expect to have openHABian logging for the amanda setup, but yes - I should’ve known better!
Yes, I use CIFS, because I use it in my whole environment, and as “slots” were created…
But then, as I read the openHABian logs, I stumbled across the “symlink”-creation problem.
So, I changed my /etc/fstab and added mfsymlinks to the mount and now it worked: