Update database backup script to connect to fritz
[clinton/scripts.git] / rsync-shell
index 71482d3..916e136 100755 (executable)
@@ -18,7 +18,7 @@ sub backup {
 sub rsync {
   my ($cmdline) = @_;
 
 sub rsync {
   my ($cmdline) = @_;
 
-  if ( $cmdline !~ m!^--server --sender -vre\.iL \. /vicepa/hcoop-backups/files/[0-9]{4}\.[0-9]{2}\.[0-9]{2}$!s ) {
+  if ( $cmdline !~ m!^--server --sender -vre\.iL --bwlimit=325 \. /vicepa/hcoop-backups/files/[0-9]{4}\.[0-9]{2}\.[0-9]{2}$!s ) {
     die "Incorrect arguments to rsync.\n";
   }
 
     die "Incorrect arguments to rsync.\n";
   }