Excluding FUSE mounted directories

Is there a way to automatically exclude FUSE mounted directories, or is it just a case of excluding said directory in the exclude file?

Or, should restic exclude mounted directories by default?

One reason for this is if the restic backup repo happens to be left mounted in a location targeted for scheduled backup to that repo. Surely this would result in a disruption to the spacetime continuum.

From the docs:


So this would be one way of handling this. Hope this helps :slight_smile:

Brilliant, thanks! I didn’t even consider exclusion by filesystem.

Awesome! Yeah it’s pretty neat actually. Then you don’t have to remember where you have mounted other drives or file systems. :slight_smile: