HCoop
/
clinton
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update database backup script to connect to fritz
[clinton/scripts.git]
/
rsync-shell
diff --git
a/rsync-shell
b/rsync-shell
index
71482d3
..
916e136
100755
(executable)
--- a/
rsync-shell
+++ b/
rsync-shell
@@
-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";
}