Add bwlimit to SSH Single Use Deamon

2010-07-29 Thread Mark Eisenblaetter
Hello List. is there any way to add an bwlimit to an SSH Singel USe Deamon? My cutomer want to use ssh and i want to set an Bandwith limit. As long that bwlimit is not an rsyncd.conf option i see no way to add ist for ssh connections. I am using debian Lenny with rsync 3.0.3 Thnaks, Mark --

rsync mirror solution: how to prevent accidental mirror deletion

2010-07-29 Thread Rahul Nabar
I had a recent disaster scenario with rsync. I was wondering if there were any suggestions to guard against in the future: I used to maintain mirror backups of the /home dir on our production_server using rsync to a backup_server. The primary server had a rsyncd daemon running and the

Re: rsync mirror solution: how to prevent accidental mirror deletion

2010-07-29 Thread David Overton
Hi Rahul, I have two suggestions: 1. Use --max-delete option to limit the amount of damage that can be done when this happens. 2. Add some redundancy to your backup by keeping multiple past backups and rotating between them. You can use --link-dest to allow sharing of unchanged files between

Re: rsync mirror solution: how to prevent accidental mirror deletion

2010-07-29 Thread Rahul Nabar
On Thu, Jul 29, 2010 at 7:57 PM, David Overton da...@overtons.id.au wrote: Hi Rahul, I have two suggestions: 1. Use --max-delete option to limit the amount of damage that can be done when this happens. That's a good option. Another way of course is for me to have some kind of pre-script bash

Re: rsync mirror solution: how to prevent accidental mirror deletion

2010-07-29 Thread Matt McCutchen
On Thu, 2010-07-29 at 19:41 -0500, Rahul Nabar wrote: I used to maintain mirror backups of the /home dir on our production_server using rsync to a backup_server. The primary server had a rsyncd daemon running and the backup_server had this line in the crontab: 10 01 * * * rsync -av

Re: Add bwlimit to SSH Single Use Deamon

2010-07-29 Thread Matt McCutchen
On Thu, 2010-07-29 at 13:00 +0200, Mark Eisenblaetter wrote: is there any way to add an bwlimit to an SSH Singel USe Deamon? My cutomer want to use ssh and i want to set an Bandwith limit. As long that bwlimit is not an rsyncd.conf option i see no way to add ist for ssh connections. I am