vorta icon indicating copy to clipboard operation
vorta copied to clipboard

[FR] option to use fuse-t on macOS avoiding kernel extensions

Open andrewcrook opened this issue 8 months ago • 5 comments

The problem

macOS mounting backups macfuse requires a kernel extension and requires SIP (System Integrity Protection) to be disabled

Requested Solution

Add option to use fuse-t instead May be automate set up fuse-t and sshfs as well?

Additional context

fuse-t mounts fuse virtual drives as NFS or SAMBA shares to avoid requiring a kernel extension. https://www.fuse-t.org/

andrewcrook avatar Jul 10 '25 11:07 andrewcrook

Yeah, this will be great. Because I have completely stopped using kernel extensions so that means any app that used something like macfuse isn't an option anymore. Luckily apps like cryptomator are already using fuse-t.

justauserid avatar Aug 26 '25 05:08 justauserid

I have used fuse-t and I have compiled sshfs to use fuse-t so it is very doable.

andrewcrook avatar Aug 26 '25 11:08 andrewcrook

I have used fuse-t and I have compiled sshfs to use fuse-t so it is very doable.

You mean used fuse-t from brew and and thencombined sshfs locally? Would apprecaite shareing the doc/post if you made one for this.

justauserid avatar Aug 27 '25 07:08 justauserid

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 26 '25 02:11 github-actions[bot]

Iirc i didn’t use the brew version and sshfs had to be compiled using the fuse-t libs which can just drop in. I don’t use it any more I use a solution called anylinuxfs it allows a Mac to use all sorts of filing systems.

https://github.com/nohajc/anylinuxfs

There’s plenty on the readme with regards to borgbackup. But here’s the crux of it.

anylinuxfs apk add borgbackup fuse py3-llfuse

~/.anylinuxfs/config.toml


[custom_actions.borg]
after_mount = "mkdir -p /mnt/borg && borg mount $ALFS_VM_MOUNT_POINT/$BORG_REPO /mnt/borg"
before_unmount = "borg umount /mnt/borg && rmdir /mnt/borg"
override_nfs_export = "/mnt/borg"

[custom_actions.borg]
after_mount = "..."
before_unmount = "..."
capture_environment = ["BORG_PASSPHRASE"]
override_nfs_export = "/mnt/borg"

export BORG_REPO=<path to borg repo relative to mount point>
sudo -E anylinuxfs mount /dev/disk4s2 -a borg

Then tweak for sshfs

andrewcrook avatar Nov 26 '25 11:11 andrewcrook