rsync targets with root access

Status
Not open for further replies.

itw

Dabbler
Joined
Aug 31, 2011
Messages
48
I am using rsync to back up another freebsd machine to an rsync target. I sync the whole directory tree from root down.

In order to get a complete image, saving ownership of files, etc, I have to rsync as FreeNAS root.

I was wondering if anyone has rsynced into a jail or something to separate those files from the host FreeNAS operating system. I want to allow root in the jail with its own credentials (ssh keys, etc) but have the jailed filesystem be distinct from FreeNAS.

Or is there something that will allow the root user to save the files, but have that dataset somehow marked in the FreeNAS host as no-setuid, no device nodes, etc?

Rsyncing a folder full of hundreds of Maildirs coupled with automatic periodic ZFS snapshots is a complete win.
 

itw

Dabbler
Joined
Aug 31, 2011
Messages
48
It looks like rsync's --fake-super might just be the ticket.
 
Status
Not open for further replies.
Top