I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.
This is how I connect in my /etc/fstab:
MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 Here my /etc/fuse.conf
user_allow_other I get the error that I dont have permissions:
rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) I have tried also the following commands but this didn't fix it:
sudo groupadd fuse sudo usermod -a -G fuse pi Someone has an idea of what else I could try to fix this?
Many thanks!
EDIT:
So in the end it isn't SSHFS at all.
When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.
I understand that a custom program is difficult to troubleshoot and to look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.