Re: Using rsync to backup remote server as root

2009-08-26 Thread Nathan Ward
On 27/08/2009, at 4:18 PM, Allistar wrote: How do I enable a full backup of the remote server without allowing root top log in to ssh? Can I somehow get rsync to login as a normal user and then do some kind of "sudo" command? --rsync-path="sudo rsync" -- Nathan Ward -- Please use reply-

Using rsync to backup remote server as root

2009-08-26 Thread Allistar
Hi there, I use this rsync command to backup "/" of a remote server: rsync -Hav --delete --exclude-from=backup.excludes --delete-excluded -e "ssh -p 45658" r...@samwise:/ /mnt/backup/samwise/backup Where: samwise: is the name of the server (yes yes, I know, naming computer after Hobbits may be

Re: How to make big MySQL database more diffable/rsyncable? (aka rsyncing big files)

2009-08-26 Thread Ryan Malayter
On Wed, Aug 26, 2009 at 12:55 PM, Jamie Lokier wrote: > Why don't they just use Unison? Because it doesn't work well. It is seriously unreliable with large files, on Linux or Windows. It also has a horrifying tendency to corrupt its own state databases, lock up, or exit unexpectedly. It also doesn

Re: How to make big MySQL database more diffable/rsyncable? (aka rsyncing big files)

2009-08-26 Thread Jamie Lokier
JW wrote: > On Monday 13 July 2009 14:18:38 Ryan Malayter wrote: > > It would be a big boost for large files if rsync "remembered" the > > hashes on each end, so it didn't have to re-read the files on every > > run if the files were unchanged. This is a feature that rsync's > > developers have reje

Re: How to make big MySQL database more diffable/rsyncable? (aka rsyncing big files)

2009-08-26 Thread JW
On Monday 13 July 2009 14:18:38 Ryan Malayter wrote: > It would be a big boost for large files if rsync "remembered" the > hashes on each end, so it didn't have to re-read the files on every > run if the files were unchanged. This is a feature that rsync's > developers have rejected, since rsync is

Enhanced authentication and authorization in rsyncd

2009-08-26 Thread Amir Rapson
Hi, I added a few things to allow the rsync daemon more refined authorization and authentication than the current implementation. The attached patch file is against the 3.0.6 version. Additions: 1. allow the uid and gid used to access a certain module to be determined by the authenticated user -

rsync proxy

2009-08-26 Thread Nathan Ward
Hi all, I'm trying to write an rsync 'proxy' of sorts. The plan is that my code runs on two machines (one 'client' and one 'server') and each piece of code executes a copy of rsync, and copies move in one direction (server -> client). I have been able to run rsync on the 'server' end by c