I installed samba on my Raspberry PI (Raspian OS Lite, latest version) to mount an external hdd (ext4, luks) connected via usb to my pi which is mounted and unlocked on boot.
I then mounted the network drive on my Linux Mint Laptop (latest version) and put this in the /etc/fstab (and have credentials in a different file):
//ip_of_pi/backup /home/user/backup cifs credentials=file,x-systemd.automount,x-systemd.requires=network-online.target,uid=1000 0 0 Under Thunar I can view the mounted networkdrive, user permissions are set so that I can edit, create and delete files on my laptop and can see the changes on my pi.
My plan is now to use LuckyBackup to backup of my laptop home folder to the network drive.
I have excluded the mount point of the external drive under advanced settings (as it is mounted inside my home directory), when I run a simulation I get no errors, but when I do the backup I get a lot of the following errors:
rsync: [generator] symlink "file_on_external_hdd" -> "file_on_laptop" failed: Operation not supported (95) Obviously with a different file each time, all those files seem to be the ones that have changed since the last backup and that rsync needs to transfer?! (I did one inital backup over ssh, so I have one backup already on the external drive.)
At the end I get
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7] Is this a problem with user permissons, or with luks or with something completely different? I am quite lost.
Thanks in advance for any ideas and help!