SSHFS backups failed
-
Hi all,
I just moved my backups to a Hetzner storagebox and last night was the first trial of a full backup. This morning I saw this error:Command failed with exit code 1 (EPERM): df -kPT /backups_sshfsI did some Googling but I am coming up short as to why this error is occurring. I can supply logs if anyone requires them.
Any ideas? -
How is your mountpoint setup? I am using the very same setup with hetzner so that should work.
The exact line in fstab should look like mentioned at https://cloudron.io/documentation/backups/#sshfs
I guess we can improve the validation code for the mountpoint further. I wasn't sure how strict it has to be. -
How is your mountpoint setup? I am using the very same setup with hetzner so that should work.
The exact line in fstab should look like mentioned at https://cloudron.io/documentation/backups/#sshfs
I guess we can improve the validation code for the mountpoint further. I wasn't sure how strict it has to be.Hi @nebulon the fstab is set:
[username]@[id].your-storagebox.de:. /backups_sshfs fuse.sshfs defaults,allow_other,_netdev,port=23,IdentityFile=/home/yellowtent/.ssh/id_rsa_rfc.pub,reconnect,uid=yellowtent,gid=yellowtent 0 0The ssh key is sitting in the /home/yellowtent/.ssh folder and the /backups_sshfs folder is owned by yellowtent user except when the mount us connected then it shows ?:? for the user and group.
The mount is currently showing:cd /backups_sshfs -bash: cd: /backups_sshfs: Input/output error -
That looks like some more generic mount point issue. sshfs is a fuse mount on linux, can you explicitly
umountand thenmountit again? Also check kernel logs why it didn't properly mount.@nebulon I had to reboot for security updates but I can't see anything in the logs. I did a
mount /backups_sshfsbut it seems to ask me for the password to connect but the ssh key is present plus when I use thesshfscommand manually it uses the key. So a little confused! -
Hi @nebulon the fstab is set:
[username]@[id].your-storagebox.de:. /backups_sshfs fuse.sshfs defaults,allow_other,_netdev,port=23,IdentityFile=/home/yellowtent/.ssh/id_rsa_rfc.pub,reconnect,uid=yellowtent,gid=yellowtent 0 0The ssh key is sitting in the /home/yellowtent/.ssh folder and the /backups_sshfs folder is owned by yellowtent user except when the mount us connected then it shows ?:? for the user and group.
The mount is currently showing:cd /backups_sshfs -bash: cd: /backups_sshfs: Input/output error@ultraviolet I had similiar issues and here is what helped me. As a summary:
-
Ensure that the local mount point is owned by yellowtent:yellowtent
-
Before creating the fstab entry, please try to mount on the command line.
sudo sshfs -o port=23 -o allow_other,default_permissions,uid=1001,gid=1001,IdentityFile=/home/yellowtent/.ssh/id_rsa user@host /backup_sshfs/
I have used sudo because I am assuming that you are not logged in as user yellowtent.
-
-
@ultraviolet I had similiar issues and here is what helped me. As a summary:
-
Ensure that the local mount point is owned by yellowtent:yellowtent
-
Before creating the fstab entry, please try to mount on the command line.
sudo sshfs -o port=23 -o allow_other,default_permissions,uid=1001,gid=1001,IdentityFile=/home/yellowtent/.ssh/id_rsa user@host /backup_sshfs/
I have used sudo because I am assuming that you are not logged in as user yellowtent.
-
-
@Mallewax sorted thanks!
@ultraviolet Glad I could help...

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login