Today I had the idea to mount my root filesystem in a (bound, “mount -o bind,ro”) subdirectory. This way I wouldn’t need to exclude special filesystems (like /proc, /sys, /run, /dev/pts) that restic has trouble with. However, I haven’t seen anyone else suggest this, and I’m wondering if there’s some good reason I shouldn’t do it.
The consequences of this that come to mind are that the backup path won’t be “/” anymore (unless I chroot), and that I’ll need to (bind) mount any additional directories that I do want to backup (like /boot). Am I missing anything?