Read only access to ALL files? Or: how do I safely backup the complete system to an offsite machine?

Gabriel Ambuehl gaml at
Fri Oct 29 05:22:24 PDT 2004

I'm wondering if there is any way to have read only access to the whole
system for an user on STABLE (I have some ideas how to achieve it on
CURRENT but I don't consider that ready for production use just now)?

Specifically, I want to be able to ssh in from the backup server and
fetch all files with rsync without having to give the backup server
full root access to all other machines (for obvious reasons).

There's obviously a hack involving NFS and read only/maproot=root
but seeing that the backup server is offsite, I have to use ssh for
transport and would rather not resort to VPN hackery...

Or maybe someone knows of a rsync version that is safe to be run a
suid root as it won't ever change anything on the filesystem?


More information about the freebsd-questions mailing list