D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] rsync over ssh permissions

 

Simon Williams wrote:
> Hello everyone (and Happy New Year).
> 
> I'm trying to make a backup of my server using rsync over ssh. Direct 
> root logins are not permitted on either machine, but this presents a 
> problem. I need to have root perms on the server so that I can see all 
> the files to backup. But I also need root perms on the machine to which 
> the backups are being made so that the ownership of files is preserved.
> 
> Any ideas how to overcome this one?

Use the rsync daemon instead?  It's not the most perfect solution, but
I think it will achieve what you need.

James

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html